public class NamedValueType extends AnyValueType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static ItemName |
F_NAME |
protected QName |
name |
F_TEXT_VALUE, F_VALUE, textValue, value
Constructor and Description |
---|
NamedValueType()
Creates a new
NamedValueType instance. |
NamedValueType(NamedValueType o)
Creates a new
NamedValueType instance by deeply copying a given NamedValueType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
NamedValueType |
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) |
QName |
getName()
Gets the value of the name property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
NamedValueType |
name(QName value) |
void |
setName(QName value)
Sets the value of the name property.
|
NamedValueType |
textValue(String value) |
String |
toString()
Generates a String representation of the contents of this type.
|
NamedValueType |
value(Object value) |
getTextValue, getValue, setTextValue, setValue
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected QName name
public static final QName COMPLEX_TYPE
public static final ItemName F_NAME
public NamedValueType()
NamedValueType
instance.public NamedValueType(NamedValueType o)
NamedValueType
instance by deeply copying a given NamedValueType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public QName getName()
QName
public void setName(QName value)
value
- allowed object is
QName
public String toString()
toString
in class AnyValueType
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
hashCode
in class AnyValueType
public int hashCode()
hashCode
in class AnyValueType
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
equals
in class AnyValueType
public boolean equals(Object object)
equals
in class AnyValueType
public NamedValueType name(QName value)
public NamedValueType value(Object value)
value
in class AnyValueType
public NamedValueType textValue(String value)
textValue
in class AnyValueType
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
accept
in class AnyValueType
public NamedValueType clone()
clone
in class AnyValueType
Copyright © 2021 Evolveum. All rights reserved.