Package com.boomi.connector.api
Class ObjectTypes
- java.lang.Object
-
- com.boomi.connector.api.ObjectTypes
-
- All Implemented Interfaces:
Serializable
public class ObjectTypes extends Object implements Serializable
A wrapper around a list of ObjectType 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="type" type="{}ObjectType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="totalCount" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectTypes
EMPTY_INSTANCE
protected Integer
totalCount
protected List<ObjectType>
types
-
Constructor Summary
Constructors Constructor Description ObjectTypes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectTypes
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.ObjectTypes
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.protected ObjectTypes
copy(ObjectTypes nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.boolean
equals(Object o)
Integer
getTotalCount()
Gets the value of the totalCount property.List<ObjectType>
getTypes()
A list of ObjectType instances.int
hashCode()
void
setTotalCount(Integer value)
Sets the value of the totalCount property.String
toString()
ObjectTypes
withTotalCount(Integer newValue)
Sets the totalCount property to the given newValue and returns this instance.ObjectTypes
withTypes(ObjectType... newValues)
Adds the given newValues to the current types property List and returns this instance.ObjectTypes
withTypes(Collection<? extends ObjectType> newValues)
Adds the given newValues to the current types property List and returns this instance.
-
-
-
Field Detail
-
types
protected List<ObjectType> types
-
totalCount
protected Integer totalCount
-
EMPTY_INSTANCE
public static final ObjectTypes EMPTY_INSTANCE
-
-
Method Detail
-
getTypes
public List<ObjectType> getTypes()
A list of ObjectType instances.Gets the value of the types 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 types property.For example, to add a new item, do as follows:
getTypes().add(newItem);
Objects of the following type(s) are allowed in the list
ObjectType
-
getTotalCount
public Integer getTotalCount()
Gets the value of the totalCount property.- Returns:
- possible object is
Integer
-
setTotalCount
public void setTotalCount(Integer value)
Sets the value of the totalCount property.- Parameters:
value
- allowed object isInteger
-
copy
public ObjectTypes copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
-
copy
public ObjectTypes copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
-
copy
protected ObjectTypes copy(ObjectTypes nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
-
withTypes
public ObjectTypes withTypes(ObjectType... newValues)
Adds the given newValues to the current types property List and returns this instance.
-
withTypes
public ObjectTypes withTypes(Collection<? extends ObjectType> newValues)
Adds the given newValues to the current types property List and returns this instance.
-
withTotalCount
public ObjectTypes withTotalCount(Integer newValue)
Sets the totalCount property to the given newValue and returns this instance.
-
-