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:
Serializable
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.
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:
-
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 preview statement.CometPreviewStatement(int id, String name) Instantiates a new comet preview statement.CometPreviewStatement(int id, String name, Statement.StatementDescriptor type) Instantiates a new comet preview statement.Instantiates a new comet preview statement. -
Method Summary
Modifier and TypeMethodDescriptionGets the button state script id.Gets the condition.Gets the checks if is default.Gets the link script id.Gets the needs selection.Gets the object statement script id.Gets the statement.voidsetButtonStateScriptId(Integer buttonStateScriptId) Sets the button state script id.voidsetCondition(String condition) Sets the condition.voidsetIsDefault(Boolean isDefault) Sets the checks if is default.voidsetLinkScriptId(Integer linkScriptId) Sets the link script id.voidsetNeedsSelection(Boolean needsSelection) Sets the needs selection.voidsetObjectStatementScriptId(Integer objectStatementScriptId) Sets the object statement script id.voidsetStatement(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, setTypeIdentifierMethods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, getRepositoryFilename, getRepositoryPath, hashCode, initDefaultValues, initDefaultValues, setIdMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
CometPreviewStatement
public CometPreviewStatement()Instantiates a new comet preview statement. -
CometPreviewStatement
Instantiates a new comet preview statement.- Parameters:
type- the type
-
CometPreviewStatement
Instantiates a new comet preview statement.- Parameters:
id- the idname- the name
-
CometPreviewStatement
Instantiates a new comet preview statement.- Parameters:
id- the idname- the nametype- the type
-
-
Method Details
-
getNeedsSelection
Gets the needs selection.- Returns:
- the needs selection
-
setNeedsSelection
Sets the needs selection.- Parameters:
needsSelection- the new needs selection
-
getCondition
Gets the condition.- Returns:
- the condition
-
setCondition
Sets the condition.- Parameters:
condition- the new condition
-
getStatement
Gets the statement.- Returns:
- the statement
-
setStatement
Sets the statement.- Parameters:
statement- the new statement
-
getIsDefault
Gets the checks if is default.- Returns:
- the checks if is default
-
setIsDefault
Sets the checks if is default.- Parameters:
isDefault- the new checks if is default
-
getButtonStateScriptId
Gets the button state script id.- Returns:
- the button state script id
-
setButtonStateScriptId
Sets the button state script id.- Parameters:
buttonStateScriptId- the new button state script id
-
getLinkScriptId
Gets the link script id.- Returns:
- the link script id
-
setLinkScriptId
Sets the link script id.- Parameters:
linkScriptId- the new link script id
-
getObjectStatementScriptId
Gets the object statement script id.- Returns:
- the object statement script id
-
setObjectStatementScriptId
Sets the object statement script id.- Parameters:
objectStatementScriptId- the new object statement script id
-