public class AnyValueType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for AnyValueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnyValueType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> <element name="textValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static ItemName |
F_TEXT_VALUE |
static ItemName |
F_VALUE |
protected String |
textValue |
protected Object |
value |
Constructor and Description |
---|
AnyValueType()
Creates a new
AnyValueType instance. |
AnyValueType(AnyValueType o)
Creates a new
AnyValueType instance by deeply copying a given AnyValueType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
AnyValueType |
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) |
String |
getTextValue()
Gets the value of the textValue property.
|
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) |
void |
setTextValue(String value)
Sets the value of the textValue property.
|
void |
setValue(Object value)
Sets the value of the value property.
|
AnyValueType |
textValue(String value) |
String |
toString()
Generates a String representation of the contents of this type.
|
AnyValueType |
value(Object value) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected Object value
protected String textValue
public static final QName COMPLEX_TYPE
public static final ItemName F_VALUE
public static final ItemName F_TEXT_VALUE
public AnyValueType()
AnyValueType
instance.public AnyValueType(AnyValueType o)
AnyValueType
instance by deeply copying a given AnyValueType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public Object getValue()
Object
public void setValue(Object value)
value
- allowed object is
Object
public String getTextValue()
String
public void setTextValue(String value)
value
- allowed object is
String
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 AnyValueType value(Object value)
public AnyValueType textValue(String value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public AnyValueType clone()
Copyright © 2020 Evolveum. All rights reserved.