public class TriggerType extends Object
Java class for TriggerType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
| Modifier and Type | Field and Description |
|---|---|
protected List<ConditionType> |
condition |
protected String |
target |
protected String |
value |
| Constructor and Description |
|---|
TriggerType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<ConditionType> |
getCondition()
Gets the value of the condition property.
|
String |
getTarget()
Gets the value of the target property.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
void |
setTarget(String value)
Sets the value of the target property.
|
void |
setValue(String value)
Sets the value of the value property.
|
String |
toString() |
TriggerType |
withCondition(Collection<ConditionType> values) |
TriggerType |
withCondition(ConditionType... values) |
TriggerType |
withTarget(String value) |
TriggerType |
withValue(String value) |
protected List<ConditionType> condition
protected String value
protected String target
public List<ConditionType> getCondition()
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 set method for the condition property.
For example, to add a new item, do as follows:
getCondition().add(newItem);
Objects of the following type(s) are allowed in the list
ConditionType
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic String getTarget()
Stringpublic void setTarget(String value)
value - allowed object is
Stringpublic TriggerType withCondition(ConditionType... values)
public TriggerType withCondition(Collection<ConditionType> values)
public TriggerType withValue(String value)
public TriggerType withTarget(String value)
Copyright © 2021. All rights reserved.