Package com.priint.pubserver.entity
Class EntityContentMetaData
- java.lang.Object
-
- com.priint.pubserver.entity.Entity
-
- com.priint.pubserver.entity.EntityContentMetaData
-
- All Implemented Interfaces:
java.io.Serializable
public class EntityContentMetaData extends Entity
Entity for ContentMetaData.Typically used for features or attributes, for example "color: pink".
- See Also:
ContentMetaData, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityContentMetaData.AllowedTagsDeprecated.Use arrayallowedTagsinstead.-
Nested classes/interfaces inherited from class com.priint.pubserver.entity.Entity
Entity.CacheType, Entity.DataClass, Entity.RetrievalType
-
-
Field Summary
Fields Modifier and Type Field Description static PluginConfigTag[]allowedTagsType 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
Constructors Constructor Description EntityContentMetaData()Default constructorEntityContentMetaData(java.lang.String label)Creating a new ContentMetaData entity with a label.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDummyDataType()Defaults to an empty string.java.lang.StringgetDummyKey()Get the dummy key for this entity ContentMetaData.java.lang.StringgetDummyKeyLabel()Get the key for publishing (if key is something like a code)java.lang.StringgetDummyValue()Get the dummy value for this entity ContentMetaData (a value like "12").voidsetDummyDataType(java.lang.String dummyDataType)Throws a NullArgumentException if argument isnull.voidsetDummyKey(java.lang.String dummyKey)Set the dummy key for this entity ContentMetaData.voidsetDummyKeyLabel(java.lang.String dummyKeyLabel)Set the key for publishing (if key is something like a code)voidsetDummyValue(java.lang.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 Detail
-
allowedTags
public static final PluginConfigTag[] allowedTags
Type of Tags to be used for this entities. For all tags see:PluginConfigTag
-
-
Constructor Detail
-
EntityContentMetaData
public EntityContentMetaData()
Default constructor
-
EntityContentMetaData
public EntityContentMetaData(java.lang.String label)
Creating a new ContentMetaData entity with a label.- Parameters:
label- seeEntity.getLabel()
-
-
Method Detail
-
getDummyKey
public java.lang.String getDummyKey()
Get the dummy key for this entity ContentMetaData.Defaults to an empty string.
- Returns:
- dummyKey as String
-
setDummyKey
public void setDummyKey(java.lang.String dummyKey)
Set the dummy key for this entity ContentMetaData.Throws a NullArgumentException if argument is
null.- Parameters:
dummyKey- seegetDummyKey()
-
getDummyKeyLabel
public java.lang.String getDummyKeyLabel()
Get the key for publishing (if key is something like a code)Defaults to an empty string.
- Returns:
- dummyKeyLabel dummy key label
-
setDummyKeyLabel
public void setDummyKeyLabel(java.lang.String dummyKeyLabel)
Set the key for publishing (if key is something like a code)Throws a NullArgumentException if argument is
null.- Parameters:
dummyKeyLabel- seegetDummyKeyLabel()
-
getDummyValue
public java.lang.String getDummyValue()
Get the dummy value for this entity ContentMetaData (a value like "12").Defaults to an empty string.
- Returns:
- dummyValue as String
-
setDummyValue
public void setDummyValue(java.lang.String dummyValue)
Set the dummy value for this entity ContentMetaData (a value like "12").Throws a NullArgumentException if argument is
null.- Parameters:
dummyValue- seegetDummyValue()
-
getDummyDataType
public java.lang.String getDummyDataType()
Defaults to an empty string.
- Returns:
- dummyDataType as String
-
setDummyDataType
public void setDummyDataType(java.lang.String dummyDataType)
Throws a NullArgumentException if argument is
null.- Parameters:
dummyDataType- seegetDummyDataType()
-
-