public class ValueCondition extends FieldCondition implements Serializable
Java class for ValueCondition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueCondition"> <complexContent> <extension base="{http://www.boomi.com/connector/api/ui}FieldCondition"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="100"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static ValueCondition |
EMPTY_INSTANCE |
protected List<String> |
values |
fieldId
Constructor and Description |
---|
ValueCondition() |
Modifier and Type | Method and Description |
---|---|
ValueCondition |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
ValueCondition |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected ValueCondition |
copy(ValueCondition nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
List<String> |
getValues()
Set of values that will drive the action defined.
|
int |
hashCode() |
String |
toString() |
ValueCondition |
withValues(Collection<? extends String> newValues)
Adds the given newValues to the current values property List and returns this instance.
|
ValueCondition |
withValues(String... newValues)
Adds the given newValues to the current values property List and returns this instance.
|
copy, getFieldId, setFieldId, withFieldId
public static final ValueCondition EMPTY_INSTANCE
public List<String> getValues()
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 values property.
For example, to add a new item, do as follows:
getValues().add(newItem);
Objects of the following type(s) are allowed in the list
String
public int hashCode()
hashCode
in class FieldCondition
public String toString()
toString
in class FieldCondition
public boolean equals(Object o)
equals
in class FieldCondition
public ValueCondition copy()
copy
in class FieldCondition
public ValueCondition copy(boolean isDeep)
copy
in class FieldCondition
protected ValueCondition copy(ValueCondition nobj, boolean isDeep)
public ValueCondition withValues(String... newValues)
public ValueCondition withValues(Collection<? extends String> newValues)