Class CometStatement

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

    • CometStatement

      public CometStatement()
      Instantiates a new comet statement.
    • CometStatement

      public CometStatement(int id, String label)
      Instantiates a new comet statement.
      Parameters:
      id - the id
      label - the label
    • CometStatement

      public CometStatement(int id, String label, Statement.StatementDescriptor type)
      Instantiates a new comet statement.
      Parameters:
      id - the id
      label - the label
      type - the type
    • CometStatement

      public CometStatement(Statement.StatementDescriptor type)
      Instantiates a new comet statement.
      Parameters:
      type - the type
  • Method Details

    • getDescription

      @CometDescription public String getDescription()
      Gets the description.
      Returns:
      the description
    • getEntityId

      public String getEntityId()
      Gets the entity id.
      Returns:
      the entity id
    • getLabel

      @CometLabel public String getLabel()
      Gets the label.
      Returns:
      the label
    • getSequence

      public 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(String description)
      Sets the description.
      Parameters:
      description - the new description
    • setEntityId

      public void setEntityId(String entityId)
      Sets the entity id.
      Parameters:
      entityId - the new entity id
    • setLabel

      public void setLabel(String label)
      Sets the label.
      Parameters:
      label - the new label
    • setSequence

      public void setSequence(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