Class AnyValueType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
-
- All Implemented Interfaces:
PlainStructured
,JaxbVisitable
,Serializable
,Cloneable
- Direct Known Subclasses:
NamedValueType
public class AnyValueType extends com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
-
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()
AnyValueType(AnyValueType other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
AnyValueType
clone()
boolean
equals(Object other, StructuredEqualsStrategy strategy)
String
getTextValue()
Object
getValue()
int
hashCode(StructuredHashCodeStrategy strategy)
void
setTextValue(String value)
void
setValue(Object value)
AnyValueType
textValue(String value)
AnyValueType
value(Object value)
-
-
-
Constructor Detail
-
AnyValueType
public AnyValueType()
-
AnyValueType
public AnyValueType(AnyValueType other)
-
-
Method Detail
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
-
getTextValue
public String getTextValue()
-
setTextValue
public void setTextValue(String value)
-
hashCode
public int hashCode(StructuredHashCodeStrategy strategy)
- Specified by:
hashCode
in interfacePlainStructured
- Overrides:
hashCode
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
equals
public boolean equals(Object other, StructuredEqualsStrategy strategy)
- Specified by:
equals
in interfacePlainStructured
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
value
public AnyValueType value(Object value)
-
textValue
public AnyValueType textValue(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
clone
public AnyValueType clone()
- Specified by:
clone
in interfacePlainStructured
- Specified by:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
-