java.lang.Object
se.swedenconnect.opensaml.sweid.saml2.metadata.entitycategory.EntityCategoryImpl
All Implemented Interfaces:
Serializable, EntityCategory
Direct Known Subclasses:
ServiceEntityCategoryImpl

public class EntityCategoryImpl extends Object implements EntityCategory
Implementation of the EntityCategory interface.
Author:
Martin Lindström (martin@idsec.se)
See Also:
  • Field Details

    • uri

      protected String uri
      The unique URI for this category.
    • type

      protected EntityCategoryType type
      The type of entity category.
  • Constructor Details

    • EntityCategoryImpl

      public EntityCategoryImpl()
      Default constructor.
    • EntityCategoryImpl

      public EntityCategoryImpl(String uri, EntityCategoryType type)
      Constructor assigning the unique URI and the category type.
      Parameters:
      uri - the URI
      type - the type
  • Method Details

    • getUri

      public String getUri()
      Each entity category is assigned an unique URI. This method returns this value.
      Specified by:
      getUri in interface EntityCategory
      Returns:
      the entity category URI
    • setUri

      public void setUri(String uri)
      Each entity category is assigned an unique URI. This method assigns this value.
      Parameters:
      uri - the URI to assign.
    • getType

      public EntityCategoryType getType()
      Returns the type of entity category.
      Specified by:
      getType in interface EntityCategory
      Returns:
      the type of entity category
    • setType

      public void setType(EntityCategoryType type)
      Assigns the type of entity category.
      Parameters:
      type - the type to assign.