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:
Serializable
Java class for the Setting configuration type
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.CategoryNested 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_QUALIFIERFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new comet setting.CometSetting(int id, String name) Instantiates a new comet setting. -
Method Summary
Modifier and TypeMethodDescriptionGets the description.Gets the enabled.getName()Gets the name.Gets the repository filename for this particular itemGet the relative repository path for this configuration type.getType()Gets the type.getValue()Gets the value.voidsetDescription(String description) Sets the description.voidsetEnabled(Boolean enabled) Sets the enabled.voidSets the name.voidsetType(SettingType type) Sets the type.voidSets the value.Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, hashCode, initDefaultValues, initDefaultValues, setIdMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
CometSetting
public CometSetting()Instantiates a new comet setting. -
CometSetting
Instantiates a new comet setting.- Parameters:
id- the idname- the name
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getEnabled
Gets the enabled.- Returns:
- the enabled
-
setEnabled
Sets the enabled.- Parameters:
enabled- the new enabled
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the new description
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the new value
-
getRepositoryFilename
Description 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
Description 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
-