Interface EntityCategoryRegistry

All Known Implementing Classes:
EntityCategoryRegistryImpl

public interface EntityCategoryRegistry
A registry that handles all "registered" entity categories. It is used to find the definition of an entity category based on its URI.
Author:
Martin Lindström (martin@idsec.se)
  • Method Details

    • getEntityCategory

      Optional<EntityCategory> getEntityCategory(String uri)
      Given an URI, the method will find the EntityCategory object that is registered for this identifier.
      Parameters:
      uri - the entity category URI
      Returns:
      the EntityCategory object
    • getEntityCategories

      List<EntityCategory> getEntityCategories()
      Returns a list of all registered entity categories.
      Returns:
      a list of all registered entity categories
    • getServiceEntityCategories

      List<ServiceEntityCategory> getServiceEntityCategories()
      Returns a list of all registered entity categories that are of the type "Service entity category".
      Returns:
      a list of all registered service entity categories