public class FieldSpec extends Object implements Serializable
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>
Modifier and Type | Field and Description |
---|---|
static FieldSpec |
EMPTY_INSTANCE |
protected List<FieldSpecField> |
fields |
protected Boolean |
ignoreForFilters |
protected Boolean |
ignoreForSelection |
protected Boolean |
ignoreForSort |
Constructor and Description |
---|
FieldSpec() |
Modifier and Type | Method and Description |
---|---|
FieldSpec |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
FieldSpec |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected FieldSpec |
copy(FieldSpec nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(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.
|
int |
hashCode() |
Boolean |
isIgnoreForFilters()
Indicates that this element and all child elements will be ignored when listing query
filter options
|
Boolean |
isIgnoreForSelection()
Indicates that this element and all child elements will be ignored when listing
field selection
|
Boolean |
isIgnoreForSort()
Indicates that this element and all child elements will be ignored when listing query
sort options
|
void |
setIgnoreForFilters(Boolean value)
Sets the value of the ignoreForFilters property.
|
void |
setIgnoreForSelection(Boolean value)
Sets the value of the ignoreForSelection property.
|
void |
setIgnoreForSort(Boolean value)
Sets the value of the ignoreForSort property.
|
String |
toString() |
FieldSpec |
withFields(Collection<? extends FieldSpecField> newValues)
Adds the given newValues to the current fields property List and returns this instance.
|
FieldSpec |
withFields(FieldSpecField... newValues)
Adds the given newValues to the current fields property List and returns this instance.
|
FieldSpec |
withIgnoreForFilters(Boolean newValue)
Sets the ignoreForFilters property to the given newValue and returns this instance.
|
FieldSpec |
withIgnoreForSelection(Boolean newValue)
Sets the ignoreForSelection property to the given newValue and returns this instance.
|
FieldSpec |
withIgnoreForSort(Boolean newValue)
Sets the ignoreForSort property to the given newValue and returns this instance.
|
protected List<FieldSpecField> fields
protected Boolean ignoreForFilters
protected Boolean ignoreForSort
protected Boolean ignoreForSelection
public static final FieldSpec EMPTY_INSTANCE
public List<FieldSpecField> getFields()
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 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
public Boolean isIgnoreForFilters()
Boolean
public void setIgnoreForFilters(Boolean value)
value
- allowed object is
Boolean
public Boolean isIgnoreForSort()
Boolean
public void setIgnoreForSort(Boolean value)
value
- allowed object is
Boolean
public Boolean isIgnoreForSelection()
Boolean
public void setIgnoreForSelection(Boolean value)
value
- allowed object is
Boolean
public FieldSpec copy()
public FieldSpec copy(boolean isDeep)
protected FieldSpec copy(FieldSpec nobj, boolean isDeep)
public FieldSpec withFields(FieldSpecField... newValues)
public FieldSpec withFields(Collection<? extends FieldSpecField> newValues)
public FieldSpec withIgnoreForFilters(Boolean newValue)
public FieldSpec withIgnoreForSort(Boolean newValue)