Class ClassificationHrc

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

@Entity public class ClassificationHrc extends ComplexEntity implements IRightManaged
Class defining a classification tree. Rights are granted on the whole classification tree, therefore ClassificationHrc implements IRightManaged.
See Also:
  • Constructor Details

    • ClassificationHrc

      public ClassificationHrc()
  • Method Details

    • getClassifications

      public List<Classification> getClassifications()
    • setClassifications

      public void setClassifications(List<Classification> classifications)
    • getAllowedAttributeTypes

      public List<AttributeType> getAllowedAttributeTypes()
      Constrain the choice of Attributes that can be assigned to classifications of this classificationHrc.
    • setAllowedAttributeTypes

      public void setAllowedAttributeTypes(List<AttributeType> allowedAttributeTypes)
    • getType

      public ComplexTypeEntity getType()
      not a type dependent ComplexEntity
      Specified by:
      getType in class ComplexEntity
    • getAllowedRightTypes

      public RightType[] getAllowedRightTypes()
      Description copied from interface: IRightManaged
      give the maximum list of RightTypes that apply for this class.
      Specified by:
      getAllowedRightTypes in interface IRightManaged
      Returns:
      array of enum RightType
    • getHasObjectRights

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