Class Condition
java.lang.Object
com.priint.pubserver.tagging.TaggingObject
com.priint.pubserver.comet.bridge.Comet3Entity
com.priint.pubserver.comet3.entity.Condition
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T> -
Field Summary
Fields inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
id, timestampFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValuesTo(CometCondition stmt) Apply values to.Gets conditionmenueid.intgetId()Gets id.getLabel()Gets label.Gets replacebyvalue.Gets sequencenr.Gets typeid.getValue()Gets value.voidsetConditionmenueid(Integer conditionmenueid) Sets conditionmenueid.voidsetId(int id) Sets id.voidSets label.voidsetReplacebyvalue(String replacebyvalue) Sets replacebyvalue.voidsetSequencenr(Integer sequencenr) Sets sequencenr.voidSets typeid.voidSets value.Methods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, entityEquals, getLastModificationTimestamp, info, postprocess, setLastModificationTimestampMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
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 idtimestamp- the timestampconditionmenueid- the conditionmenueidsequencenr- the sequencenrvalue- the valuetypeid- the typeidreplacebyvalue- the replacebyvalue
-
Condition
Instantiates a new Condition.- Parameters:
cm- the cm
-
-
Method Details
-
getSequencenr
Gets sequencenr.- Returns:
- the sequencenr
-
setSequencenr
Sets sequencenr.- Parameters:
sequencenr- the sequencenr
-
getValue
Gets value.- Returns:
- the value
-
setValue
Sets value.- Parameters:
value- the value
-
getTypeid
Gets typeid.- Returns:
- the typeid
-
setTypeid
Sets typeid.- Parameters:
typeid- the typeid
-
getReplacebyvalue
Gets replacebyvalue.- Returns:
- the replacebyvalue
-
setReplacebyvalue
Sets replacebyvalue.- Parameters:
replacebyvalue- the replacebyvalue
-
getLabel
Gets label.- Returns:
- the label
-
setLabel
Sets label.- Parameters:
label- the label
-
getId
public int getId()Description copied from class:Comet3EntityGets id.- Overrides:
getIdin classComet3Entity- Returns:
- the id
-
setId
public void setId(int id) Description copied from class:Comet3EntitySets id.- Overrides:
setIdin classComet3Entity- Parameters:
id- the id
-
applyValuesTo
Apply values to.- Parameters:
stmt- the stmt