Class CometStatement
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.statement.CometStatement
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CometCondition,CometConditionMenue,CometPreviewStatement,CometScript
public class CometStatement extends CometEntity
CometStatement is the base class for all kind of panel and UI configuration. Subclasses include- scripts, such as "actions" and "panel statements"
- conditions and find statements
- preview statements
- event scripts
- 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 CometStatement()Instantiates a new comet statement.CometStatement(int id, java.lang.String label)Instantiates a new comet statement.CometStatement(int id, java.lang.String label, Statement.StatementDescriptor type)Instantiates a new comet statement.CometStatement(Statement.StatementDescriptor type)Instantiates a new comet statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the description.java.lang.StringgetEntityId()Gets the entity id.java.lang.StringgetLabel()Gets the label.java.lang.IntegergetSequence()Gets the sequence.Statement.StatementDescriptorgetTypeIdentifier()Gets the type identifier.voidsetDescription(java.lang.String description)Sets the description.voidsetEntityId(java.lang.String entityId)Sets the entity id.voidsetLabel(java.lang.String label)Sets the label.voidsetSequence(java.lang.Integer sequence)Sets the sequence.voidsetTypeIdentifier(Statement.StatementDescriptor typeIdentifier)Sets the type identifier.-
Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, getRepositoryFilename, getRepositoryPath, hashCode, initDefaultValues, initDefaultValues, setId
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Constructor Detail
-
CometStatement
public CometStatement()
Instantiates a new comet statement.
-
CometStatement
public CometStatement(int id, java.lang.String label)Instantiates a new comet statement.- Parameters:
id- the idlabel- the label
-
CometStatement
public CometStatement(int id, java.lang.String label, Statement.StatementDescriptor type)Instantiates a new comet statement.- Parameters:
id- the idlabel- the labeltype- the type
-
CometStatement
public CometStatement(Statement.StatementDescriptor type)
Instantiates a new comet statement.- Parameters:
type- the type
-
-
Method Detail
-
getDescription
@CometDescription public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
getEntityId
public java.lang.String getEntityId()
Gets the entity id.- Returns:
- the entity id
-
getLabel
@CometLabel public java.lang.String getLabel()
Gets the label.- Returns:
- the label
-
getSequence
public java.lang.Integer getSequence()
Gets the sequence.- Returns:
- the sequence
-
getTypeIdentifier
public Statement.StatementDescriptor getTypeIdentifier()
Gets the type identifier.- Returns:
- the type identifier
-
setDescription
public void setDescription(java.lang.String description)
Sets the description.- Parameters:
description- the new description
-
setEntityId
public void setEntityId(java.lang.String entityId)
Sets the entity id.- Parameters:
entityId- the new entity id
-
setLabel
public void setLabel(java.lang.String label)
Sets the label.- Parameters:
label- the new label
-
setSequence
public void setSequence(java.lang.Integer sequence)
Sets the sequence.- Parameters:
sequence- the new sequence
-
setTypeIdentifier
public void setTypeIdentifier(Statement.StatementDescriptor typeIdentifier)
Sets the type identifier.- Parameters:
typeIdentifier- the new type identifier
-
-