public static class SimpleMetadataType.Field extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected String |
value |
| Constructor and Description |
|---|
SimpleMetadataType.Field() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
String |
getKey()
Gets the value of the key property.
|
String |
getValue()
Gets the value of the value property.
|
boolean |
isSetKey() |
boolean |
isSetValue() |
void |
setKey(String value)
Sets the value of the key property.
|
void |
setValue(String value)
Sets the value of the value property.
|
SimpleMetadataType.Field |
withKey(String value) |
SimpleMetadataType.Field |
withValue(String value) |
public void setKey(String value)
value - allowed object is
Stringpublic boolean isSetKey()
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic boolean isSetValue()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic SimpleMetadataType.Field withKey(String value)
public SimpleMetadataType.Field withValue(String value)
Copyright © 2015. All rights reserved.