Class NamedValueType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NamedValueType
-
- All Implemented Interfaces:
PlainStructured
,JaxbVisitable
,Serializable
,Cloneable
public class NamedValueType extends AnyValueType
Any value (property, reference, container) along with its name. 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_NAME
protected QName
name
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
F_TEXT_VALUE, F_VALUE, textValue, value
-
-
Constructor Summary
Constructors Constructor Description NamedValueType()
NamedValueType(NamedValueType other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
NamedValueType
clone()
boolean
equals(Object other, StructuredEqualsStrategy strategy)
QName
getName()
int
hashCode(StructuredHashCodeStrategy strategy)
NamedValueType
name(QName value)
void
setName(QName value)
NamedValueType
textValue(String value)
NamedValueType
value(Object value)
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
getTextValue, getValue, setTextValue, setValue
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
NamedValueType
public NamedValueType()
-
NamedValueType
public NamedValueType(NamedValueType other)
-
-
Method Detail
-
getName
public QName getName()
-
setName
public void setName(QName value)
-
hashCode
public int hashCode(StructuredHashCodeStrategy strategy)
- Specified by:
hashCode
in interfacePlainStructured
- Overrides:
hashCode
in classAnyValueType
-
equals
public boolean equals(Object other, StructuredEqualsStrategy strategy)
- Specified by:
equals
in interfacePlainStructured
- Overrides:
equals
in classAnyValueType
-
name
public NamedValueType name(QName value)
-
value
public NamedValueType value(Object value)
- Overrides:
value
in classAnyValueType
-
textValue
public NamedValueType textValue(String value)
- Overrides:
textValue
in classAnyValueType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classAnyValueType
-
clone
public NamedValueType clone()
- Specified by:
clone
in interfacePlainStructured
- Overrides:
clone
in classAnyValueType
-
-