Class AnyValueType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
NamedValueType
public class AnyValueType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Any value (property, reference, container). EXPERIMENTAL This is a workaround to avoid using xsd:anyType directly in a container. It is mapped to a property; however, it cannot be always serialized as a property.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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_TEXT_VALUE
static ItemName
F_VALUE
protected String
textValue
protected Object
value
-
Constructor Summary
Constructors Constructor Description AnyValueType()
Creates a newAnyValueType
instance.AnyValueType(AnyValueType o)
Creates a newAnyValueType
instance by deeply copying a givenAnyValueType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
AnyValueType
public AnyValueType()
Creates a newAnyValueType
instance.
-
AnyValueType
public AnyValueType(AnyValueType o)
Creates a newAnyValueType
instance by deeply copying a givenAnyValueType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getValue
public Object getValue()
Gets the value of the value property.- Returns:
- possible object is
Object
-
setValue
public void setValue(Object value)
Sets the value of the value property.- Parameters:
value
- allowed object isObject
-
getTextValue
public String getTextValue()
Gets the value of the textValue property.- Returns:
- possible object is
String
-
setTextValue
public void setTextValue(String value)
Sets the value of the textValue property.- Parameters:
value
- allowed object isString
-
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
-
value
public AnyValueType value(Object value)
-
textValue
public AnyValueType textValue(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public AnyValueType clone()
Creates and returns a deep copy of this object.
-
-