Package com.boomi.connector.api.ui
Class ConditionalFieldConfiguration
- java.lang.Object
-
- com.boomi.connector.api.ui.ConditionalFieldConfiguration
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VisibilityCondition
public abstract class ConditionalFieldConfiguration extends Object implements Serializable
Conditions based on the state of another field.Java class for ConditionalFieldConfiguration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConditionalFieldConfiguration"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="valueCondition" type="{http://www.boomi.com/connector/api/ui}ValueCondition" maxOccurs="10"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ConditionalFieldConfigurationEMPTY_INSTANCEprotected List<ValueCondition>valueConditions
-
Constructor Summary
Constructors Constructor Description ConditionalFieldConfiguration()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ConditionalFieldConfigurationcopy()Deep copies the fields of the this model into a new instance of this class and returns it.abstract ConditionalFieldConfigurationcopy(boolean isDeep)Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.protected ConditionalFieldConfigurationcopy(ConditionalFieldConfiguration nobj, boolean isDeep)Copies the fields of the this model (optionally deeply) into the given instance and returns it.booleanequals(Object o)List<ValueCondition>getValueConditions()Condition that is based on the value of another field.inthashCode()StringtoString()ConditionalFieldConfigurationwithValueConditions(ValueCondition... newValues)Adds the given newValues to the current valueConditions property List and returns this instance.ConditionalFieldConfigurationwithValueConditions(Collection<? extends ValueCondition> newValues)Adds the given newValues to the current valueConditions property List and returns this instance.
-
-
-
Field Detail
-
valueConditions
protected List<ValueCondition> valueConditions
-
EMPTY_INSTANCE
public static final ConditionalFieldConfiguration EMPTY_INSTANCE
-
-
Method Detail
-
getValueConditions
public List<ValueCondition> getValueConditions()
Condition that is based on the value of another field. Currently there is a limit of 1 value condition.Gets the value of the valueConditions 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 valueConditions property.For example, to add a new item, do as follows:
getValueConditions().add(newItem);Objects of the following type(s) are allowed in the list
ValueCondition
-
copy
public ConditionalFieldConfiguration copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
-
copy
public abstract ConditionalFieldConfiguration copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
-
copy
protected ConditionalFieldConfiguration copy(ConditionalFieldConfiguration nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
-
withValueConditions
public ConditionalFieldConfiguration withValueConditions(ValueCondition... newValues)
Adds the given newValues to the current valueConditions property List and returns this instance.
-
withValueConditions
public ConditionalFieldConfiguration withValueConditions(Collection<? extends ValueCondition> newValues)
Adds the given newValues to the current valueConditions property List and returns this instance.
-
-