Class PreviewStatement

  • All Implemented Interfaces:
    java.io.Serializable

    public class PreviewStatement
    extends Comet3Entity

    Java Interface for previewstatement complex type. For internal use only

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="previewstatement">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="classid" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="hasstringids" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="needsselection" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="hasButtonState" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="hasLinkScript" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="condition" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="statement" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="objectstatementid" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="sequencenr" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="isdefault" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • PreviewStatement

        public PreviewStatement()
        Instantiates a new Preview statement.
      • PreviewStatement

        public PreviewStatement​(CometPreviewStatement src)
        Instantiates a new Preview statement.
        Parameters:
        src - the src
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets name.
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Sets name.
        Parameters:
        name - the name
      • getClassId

        public java.lang.Integer getClassId()
        Gets class id.
        Returns:
        the class id
      • setClassId

        public void setClassId​(java.lang.Integer classId)
        Sets class id.
        Parameters:
        classId - the class id
      • getDomain

        public java.lang.String getDomain()
        Gets domain.
        Returns:
        the domain
      • setDomain

        public void setDomain​(java.lang.String domain)
        Sets domain.
        Parameters:
        domain - the domain
      • getHasStringIds

        public java.lang.Integer getHasStringIds()
        Gets has string ids.
        Returns:
        the has string ids
      • setHasStringIds

        public void setHasStringIds​(java.lang.Integer hasStringIds)
        Sets has string ids.
        Parameters:
        hasStringIds - the has string ids
      • getNeedsSelection

        public java.lang.Integer getNeedsSelection()
        Gets needs selection.
        Returns:
        the needs selection
      • setNeedsSelection

        public void setNeedsSelection​(java.lang.Integer needsSelection)
        Sets needs selection.
        Parameters:
        needsSelection - the needs selection
      • getHasButtonState

        public java.lang.Integer getHasButtonState()
        Gets has button state.
        Returns:
        the has button state
      • setHasButtonState

        public void setHasButtonState​(java.lang.Integer hasButtonState)
        Sets has button state.
        Parameters:
        hasButtonState - the has button state
      • getHasLinkScript

        public java.lang.Integer getHasLinkScript()
        Gets has link script.
        Returns:
        the has link script
      • setHasLinkScript

        public void setHasLinkScript​(java.lang.Integer hasLinkScript)
        Sets has link script.
        Parameters:
        hasLinkScript - the has link script
      • getCondition

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

        public void setCondition​(java.lang.String condition)
        Sets condition.
        Parameters:
        condition - the condition
      • getStatement

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

        public void setStatement​(java.lang.String statement)
        Sets statement.
        Parameters:
        statement - the statement
      • getObjectStatementId

        public java.lang.Integer getObjectStatementId()
        Gets object statement id.
        Returns:
        the object statement id
      • setObjectStatementId

        public void setObjectStatementId​(java.lang.Integer objectStatementId)
        Sets object statement id.
        Parameters:
        objectStatementId - the object statement id
      • getSequenceNo

        public java.lang.Integer getSequenceNo()
        Gets sequence no.
        Returns:
        the sequence no
      • setSequenceNo

        public void setSequenceNo​(java.lang.Integer sequenceNo)
        Sets sequence no.
        Parameters:
        sequenceNo - the sequence no
      • getIsDefault

        public java.lang.Integer getIsDefault()
        Gets is default.
        Returns:
        the is default
      • setIsDefault

        public void setIsDefault​(java.lang.Integer isDefault)
        Sets is default.
        Parameters:
        isDefault - the is default
      • setId

        public void setId​(int id)
        Description copied from class: Comet3Entity
        Sets id.
        Overrides:
        setId in class Comet3Entity
        Parameters:
        id - the id
      • entityEquals

        public boolean entityEquals​(java.lang.Object other)
        Description copied from class: Comet3Entity
        Entity equals boolean.
        Overrides:
        entityEquals in class Comet3Entity
        Parameters:
        other - the other
        Returns:
        the boolean
      • entityEquals

        public boolean entityEquals​(CometPreviewStatement other)
        Entity equals boolean.
        Parameters:
        other - the other
        Returns:
        the boolean
      • applyValuesTo

        public void applyValuesTo​(CometPreviewStatement item)
        Apply values to.
        Parameters:
        item - the item