Class EntityContentMetaData

java.lang.Object
com.priint.pubserver.entity.Entity
com.priint.pubserver.entity.EntityContentMetaData
All Implemented Interfaces:
Serializable

public class EntityContentMetaData extends Entity
Entity for ContentMetaData.

Typically used for features or attributes, for example "color: pink".

See Also:
  • Field Details

  • Constructor Details

    • EntityContentMetaData

      public EntityContentMetaData()
      Default constructor
    • EntityContentMetaData

      public EntityContentMetaData(String label)
      Creating a new ContentMetaData entity with a label.
      Parameters:
      label - see Entity.getLabel()
  • Method Details

    • getDummyKey

      public String getDummyKey()
      Get the dummy key for this entity ContentMetaData.

      Defaults to an empty string.

      Returns:
      dummyKey as String
    • setDummyKey

      public void setDummyKey(String dummyKey)
      Set the dummy key for this entity ContentMetaData.

      Throws a NullArgumentException if argument is null.

      Parameters:
      dummyKey - see getDummyKey()
    • getDummyKeyLabel

      public 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(String dummyKeyLabel)
      Set the key for publishing (if key is something like a code)

      Throws a NullArgumentException if argument is null.

      Parameters:
      dummyKeyLabel - see getDummyKeyLabel()
    • getDummyValue

      public 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(String dummyValue)
      Set the dummy value for this entity ContentMetaData (a value like "12").

      Throws a NullArgumentException if argument is null.

      Parameters:
      dummyValue - see getDummyValue()
    • getDummyDataType

      public String getDummyDataType()

      Defaults to an empty string.

      Returns:
      dummyDataType as String
    • setDummyDataType

      public void setDummyDataType(String dummyDataType)

      Throws a NullArgumentException if argument is null.

      Parameters:
      dummyDataType - see getDummyDataType()