Class ObjectDefinitions
- java.lang.Object
-
- com.boomi.connector.api.ObjectDefinitions
-
- All Implemented Interfaces:
Serializable
public class ObjectDefinitions extends Object implements Serializable
A wrapper around a list of ObjectDefinition instances.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="operationField" type="{http://www.boomi.com/connector/api/ui}BrowseField" maxOccurs="unbounded" minOccurs="0"/> <element name="definition" type="{}ObjectDefinition" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ObjectDefinition>
definitions
static ObjectDefinitions
EMPTY_INSTANCE
protected List<BrowseField>
operationFields
-
Constructor Summary
Constructors Constructor Description ObjectDefinitions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectDefinitions
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.ObjectDefinitions
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.protected ObjectDefinitions
copy(ObjectDefinitions nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.boolean
equals(Object o)
List<ObjectDefinition>
getDefinitions()
A list of ObjectDefinition instances.List<BrowseField>
getOperationFields()
A list of operation fields defined by browsing.int
hashCode()
String
toString()
ObjectDefinitions
withDefinitions(ObjectDefinition... newValues)
Adds the given newValues to the current definitions property List and returns this instance.ObjectDefinitions
withDefinitions(Collection<? extends ObjectDefinition> newValues)
Adds the given newValues to the current definitions property List and returns this instance.ObjectDefinitions
withOperationFields(BrowseField... newValues)
Adds the given newValues to the current operationFields property List and returns this instance.ObjectDefinitions
withOperationFields(Collection<? extends BrowseField> newValues)
Adds the given newValues to the current operationFields property List and returns this instance.
-
-
-
Field Detail
-
operationFields
protected List<BrowseField> operationFields
-
definitions
protected List<ObjectDefinition> definitions
-
EMPTY_INSTANCE
public static final ObjectDefinitions EMPTY_INSTANCE
-
-
Method Detail
-
getOperationFields
public List<BrowseField> getOperationFields()
A list of operation fields defined by browsing. Each operation field is defined by the fields ID. In the case of Duplicate ID's the last field will be used and previous fields will be discarded. Browse Fields will also override descriptor fields with the same ID. Gets the value of the operationFields 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
set
method for the operationFields property.For example, to add a new item, do as follows:
getOperationFields().add(newItem);
Objects of the following type(s) are allowed in the list
BrowseField
-
getDefinitions
public List<ObjectDefinition> getDefinitions()
A list of ObjectDefinition instances.Gets the value of the definitions 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
set
method for the definitions property.For example, to add a new item, do as follows:
getDefinitions().add(newItem);
Objects of the following type(s) are allowed in the list
ObjectDefinition
-
copy
public ObjectDefinitions copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
-
copy
public ObjectDefinitions copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
-
copy
protected ObjectDefinitions copy(ObjectDefinitions nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
-
withOperationFields
public ObjectDefinitions withOperationFields(BrowseField... newValues)
Adds the given newValues to the current operationFields property List and returns this instance.
-
withOperationFields
public ObjectDefinitions withOperationFields(Collection<? extends BrowseField> newValues)
Adds the given newValues to the current operationFields property List and returns this instance.
-
withDefinitions
public ObjectDefinitions withDefinitions(ObjectDefinition... newValues)
Adds the given newValues to the current definitions property List and returns this instance.
-
withDefinitions
public ObjectDefinitions withDefinitions(Collection<? extends ObjectDefinition> newValues)
Adds the given newValues to the current definitions property List and returns this instance.
-
-