Class CometSetting
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.setting.CometSetting
-
- All Implemented Interfaces:
java.io.Serializable
public class CometSetting extends CometEntity
Java class for the Setting configuration type
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.Category
-
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T>
-
-
Field Summary
-
Fields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIER
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description CometSetting()Instantiates a new comet setting.CometSetting(int id, java.lang.String name)Instantiates a new comet setting.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the description.java.lang.BooleangetEnabled()Gets the enabled.java.lang.StringgetName()Gets the name.java.lang.StringgetRepositoryFilename()Gets the repository filename for this particular itemjava.lang.StringgetRepositoryPath()Get the relative repository path for this configuration type.SettingTypegetType()Gets the type.java.lang.StringgetValue()Gets the value.voidsetDescription(java.lang.String description)Sets the description.voidsetEnabled(java.lang.Boolean enabled)Sets the enabled.voidsetName(java.lang.String name)Sets the name.voidsetType(SettingType type)Sets the type.voidsetValue(java.lang.String value)Sets the value.-
Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, hashCode, initDefaultValues, initDefaultValues, setId
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
setName
public void setName(java.lang.String name)
Sets the name.- Parameters:
name- the new name
-
getType
public SettingType getType()
Gets the type.- Returns:
- the type
-
setType
public void setType(SettingType type)
Sets the type.- Parameters:
type- the new type
-
getEnabled
public java.lang.Boolean getEnabled()
Gets the enabled.- Returns:
- the enabled
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
Sets the enabled.- Parameters:
enabled- the new enabled
-
getDescription
@CometDescription public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
setDescription
public void setDescription(java.lang.String description)
Sets the description.- Parameters:
description- the new description
-
getValue
public java.lang.String getValue()
Gets the value.- Returns:
- the value
-
setValue
public void setValue(java.lang.String value)
Sets the value.- Parameters:
value- the new value
-
getRepositoryFilename
public java.lang.String getRepositoryFilename() throws CometExceptionDescription copied from class:CometEntityGets the repository filename for this particular item
This method MUST be overridden by classes extending CometEntity
- Overrides:
getRepositoryFilenamein classCometEntity- Returns:
- the repository filename of this particular item
- Throws:
CometException- the comet exception
-
getRepositoryPath
public java.lang.String getRepositoryPath() throws CometExceptionDescription copied from class:CometEntityGet the relative repository path for this configuration type.
This method MUST be overridden by classes extending CometEntity.
- Overrides:
getRepositoryPathin classCometEntity- Returns:
- relative repository path
- Throws:
CometException- the comet exception
-
-