Class ObjectListType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectListType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class ObjectListType extends Object implements Serializable, Cloneable, JaxbVisitable, 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>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectListType()Creates a newObjectListTypeinstance.ObjectListType(ObjectListType o)Creates a newObjectListTypeinstance by deeply copying a givenObjectListTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ObjectListTypeclone()Creates and returns a deep copy of this object.ObjectListTypecount(Integer value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)IntegergetCount()Gets the value of the count property.List<ObjectType>getObject()Gets the value of the object property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)ObjectListTypeobject(ObjectType value)voidsetCount(Integer value)Sets the value of the count property.StringtoString()Generates a String representation of the contents of this type.
-
-
-
Constructor Detail
-
ObjectListType
public ObjectListType()
Creates a newObjectListTypeinstance.
-
ObjectListType
public ObjectListType(ObjectListType o)
Creates a newObjectListTypeinstance by deeply copying a givenObjectListTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getObject
public List<ObjectType> getObject()
Gets the value of the object 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
setmethod 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
-
getCount
public Integer getCount()
Gets the value of the count property.- Returns:
- possible object is
Integer
-
setCount
public void setCount(Integer value)
Sets the value of the count property.- Parameters:
value- allowed object isInteger
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
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)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
object
public ObjectListType object(ObjectType value)
-
count
public ObjectListType count(Integer value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public ObjectListType clone()
Creates and returns a deep copy of this object.
-
-