Class Condition

  • All Implemented Interfaces:
    java.io.Serializable

    public class Condition
    extends Comet3Entity

    Java Interface for condition complex type. For internal use only

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

     <complexType name="condition">
       <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="conditionmenueid" 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="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
             <element name="typeid" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
             <element name="replacebyvalue" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • Condition

        public Condition()
        Instantiates a new Condition.
      • Condition

        public Condition​(int id)
        Instantiates a new Condition.
        Parameters:
        id - the id
      • Condition

        public Condition​(int id,
                         long timestamp,
                         java.lang.Integer conditionmenueid,
                         java.lang.Integer sequencenr,
                         java.lang.String value,
                         java.lang.Integer typeid,
                         java.lang.String replacebyvalue)
        Instantiates a new Condition.
        Parameters:
        id - the id
        timestamp - the timestamp
        conditionmenueid - the conditionmenueid
        sequencenr - the sequencenr
        value - the value
        typeid - the typeid
        replacebyvalue - the replacebyvalue
      • Condition

        public Condition​(CometCondition cm)
        Instantiates a new Condition.
        Parameters:
        cm - the cm
    • Method Detail

      • getConditionmenueid

        public java.lang.Integer getConditionmenueid()
        Gets conditionmenueid.
        Returns:
        the conditionmenueid
      • setConditionmenueid

        public void setConditionmenueid​(java.lang.Integer conditionmenueid)
        Sets conditionmenueid.
        Parameters:
        conditionmenueid - the conditionmenueid
      • getSequencenr

        public java.lang.Integer getSequencenr()
        Gets sequencenr.
        Returns:
        the sequencenr
      • setSequencenr

        public void setSequencenr​(java.lang.Integer sequencenr)
        Sets sequencenr.
        Parameters:
        sequencenr - the sequencenr
      • getValue

        public java.lang.String getValue()
        Gets value.
        Returns:
        the value
      • setValue

        public void setValue​(java.lang.String value)
        Sets value.
        Parameters:
        value - the value
      • getTypeid

        public java.lang.Integer getTypeid()
        Gets typeid.
        Returns:
        the typeid
      • setTypeid

        public void setTypeid​(java.lang.Integer typeid)
        Sets typeid.
        Parameters:
        typeid - the typeid
      • getReplacebyvalue

        public java.lang.String getReplacebyvalue()
        Gets replacebyvalue.
        Returns:
        the replacebyvalue
      • setReplacebyvalue

        public void setReplacebyvalue​(java.lang.String replacebyvalue)
        Sets replacebyvalue.
        Parameters:
        replacebyvalue - the replacebyvalue
      • getLabel

        public java.lang.String getLabel()
        Gets label.
        Returns:
        the label
      • setLabel

        public void setLabel​(java.lang.String label)
        Sets label.
        Parameters:
        label - the label
      • setId

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

        public void applyValuesTo​(CometCondition stmt)
        Apply values to.
        Parameters:
        stmt - the stmt