Interface EntityData
-
- All Superinterfaces:
PersistentData,java.io.Serializable
- All Known Implementing Classes:
Bucket,BucketPlanningReference,CometTocEntry,ContentMetaData,Context,Cord,CordPlanningReference,EntityPlanningReference,KeyValue,KeyValuePlanningReference,MediaAsset,MediaAssetPlanningReference,MediaObject,MetaDataPlanningReference,Planning,Price,PricePlanningReference,TableData,TableDataCell,TableDataPlanningReference,TableDataRow,Text,TextPlanningReference
public interface EntityData extends PersistentData
Interface for all identifiable EntityData objects having at least an identifier, a context and an entity identifier.
SeePersistentDatafor an interface to identify persisting objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextgetContext()java.lang.StringgetEntityIdentifier()Identifier of an entity in the entity model where the current object refers to.java.lang.StringgetIdentifier()Method to provide the identifiervoidsetContext(Context context)set the context of entity data objectvoidsetEntityIdentifier(java.lang.String entityIdentifier)Identifier of an entity in the entity model where the current object refers to.voidsetIdentifier(java.lang.String identifier)
-
-
-
Method Detail
-
setIdentifier
void setIdentifier(java.lang.String identifier)
- Parameters:
identifier- data object id as string
-
getIdentifier
java.lang.String getIdentifier()
Description copied from interface:PersistentDataMethod to provide the identifier- Specified by:
getIdentifierin interfacePersistentData- Returns:
- identifier data object id as string
-
getEntityIdentifier
java.lang.String getEntityIdentifier()
Identifier of an entity in the entity model where the current object refers to.- Returns:
- entity identifier as string
-
setEntityIdentifier
void setEntityIdentifier(java.lang.String entityIdentifier)
Identifier of an entity in the entity model where the current object refers to.- Parameters:
identifier- data object id as string
-
getContext
Context getContext()
- Returns:
- entity context
-
setContext
void setContext(Context context)
set the context of entity data object
-
-