Class FieldSpec
- java.lang.Object
-
- com.boomi.connector.api.annotation.FieldSpec
-
- All Implemented Interfaces:
Serializable
public class FieldSpec extends Object implements Serializable
Specification for field selection and query sort/filter information on a schema. Specifies whether to ignore child elements when determining filter/sort/field selection fields for the schema.Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="field" type="{http://www.boomi.com/connector/annotation}FieldSpecField" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ignoreForFilters" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="ignoreForSort" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="ignoreForSelection" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FieldSpecEMPTY_INSTANCEprotected List<FieldSpecField>fieldsprotected BooleanignoreForFiltersprotected BooleanignoreForSelectionprotected BooleanignoreForSort
-
Constructor Summary
Constructors Constructor Description FieldSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldSpeccopy()Deep copies the fields of the this model into a new instance of this class and returns it.FieldSpeccopy(boolean isDeep)Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.protected FieldSpeccopy(FieldSpec nobj, boolean isDeep)Copies the fields of the this model (optionally deeply) into the given instance and returns it.booleanequals(Object o)List<FieldSpecField>getFields()Lists any additional field(s) that can be used as a field selection or query sort/filter field but will not be included in the profile Gets the value of the fields property.inthashCode()BooleanisIgnoreForFilters()Indicates that this element and all child elements will be ignored when listing query filter optionsBooleanisIgnoreForSelection()Indicates that this element and all child elements will be ignored when listing field selectionBooleanisIgnoreForSort()Indicates that this element and all child elements will be ignored when listing query sort optionsvoidsetIgnoreForFilters(Boolean value)Sets the value of the ignoreForFilters property.voidsetIgnoreForSelection(Boolean value)Sets the value of the ignoreForSelection property.voidsetIgnoreForSort(Boolean value)Sets the value of the ignoreForSort property.StringtoString()FieldSpecwithFields(FieldSpecField... newValues)Adds the given newValues to the current fields property List and returns this instance.FieldSpecwithFields(Collection<? extends FieldSpecField> newValues)Adds the given newValues to the current fields property List and returns this instance.FieldSpecwithIgnoreForFilters(Boolean newValue)Sets the ignoreForFilters property to the given newValue and returns this instance.FieldSpecwithIgnoreForSelection(Boolean newValue)Sets the ignoreForSelection property to the given newValue and returns this instance.FieldSpecwithIgnoreForSort(Boolean newValue)Sets the ignoreForSort property to the given newValue and returns this instance.
-
-
-
Method Detail
-
getFields
public List<FieldSpecField> getFields()
Lists any additional field(s) that can be used as a field selection or query sort/filter field but will not be included in the profile Gets the value of the fields 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 fields property.For example, to add a new item, do as follows:
getFields().add(newItem);Objects of the following type(s) are allowed in the list
FieldSpecField
-
isIgnoreForFilters
public Boolean isIgnoreForFilters()
Indicates that this element and all child elements will be ignored when listing query filter options- Returns:
- possible object is
Boolean
-
setIgnoreForFilters
public void setIgnoreForFilters(Boolean value)
Sets the value of the ignoreForFilters property.- Parameters:
value- allowed object isBoolean
-
isIgnoreForSort
public Boolean isIgnoreForSort()
Indicates that this element and all child elements will be ignored when listing query sort options- Returns:
- possible object is
Boolean
-
setIgnoreForSort
public void setIgnoreForSort(Boolean value)
Sets the value of the ignoreForSort property.- Parameters:
value- allowed object isBoolean
-
isIgnoreForSelection
public Boolean isIgnoreForSelection()
Indicates that this element and all child elements will be ignored when listing field selection- Returns:
- possible object is
Boolean
-
setIgnoreForSelection
public void setIgnoreForSelection(Boolean value)
Sets the value of the ignoreForSelection property.- Parameters:
value- allowed object isBoolean
-
copy
public FieldSpec copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
-
copy
public FieldSpec copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
-
copy
protected FieldSpec copy(FieldSpec nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
-
withFields
public FieldSpec withFields(FieldSpecField... newValues)
Adds the given newValues to the current fields property List and returns this instance.
-
withFields
public FieldSpec withFields(Collection<? extends FieldSpecField> newValues)
Adds the given newValues to the current fields property List and returns this instance.
-
withIgnoreForFilters
public FieldSpec withIgnoreForFilters(Boolean newValue)
Sets the ignoreForFilters property to the given newValue and returns this instance.
-
withIgnoreForSort
public FieldSpec withIgnoreForSort(Boolean newValue)
Sets the ignoreForSort property to the given newValue and returns this instance.
-
-