public class ObjectListType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for ObjectListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectListType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="object" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected Integer |
count |
static QName |
F_COUNT |
static QName |
F_OBJECT |
protected List<ObjectType> |
object |
Constructor and Description |
---|
ObjectListType()
Creates a new
ObjectListType instance. |
ObjectListType(ObjectListType o)
Creates a new
ObjectListType instance by deeply copying a given ObjectListType instance. |
Modifier and Type | Method and Description |
---|---|
ObjectListType |
clone()
Creates and returns a deep copy of this object.
|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Integer |
getCount()
Gets the value of the count property.
|
List<ObjectType> |
getObject()
Gets the value of the object property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCount(Integer value)
Sets the value of the count property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected List<ObjectType> object
protected Integer count
public static final QName COMPLEX_TYPE
public static final QName F_OBJECT
public static final QName F_COUNT
public ObjectListType()
ObjectListType
instance.public ObjectListType(ObjectListType o)
ObjectListType
instance by deeply copying a given ObjectListType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public List<ObjectType> getObject()
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 object property.
For example, to add a new item, do as follows:
getObject().add(newItem);
Objects of the following type(s) are allowed in the list
ObjectType
public Integer getCount()
Integer
public void setCount(Integer value)
value
- allowed object is
Integer
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public ObjectListType clone()
Copyright © 2016 Evolveum. All rights reserved.