Class 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
    • 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 id
        name - the name
      • CometPreviewStatement

        public CometPreviewStatement​(int id,
                                     java.lang.String name,
                                     Statement.StatementDescriptor type)
        Instantiates a new comet preview statement.
        Parameters:
        id - the id
        name - the name
        type - 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