Class EntityDefinition

java.lang.Object
oracle.iam.platform.entitymgr.vo.EntityDefinition

public final class EntityDefinition extends Object
  • Constructor Details

    • EntityDefinition

      public EntityDefinition(String entityType)
      Parameters:
      entityType -
  • Method Details

    • getEntityType

      public String getEntityType()
      Get the entity type
      Returns:
      the entity type
    • isContainer

      public boolean isContainer()
      Check if it is a container.
      Returns:
      true if it is a container
    • setContainer

      public void setContainer(boolean isContainer)
      Sets whether or not it is a container.
      Parameters:
      isContainer -
    • addControlAttribute

      public void addControlAttribute(ControlAttributeDefinition def)
      Parameters:
      def -
    • addAttribute

      public void addAttribute(AttributeDefinition def)
      Parameters:
      def -
    • getAttributeNames

      public Set<String> getAttributeNames()
      Get all the attribute names
      Returns:
      all the attribute names
    • getRequiredAttributeNames

      public Set<String> getRequiredAttributeNames()
      Get all the required attribute names
      Returns:
      all the required attribute names
    • getChildEntityNames

      public Set<String> getChildEntityNames()
      Get all child entity names
      Returns:
      all child entity names
    • getChildEntityAttributeDefinition

      public AttributeDefinition getChildEntityAttributeDefinition(String ceName)
      Get child entity attribute definition of a specific child entity
      Parameters:
      ceName - the child entity name
      Returns:
      the child entity attribute definition
    • getMLSAttributeNames

      public Set<String> getMLSAttributeNames()
      Get all the MLS attribute names
      Returns:
      all the MLS attribute names
    • getMultiValuedAttributeNames

      public Set<String> getMultiValuedAttributeNames()
      Get all the Multi Valued attribute (MVA) names
      Returns:
      all the Multi Valued attribute (MVA) names
    • getAttributeDefinition

      public AttributeDefinition getAttributeDefinition(String attrName)
      Get the attribute definition of a specific attribute
      Parameters:
      attrName - attribute name
      Returns:
      the attribute definition of the attribute
    • getAttributeDefinitions

      public HashMap<String,AttributeDefinition> getAttributeDefinitions()
      Get the attribute definitions of all attributes
      Returns:
      the attribute definitions of all the attributes
    • getAttachedMetadata

      public Map<String,String> getAttachedMetadata(String category)
      Get all attached metadata of a specific category
      Parameters:
      category - category name
      Returns:
      all attached metadata of the category
    • getControlAttributeDefinition

      public ControlAttributeDefinition getControlAttributeDefinition(String attrName)
      Get the attribute definition of a specific control attribute
      Parameters:
      attrName - attribute name
      Returns:
      the attribute definition of the control attribute
    • getControlAttributeDefinitions

      public HashMap<String,ControlAttributeDefinition> getControlAttributeDefinitions()
      Get the attribute definitions of all control attributes
      Returns:
      the attribute definitions of all the control attributes
    • getAttributeNames

      public Set<String> getAttributeNames(String attrGroupName)
      Get all the attribute names of a specific attribute group
      Parameters:
      attrGroupName - attribute group name
      Returns:
      all the attribute names of the attribute group
    • getAttributeGroupName

      public String getAttributeGroupName(String attrName)
      Get the attribute group name of a specific attribute
      Parameters:
      attrName - attribute name
      Returns:
      the attribute group name that attrName belongs to
    • getChildEntityAttributeDefinitions

      public HashMap<String,AttributeDefinition> getChildEntityAttributeDefinitions()
      Get all child entity attribute definitions
      Returns:
      all the child entity attribute definitions
    • getAttributeGroupNames

      public Set<String> getAttributeGroupNames()
      Get the list of attribute group names
      Returns:
      the list of attribute group name
    • getMultiRepresentedAttributeNames

      public Set<String> getMultiRepresentedAttributeNames()
      Get all the MLS attribute names
      Returns:
      all the MLS attribute names
    • getContainedEntities

      public Set<String> getContainedEntities() throws UnsupportedOperationException
      Get the set of entity types that can be contained in this container.
      Returns:
      the set of entity types that can be contained in this container
      Throws:
      UnsupportedOperationException - if the entity metadata object does not represents a container
    • addContainedEntity

      public void addContainedEntity(String entityType) throws UnsupportedOperationException
      Add an entity type to the set of entity types that can be contained in this container.
      Parameters:
      entityType - the entity type to be added
      Throws:
      UnsupportedOperationException - if the entity metadata object does not represents a container
    • addChildEntity

      public void addChildEntity(AttributeDefinition def)
      Parameters:
      def -
    • getAttachedMetadata

      public Map<String,Map<String,String>> getAttachedMetadata()
      Get all attached metadata
      Returns:
      all attached metadata in a Map with category names as keys to the Map and the metadata name-value pairs as values
    • AttachMetadata

      public void AttachMetadata(Map<String,Map<String,String>> metaAttachment)
      Parameters:
      metaAttachment -