Package io.goobi.viewer.model.cms
Class CMSProperty
java.lang.Object
io.goobi.viewer.model.cms.CMSProperty
- All Implemented Interfaces:
Serializable
CMSProperty class.
- Author:
- Florian Alpers
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for CMSProperty.CMSProperty(CMSProperty original) Creates a clone of the given propertyCMSProperty(String key) Constructor for CMSProperty.CMSProperty(String key, String value) Key+value constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanValue.getDoubleValue.getId()Getter for the fieldid.getKey()Getter for the fieldkey.getLongValue.getValue()Getter for the fieldvalue.voidSetter for the fieldid.voidSetter for the fieldkey.voidSetter for the fieldvalue.toString()
-
Field Details
-
KEY_ACCESS_CONDITION
- See Also:
-
KEY_EMPTY
ConstantKEY_EMPTY="EMPTY"- See Also:
-
-
Constructor Details
-
CMSProperty
public CMSProperty()Constructor for CMSProperty.
-
CMSProperty
Constructor for CMSProperty.
- Parameters:
key- aStringobject.
-
CMSProperty
Key+value constructor.- Parameters:
key-value-
-
CMSProperty
Creates a clone of the given property- Parameters:
original- aCMSPropertyobject.
-
-
Method Details
-
getId
Getter for the field
id.- Returns:
- the id
-
setId
Setter for the field
id.- Parameters:
id- the id to set
-
getKey
Getter for the field
key.- Returns:
- the key
-
setKey
Setter for the field
key.- Parameters:
key- the key to set
-
getValue
Getter for the field
value.- Returns:
- the value
-
setValue
Setter for the field
value.- Parameters:
value- the value to set
-
toString
-
getBooleanValue
public boolean getBooleanValue()getBooleanValue.
- Returns:
- a boolean.
-
getLongValue
getLongValue.
- Returns:
- a
Longobject.
-
getDoubleValue
getDoubleValue.
- Returns:
- a
Doubleobject.
-