Class Condition

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

    • 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, Integer conditionmenueid, Integer sequencenr, String value, Integer typeid, 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 Details

    • getConditionmenueid

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

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

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

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

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

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

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

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

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

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

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

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

      public int getId()
      Description copied from class: Comet3Entity
      Gets id.
      Overrides:
      getId in class Comet3Entity
      Returns:
      the id
    • 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