public class ValueListType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for ValueListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueListType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static ItemName |
F_VALUE |
protected List<Object> |
value |
Constructor and Description |
---|
ValueListType()
Creates a new
ValueListType instance. |
ValueListType(ValueListType o)
Creates a new
ValueListType instance by deeply copying a given ValueListType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
ValueListType |
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) |
List<Object> |
getValue()
Gets the value of the value 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.
|
ValueListType |
value(Object value) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
public static final QName COMPLEX_TYPE
public static final ItemName F_VALUE
public ValueListType()
ValueListType
instance.public ValueListType(ValueListType o)
ValueListType
instance by deeply copying a given ValueListType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public List<Object> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
Object
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 ValueListType value(Object value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public ValueListType clone()
Copyright © 2020 Evolveum. All rights reserved.