Class ObjectCollectionsUseType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectCollectionsUseType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class ObjectCollectionsUseType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Specifies a set of object collections ("views") to be displayed (used) at a specific location in the system. This is generic type that can be used to specify collections to display in role catalog, menu, dashboard and so on. <p>Java class for ObjectCollectionsUseType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="ObjectCollectionsUseType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="collection" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectCollectionUseType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ObjectCollectionUseType>
collection
static QName
COMPLEX_TYPE
static ItemName
F_COLLECTION
-
Constructor Summary
Constructors Constructor Description ObjectCollectionsUseType()
Creates a new {@code ObjectCollectionsUseType} instance.ObjectCollectionsUseType(ObjectCollectionsUseType o)
Creates a new {@code ObjectCollectionsUseType} instance by deeply copying a given {@code ObjectCollectionsUseType} instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ObjectCollectionUseType
beginCollection()
ObjectCollectionsUseType
clone()
Creates and returns a deep copy of this object.ObjectCollectionsUseType
collection(ObjectCollectionUseType value)
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)
List<ObjectCollectionUseType>
getCollection()
Gets the value of the collection property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
collection
protected List<ObjectCollectionUseType> collection
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_COLLECTION
public static final ItemName F_COLLECTION
-
-
Constructor Detail
-
ObjectCollectionsUseType
public ObjectCollectionsUseType()
Creates a new {@code ObjectCollectionsUseType} instance.
-
ObjectCollectionsUseType
public ObjectCollectionsUseType(ObjectCollectionsUseType o)
Creates a new {@code ObjectCollectionsUseType} instance by deeply copying a given {@code ObjectCollectionsUseType} instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- if {@code o} is {@code null}.
-
-
Method Detail
-
getCollection
public List<ObjectCollectionUseType> getCollection()
Gets the value of the collection property. <p> 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 <CODE>set</CODE> method for the collection property. <p> For example, to add a new item, do as follows: <pre> getCollection().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listObjectCollectionUseType
-
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:
hashCode
in 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:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
collection
public ObjectCollectionsUseType collection(ObjectCollectionUseType value)
-
beginCollection
public ObjectCollectionUseType beginCollection()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public ObjectCollectionsUseType clone()
Creates and returns a deep copy of this object.
-
-