public class KeyValueStructure extends Object
Java class for KeyValueStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="KeyValueStructure">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Key" type="{http://www.w3.org/2001/XMLSchema}normalizedString"/>
<element name="Value" type="{http://www.w3.org/2001/XMLSchema}normalizedString"/>
</sequence>
<attribute name="typeOfKey" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected String |
typeOfKey |
protected String |
value |
| Constructor and Description |
|---|
KeyValueStructure() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the value of the key property.
|
String |
getTypeOfKey()
Gets the value of the typeOfKey property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setTypeOfKey(String value)
Sets the value of the typeOfKey property.
|
void |
setValue(String value)
Sets the value of the value property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
KeyValueStructure |
withKey(String value) |
KeyValueStructure |
withTypeOfKey(String value) |
KeyValueStructure |
withValue(String value) |
protected String key
protected String value
protected String typeOfKey
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic String getTypeOfKey()
Stringpublic void setTypeOfKey(String value)
value - allowed object is
Stringpublic KeyValueStructure withKey(String value)
public KeyValueStructure withValue(String value)
public KeyValueStructure withTypeOfKey(String value)
Copyright © 2018 Entur AS. All rights reserved.