Package com.priint.pubserver.entity
Class EntityContentMetaData
java.lang.Object
com.priint.pubserver.entity.Entity
com.priint.pubserver.entity.EntityContentMetaData
- All Implemented Interfaces:
Serializable
Entity for ContentMetaData.
Typically used for features or attributes, for example "color: pink".
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.priint.pubserver.entity.Entity
Entity.CacheType, Entity.DataClass, Entity.RetrievalType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PluginConfigTag[]Type of Tags to be used for this entities.Fields inherited from class com.priint.pubserver.entity.Entity
ENTITYCLASS_BUCKET, ENTITYCLASS_CONTENTMETADATA, ENTITYCLASS_CORD, ENTITYCLASS_KEYVALUE, ENTITYCLASS_MEDIAASSET, ENTITYCLASS_PLANNING, ENTITYCLASS_PRICE, ENTITYCLASS_TABLEDATA, ENTITYCLASS_TEXT, ENTITYTYPE_ASSEMBLING, ENTITYTYPE_CONNECTOR, ENTITYTYPE_STATIC -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorEntityContentMetaData(String label) Creating a new ContentMetaData entity with a label. -
Method Summary
Modifier and TypeMethodDescriptionDefaults to an empty string.Get the dummy key for this entity ContentMetaData.Get the key for publishing (if key is something like a code)Get the dummy value for this entity ContentMetaData (a value like "12").voidsetDummyDataType(String dummyDataType) Throws a NullArgumentException if argument isnull.voidsetDummyKey(String dummyKey) Set the dummy key for this entity ContentMetaData.voidsetDummyKeyLabel(String dummyKeyLabel) Set the key for publishing (if key is something like a code)voidsetDummyValue(String dummyValue) Set the dummy value for this entity ContentMetaData (a value like "12").Methods inherited from class com.priint.pubserver.entity.Entity
getConCachingStrategy, getConConnector, getConConnectorEntity, getConConnectorEntityDescription, getConCronjobdate, getConInstance, getConLifetime, getConMatchingMethod, getContentMetaDataEntities, getContextDefinitions, getDescription, getEntityClass, getEntityDataClass, getEntityDependencyNames, getEntityModel, getEntityType, getHelpTexts, getIcon, getIconName, getIdentifier, getLabel, getPluginConfigName, getPluginConfigPath, getPluginConfigPath, getRevisionNumber, getTag, getTags, getTemplateRule, isConCachingAllowed, isConUseMatchingMethod, isPublicEntity, setConCachingAllowed, setConCachingStrategy, setConConnector, setConConnectorEntity, setConConnectorEntityDescription, setConCronjobdate, setConInstance, setConLifetime, setConMatchingMethod, setContentMetaDataEntities, setContextDefinitions, setConUseMatchingMethod, setDescription, setEntityClass, setEntityDataClass, setEntityModel, setEntityType, setHelpTexts, setIcon, setIconName, setIdentifier, setLabel, setPublicEntity, setRevisionNumber, setTag, setTemplateRule, toPluginConfig, toString
-
Field Details
-
allowedTags
Type of Tags to be used for this entities. For all tags see:PluginConfigTag
-
-
Constructor Details
-
EntityContentMetaData
public EntityContentMetaData()Default constructor -
EntityContentMetaData
Creating a new ContentMetaData entity with a label.- Parameters:
label- seeEntity.getLabel()
-
-
Method Details
-
getDummyKey
Get the dummy key for this entity ContentMetaData.Defaults to an empty string.
- Returns:
- dummyKey as String
-
setDummyKey
Set the dummy key for this entity ContentMetaData.Throws a NullArgumentException if argument is
null.- Parameters:
dummyKey- seegetDummyKey()
-
getDummyKeyLabel
Get the key for publishing (if key is something like a code)Defaults to an empty string.
- Returns:
- dummyKeyLabel dummy key label
-
setDummyKeyLabel
Set the key for publishing (if key is something like a code)Throws a NullArgumentException if argument is
null.- Parameters:
dummyKeyLabel- seegetDummyKeyLabel()
-
getDummyValue
Get the dummy value for this entity ContentMetaData (a value like "12").Defaults to an empty string.
- Returns:
- dummyValue as String
-
setDummyValue
Set the dummy value for this entity ContentMetaData (a value like "12").Throws a NullArgumentException if argument is
null.- Parameters:
dummyValue- seegetDummyValue()
-
getDummyDataType
Defaults to an empty string.
- Returns:
- dummyDataType as String
-
setDummyDataType
Throws a NullArgumentException if argument is
null.- Parameters:
dummyDataType- seegetDummyDataType()
-
allowedTagsinstead.