public class KeyValueType extends Object
Java class for KeyValueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="KeyValueType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Key" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
key |
protected String |
value |
Constructor and Description |
---|
KeyValueType() |
Modifier and Type | Method and Description |
---|---|
static KeyValueType |
create(String key,
String value)
Create a new instance
|
String |
getKey()
Gets the value of the key property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setValue(String value)
Sets the value of the value property.
|
public String getKey()
String
public void setKey(String value)
value
- allowed object is String
public String getValue()
String
public void setValue(String value)
value
- allowed object is String
public static KeyValueType create(String key, String value)
key
- value
- Copyright © 2017 JBoss by Red Hat. All rights reserved.