Package com.boomi.connector.api.ui
Class ValueCondition
- java.lang.Object
-
- com.boomi.connector.api.ui.FieldCondition
-
- com.boomi.connector.api.ui.ValueCondition
-
- All Implemented Interfaces:
Serializable
public class ValueCondition extends FieldCondition implements Serializable
A condition based on the value(s) of another field.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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ValueConditionEMPTY_INSTANCEprotected List<String>values-
Fields inherited from class com.boomi.connector.api.ui.FieldCondition
fieldId
-
-
Constructor Summary
Constructors Constructor Description ValueCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueConditioncopy()Deep copies the fields of the this model into a new instance of this class and returns it.ValueConditioncopy(boolean isDeep)Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.protected ValueConditioncopy(ValueCondition nobj, boolean isDeep)Copies the fields of the this model (optionally deeply) into the given instance and returns it.booleanequals(Object o)List<String>getValues()Set of values that will drive the action defined.inthashCode()StringtoString()ValueConditionwithValues(String... newValues)Adds the given newValues to the current values property List and returns this instance.ValueConditionwithValues(Collection<? extends String> newValues)Adds the given newValues to the current values property List and returns this instance.-
Methods inherited from class com.boomi.connector.api.ui.FieldCondition
copy, getFieldId, setFieldId, withFieldId
-
-
-
-
Field Detail
-
EMPTY_INSTANCE
public static final ValueCondition EMPTY_INSTANCE
-
-
Method Detail
-
getValues
public List<String> getValues()
Set of values that will drive the action defined. Values are case insensitive.Gets the value of the values property.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
setmethod 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
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFieldCondition
-
toString
public String toString()
- Overrides:
toStringin classFieldCondition
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classFieldCondition
-
copy
public ValueCondition copy()
Deep copies the fields of the this model into a new instance of this class and returns it.- Overrides:
copyin classFieldCondition
-
copy
public ValueCondition copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.- Specified by:
copyin classFieldCondition
-
copy
protected ValueCondition copy(ValueCondition nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
-
withValues
public ValueCondition withValues(String... newValues)
Adds the given newValues to the current values property List and returns this instance.
-
withValues
public ValueCondition withValues(Collection<? extends String> newValues)
Adds the given newValues to the current values property List and returns this instance.
-
-