Class NamedValueType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NamedValueType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class NamedValueType extends AnyValueType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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.Java class for NamedValueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NamedValueType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AnyValueType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_NAMEprotected QNamename-
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()Creates a newNamedValueTypeinstance.NamedValueType(NamedValueType o)Creates a newNamedValueTypeinstance by deeply copying a givenNamedValueTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)NamedValueTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)QNamegetName()Gets the value of the name property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)NamedValueTypename(QName value)voidsetName(QName value)Sets the value of the name property.NamedValueTypetextValue(String value)StringtoString()Generates a String representation of the contents of this type.NamedValueTypevalue(Object value)-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
getTextValue, getValue, setTextValue, setValue
-
-
-
-
Constructor Detail
-
NamedValueType
public NamedValueType()
Creates a newNamedValueTypeinstance.
-
NamedValueType
public NamedValueType(NamedValueType o)
Creates a newNamedValueTypeinstance by deeply copying a givenNamedValueTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getName
public QName getName()
Gets the value of the name property.- Returns:
- possible object is
QName
-
setName
public void setName(QName value)
Sets the value of the name property.- Parameters:
value- allowed object isQName
-
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- Overrides:
toStringin classAnyValueType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode- Overrides:
hashCodein classAnyValueType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAnyValueType
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals- Overrides:
equalsin classAnyValueType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAnyValueType
-
name
public NamedValueType name(QName value)
-
value
public NamedValueType value(Object value)
- Overrides:
valuein classAnyValueType
-
textValue
public NamedValueType textValue(String value)
- Overrides:
textValuein classAnyValueType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classAnyValueType
-
clone
public NamedValueType clone()
Creates and returns a deep copy of this object.- Overrides:
clonein classAnyValueType- Returns:
- A deep copy of this object.
-
-