Class EntityProfile

All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity, IEntity, ISortableEntity

@Entity public class EntityProfile extends ComplexEntity
entity to be used as template to copy data onto complex entities. data can include base data (name, description, externalKey), attributes with values, collections, permissions. In case of attribute values the set of allowed attributes is configured with the corresponding EntityProfileType.
See Also:
  • Constructor Details

    • EntityProfile

      public EntityProfile()
    • EntityProfile

      public EntityProfile(EntityProfile source)
    • EntityProfile

      public EntityProfile(EntityProfileType profileType)
  • Method Details

    • getEntityProfileType

      public EntityProfileType getEntityProfileType()
    • setEntityProfileType

      public void setEntityProfileType(EntityProfileType entityProfileType)
    • setType

      public void setType(ComplexTypeEntity type)
      Description copied from class: ComplexEntity
      override in derived classes if ComplexEntity-subclass is type managed, else do nothing.
      be used by entity mapper
      Overrides:
      setType in class ComplexEntity
    • getEntityClass

      public String getEntityClass()
    • setEntityClass

      public void setEntityClass(String entityClass)
    • getEntityProfileReceivers

      public Set<Principal> getEntityProfileReceivers()
    • setEntityProfileReceivers

      public void setEntityProfileReceivers(Set<Principal> entityProfileReceivers)
    • getClassifications

      public Set<ClassificationToProfile> getClassifications()
    • setClassifications

      public void setClassifications(Set<ClassificationToProfile> classifications)
    • addClassification

      public void addClassification(ClassificationToProfile classification)
    • getType

      public ComplexTypeEntity getType()
      Description copied from class: ComplexEntity
      override in derived classes, return null if ComplexEntity-subclass is not type managed.
      Specified by:
      getType in class ComplexEntity
    • getHasObjectRights

      public boolean getHasObjectRights()
      Description copied from class: ComplexEntity
      type of ComplexEntity must be attached if exists
      Overrides:
      getHasObjectRights in class ComplexEntity
      Returns:
      true if object rights are configured for this ComplexEntity