public class ObjectTypes 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="type" type="{}ObjectType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="totalCount" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static ObjectTypes |
EMPTY_INSTANCE |
protected Integer |
totalCount |
protected List<ObjectType> |
types |
Constructor and Description |
---|
ObjectTypes() |
Modifier and Type | Method and 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(Collection<? extends ObjectType> newValues)
Adds the given newValues to the current types property List and returns this instance.
|
ObjectTypes |
withTypes(ObjectType... newValues)
Adds the given newValues to the current types property List and returns this instance.
|
protected List<ObjectType> types
protected Integer totalCount
public static final ObjectTypes EMPTY_INSTANCE
public List<ObjectType> getTypes()
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
public Integer getTotalCount()
Integer
public void setTotalCount(Integer value)
value
- allowed object is
Integer
public ObjectTypes copy()
public ObjectTypes copy(boolean isDeep)
protected ObjectTypes copy(ObjectTypes nobj, boolean isDeep)
public ObjectTypes withTypes(ObjectType... newValues)
public ObjectTypes withTypes(Collection<? extends ObjectType> newValues)
public ObjectTypes withTotalCount(Integer newValue)