public class MapEntry extends Object
Java class for MapEntry complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MapEntry"> <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}anyType"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
key |
protected Object |
value |
Constructor and Description |
---|
MapEntry() |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Gets the value of the key property.
|
Object |
getValue()
Gets the value of the value property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setValue(Object value)
Sets the value of the value property.
|
MapEntry |
withKey(String value) |
MapEntry |
withValue(Object value) |
public String getKey()
String
public void setKey(String value)
value
- allowed object is
String
public Object getValue()
Object
public void setValue(Object value)
value
- allowed object is
Object
Copyright © 2004–2021 XWiki. All rights reserved.