Class CometPreviewStatement

All Implemented Interfaces:
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:
  • Constructor Details

    • 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, String name)
      Instantiates a new comet preview statement.
      Parameters:
      id - the id
      name - the name
    • CometPreviewStatement

      public CometPreviewStatement(int id, String name, Statement.StatementDescriptor type)
      Instantiates a new comet preview statement.
      Parameters:
      id - the id
      name - the name
      type - the type
  • Method Details

    • getNeedsSelection

      public Boolean getNeedsSelection()
      Gets the needs selection.
      Returns:
      the needs selection
    • setNeedsSelection

      public void setNeedsSelection(Boolean needsSelection)
      Sets the needs selection.
      Parameters:
      needsSelection - the new needs selection
    • getCondition

      public String getCondition()
      Gets the condition.
      Returns:
      the condition
    • setCondition

      public void setCondition(String condition)
      Sets the condition.
      Parameters:
      condition - the new condition
    • getStatement

      public String getStatement()
      Gets the statement.
      Returns:
      the statement
    • setStatement

      public void setStatement(String statement)
      Sets the statement.
      Parameters:
      statement - the new statement
    • getIsDefault

      public Boolean getIsDefault()
      Gets the checks if is default.
      Returns:
      the checks if is default
    • setIsDefault

      public void setIsDefault(Boolean isDefault)
      Sets the checks if is default.
      Parameters:
      isDefault - the new checks if is default
    • getButtonStateScriptId

      public Integer getButtonStateScriptId()
      Gets the button state script id.
      Returns:
      the button state script id
    • setButtonStateScriptId

      public void setButtonStateScriptId(Integer buttonStateScriptId)
      Sets the button state script id.
      Parameters:
      buttonStateScriptId - the new button state script id
    • getLinkScriptId

      public Integer getLinkScriptId()
      Gets the link script id.
      Returns:
      the link script id
    • setLinkScriptId

      public void setLinkScriptId(Integer linkScriptId)
      Sets the link script id.
      Parameters:
      linkScriptId - the new link script id
    • getObjectStatementScriptId

      public Integer getObjectStatementScriptId()
      Gets the object statement script id.
      Returns:
      the object statement script id
    • setObjectStatementScriptId

      public void setObjectStatementScriptId(Integer objectStatementScriptId)
      Sets the object statement script id.
      Parameters:
      objectStatementScriptId - the new object statement script id