Package mc.core.model.base
Class HrcEntity
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.ComplexEntity
mc.core.model.base.HrcEntity
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IEntity,ISortableEntity
- Direct Known Subclasses:
Classification,Collection,Navigation,Node
Base class for entities that are structured in a hierarchical tree. Each HrcEntity can only have one parent, the root
element has no parent. The number of levels the hierarchy can have is unlimited.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classSortsHrcEntityobjects by priority, then their display string.static enumno property fields, used as parameter constant and label keyNested classes/interfaces inherited from class mc.core.model.base.ComplexEntity
ComplexEntity.ComplexEntityComparatorNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator -
Field Summary
Fields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract ComplexEntitygetHrc()override in derived classes
return hierarchyhrcParentsDisplay(Locale locale) hrcPath()hrcPathDisplay(Locale locale) hrcPathDisplay(Locale locale, boolean hrcIncluded) voidsetChildren(List<HrcEntity> children) voidMethods inherited from class mc.core.model.base.ComplexEntity
addState, getAttributes, getCollections, getCollections, getCollectionToCEs, getDateCreated, getDateModified, getEntityData, getEntityDatas, getEntityFilters, getEntityOwner, getExternalKey, getFileId, getFilename, getHasObjectRights, getId, getInternalDescription, getLifeCycleFlag, getMasterId, getMasterLocale, getMemos, getParameter, getParameters, getParameterValue, getPermissions, getRelatedEntities, getState, getStateGroupTypes, getStates, getStatesToRemove, getType, getVersions, getWatches, isArchived, isDeleted, isRightInheritanceDisabled, isSecondaryCollection, isVisible, setAttributes, setCollectionToCEs, setDateCreated, setDateModified, setEntityDatas, setEntityFilters, setEntityOwner, setExternalKey, setFileId, setFilename, setId, setLifeCycleFlag, setMasterId, setMasterLocale, setMemos, setParameters, setPermissions, setRelatedEntities, setRightInheritanceDisabled, setStates, setType, setVersions, setWatchesMethods inherited from class mc.core.model.base.EntityBase
equals, getCollection, getDescription, getDescription, getFlag, getIsSystem, getName, getName, getNamespace, getPrio, hashCode, setCollection, setDescription, setDescription, setFlag, setInternalDescription, setIsSystem, setName, setName, setNamespace, setPrio, toString
-
Constructor Details
-
HrcEntity
public HrcEntity() -
HrcEntity
-
-
Method Details
-
getChildren
-
getVisibleChildren
-
getParent
-
addChild
-
setChildren
-
setParent
-
getHrc
override in derived classes
return hierarchy -
hrcParentsDisplay
-
hrcPathDisplay
-
hrcPathDisplay
-
hrcParents
- Returns:
- Parents starting from root up to (but not including) this
HrcEntity.
-
hrcPath
- Returns:
- List of ancestors starting with root ancestor and including ourself at the end
- See Also:
-