Package mc.core.model.base
Interface IEntity
- All Superinterfaces:
IBaseEntity,ICoreEntity,Serializable
- All Known Subinterfaces:
IAsset,ICollectionListManaged,ICollectionManaged,IHrcManaged<T>,IRightManaged,IStateManaged,ITypeManaged,IVersionManaged
- All Known Implementing Classes:
Asset,AssetArchivingTask,AssetDerivate,AssetDerivateType,AssetHotfolder,AssetType,Attribute,AttributeType,Basket,ChannelMapBase,Classification,ClassificationHrc,Collection,ComplexEntity,ComplexTypeEntity,ConverterType,Country,CSClusterNode,CSNamespace,Currency,DataType,Dictionary,DTAsset,DTBoolean,DTDate,DTNumeric,DTPattern,DTPrice,DTText,EntityBase,EntityProfile,EntityProfileType,FileType,HrcEntity,Import,ImportMap,ImportProfile,ImportProfileMap,ImportProfileType,ImportProfileTypeMap,Language,Locale,Navigation,NavigationHrc,NavigationHrcType,NavigationType,Node,NodeHrc,NodeHrcType,NodeType,Pricelist,Principal,ProfileBase,ProfileTypeBase,Project,ProjectTask,ProjectTaskType,Publication,PublicationProfile,PublicationProfileMap,PublicationProfileType,PublicationProfileTypeMap,RelationType,Report,Reporting,Right,SimpleEntity,StateGroupType,StateTransitionType,StateType,Territory,TypeEntity,Unit,User,UserGroup,WfActionType,WfTransitionType,WorkflowType
basic marker interface for all entities with business representation: entities, simple entities and type entities.
NOT for technical helper like entity2entity etc.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()intgetPrio()voidsetInternalDescription(String internalDescription) Methods inherited from interface mc.core.model.base.IBaseEntity
getId, setId
-
Method Details
-
getName
Resource getName()- Returns:
- Name of entity in multiple locales. Might be
null.
-
getDescription
Resource getDescription()- Returns:
- Description of entity in multiple locales. Might be
null.
-
getInternalDescription
String getInternalDescription()- Returns:
- Unique identifier in combination with entity class if internalDescription property is defined as unique.
Might be
null.
-
setInternalDescription
- Parameters:
internalDescription- Identifier of entity (meaningful in combination with the entity class). Must be unique if internalDescription property is defined as unique.
-
getPrio
int getPrio()- Returns:
- Sort key used when ordering entities.
-