Package org.xwiki.rest.model.jaxb
Class MapEntry
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.MapEntry
-
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>
-
-
Constructor Summary
Constructors Constructor Description MapEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getKey
public String getKey()
Gets the value of the key property.- Returns:
- possible object is
String
-
setKey
public void setKey(String value)
Sets the value of the key property.- Parameters:
value
- allowed object isString
-
getValue
public Object getValue()
Gets the value of the value property.- Returns:
- possible object is
Object
-
setValue
public void setValue(Object value)
Sets the value of the value property.- Parameters:
value
- allowed object isObject
-
-