Package mc.core.model.base
Class SimpleEntity
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.SimpleEntity
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IEntity,ISortableEntity
- Direct Known Subclasses:
AssetArchivingTask,AssetHotfolder,Basket,ChannelMapBase,Country,CSClusterNode,CSNamespace,Currency,Dictionary,Language,Locale,Pricelist,Report,Reporting,Right,Territory,Unit
base class for simple entities. SimpleEntities have display fields name and description, have an internalDescription
for identification in the system, can be activated and ordered by their prio. SimpleEntity may implement
ICollectionManaged using the field
collection.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator, EntityBase.Param -
Field Summary
Fields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()booleanvoidsetId(long id) voidsetIsActive(boolean isActive) Methods 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
-
SimpleEntity
public SimpleEntity() -
SimpleEntity
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getIsActive
public boolean getIsActive() -
setIsActive
public void setIsActive(boolean isActive) -
getInternalDescription
- Specified by:
getInternalDescriptionin interfaceIEntity- Overrides:
getInternalDescriptionin classEntityBase- Returns:
- Unique identifier in combination with entity class if internalDescription property is defined as unique.
Might be
null.
-