Class TriggerType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.TriggerType
-
public class TriggerType extends Object
<p>Java class for TriggerType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="TriggerType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}condition" maxOccurs="unbounded"/> </sequence> <attribute name="value" use="required" type="{http://www.decoderdb.de/schema/commonTypes/1.2}tokenNotEmpty" /> <attribute name="target" type="{http://www.decoderdb.de/schema/commonTypes/1.2}tokenNotEmpty" /> </restriction> </complexContent> </complexType> </pre>
-
-
Constructor Summary
Constructors Constructor Description TriggerType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)List<ConditionType>getCondition()Gets the value of the condition property.StringgetTarget()Gets the value of the target property.StringgetValue()Gets the value of the value property.inthashCode()voidsetTarget(String value)Sets the value of the target property.voidsetValue(String value)Sets the value of the value property.StringtoString()TriggerTypewithCondition(Collection<ConditionType> values)TriggerTypewithCondition(ConditionType... values)TriggerTypewithTarget(String value)TriggerTypewithValue(String value)
-
-
-
Field Detail
-
condition
protected List<ConditionType> condition
-
value
protected String value
-
target
protected String target
-
-
Method Detail
-
getCondition
public List<ConditionType> getCondition()
Gets the value of the condition property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the condition property. <p> For example, to add a new item, do as follows: <pre> getCondition().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listConditionType
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getTarget
public String getTarget()
Gets the value of the target property.- Returns:
- possible object is
String
-
setTarget
public void setTarget(String value)
Sets the value of the target property.- Parameters:
value- allowed object isString
-
withCondition
public TriggerType withCondition(ConditionType... values)
-
withCondition
public TriggerType withCondition(Collection<ConditionType> values)
-
withValue
public TriggerType withValue(String value)
-
withTarget
public TriggerType withTarget(String value)
-
-