Class CometPreviewStatement
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.statement.CometStatement
-
- com.priint.pubserver.comet.entity.xdraft.CometPreviewStatement
-
- All Implemented Interfaces:
java.io.Serializable
public class CometPreviewStatement extends CometStatement
PreviewStatement is the base class for all preview statements.
Consider this class as statement (though due to JAXB restrictions it is not declared so).
Actually there is only one implementation (CometPreviewPreviewStatement), but this is subclassed from the abstract statement in the statements package for consistency reason.- 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 CometPreviewStatement()Instantiates a new comet preview statement.CometPreviewStatement(int id, java.lang.String name)Instantiates a new comet preview statement.CometPreviewStatement(int id, java.lang.String name, Statement.StatementDescriptor type)Instantiates a new comet preview statement.CometPreviewStatement(Statement.StatementDescriptor type)Instantiates a new comet preview statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetButtonStateScriptId()Gets the button state script id.java.lang.StringgetCondition()Gets the condition.java.lang.BooleangetIsDefault()Gets the checks if is default.java.lang.IntegergetLinkScriptId()Gets the link script id.java.lang.BooleangetNeedsSelection()Gets the needs selection.java.lang.IntegergetObjectStatementScriptId()Gets the object statement script id.java.lang.StringgetStatement()Gets the statement.voidsetButtonStateScriptId(java.lang.Integer buttonStateScriptId)Sets the button state script id.voidsetCondition(java.lang.String condition)Sets the condition.voidsetIsDefault(java.lang.Boolean isDefault)Sets the checks if is default.voidsetLinkScriptId(java.lang.Integer linkScriptId)Sets the link script id.voidsetNeedsSelection(java.lang.Boolean needsSelection)Sets the needs selection.voidsetObjectStatementScriptId(java.lang.Integer objectStatementScriptId)Sets the object statement script id.voidsetStatement(java.lang.String statement)Sets the statement.-
Methods inherited from class com.priint.pubserver.comet.entity.statement.CometStatement
getDescription, getEntityId, getLabel, getSequence, getTypeIdentifier, setDescription, setEntityId, setLabel, setSequence, setTypeIdentifier
-
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
-
CometPreviewStatement
public CometPreviewStatement()
Instantiates a new comet preview statement.
-
CometPreviewStatement
public CometPreviewStatement(Statement.StatementDescriptor type)
Instantiates a new comet preview statement.- Parameters:
type- the type
-
CometPreviewStatement
public CometPreviewStatement(int id, java.lang.String name)Instantiates a new comet preview statement.- Parameters:
id- the idname- the name
-
CometPreviewStatement
public CometPreviewStatement(int id, java.lang.String name, Statement.StatementDescriptor type)Instantiates a new comet preview statement.- Parameters:
id- the idname- the nametype- the type
-
-
Method Detail
-
getNeedsSelection
public java.lang.Boolean getNeedsSelection()
Gets the needs selection.- Returns:
- the needs selection
-
setNeedsSelection
public void setNeedsSelection(java.lang.Boolean needsSelection)
Sets the needs selection.- Parameters:
needsSelection- the new needs selection
-
getCondition
public java.lang.String getCondition()
Gets the condition.- Returns:
- the condition
-
setCondition
public void setCondition(java.lang.String condition)
Sets the condition.- Parameters:
condition- the new condition
-
getStatement
public java.lang.String getStatement()
Gets the statement.- Returns:
- the statement
-
setStatement
public void setStatement(java.lang.String statement)
Sets the statement.- Parameters:
statement- the new statement
-
getIsDefault
public java.lang.Boolean getIsDefault()
Gets the checks if is default.- Returns:
- the checks if is default
-
setIsDefault
public void setIsDefault(java.lang.Boolean isDefault)
Sets the checks if is default.- Parameters:
isDefault- the new checks if is default
-
getButtonStateScriptId
public java.lang.Integer getButtonStateScriptId()
Gets the button state script id.- Returns:
- the button state script id
-
setButtonStateScriptId
public void setButtonStateScriptId(java.lang.Integer buttonStateScriptId)
Sets the button state script id.- Parameters:
buttonStateScriptId- the new button state script id
-
getLinkScriptId
public java.lang.Integer getLinkScriptId()
Gets the link script id.- Returns:
- the link script id
-
setLinkScriptId
public void setLinkScriptId(java.lang.Integer linkScriptId)
Sets the link script id.- Parameters:
linkScriptId- the new link script id
-
getObjectStatementScriptId
public java.lang.Integer getObjectStatementScriptId()
Gets the object statement script id.- Returns:
- the object statement script id
-
setObjectStatementScriptId
public void setObjectStatementScriptId(java.lang.Integer objectStatementScriptId)
Sets the object statement script id.- Parameters:
objectStatementScriptId- the new object statement script id
-
-