public class PropertyValue extends Object
We don't generate this class from the schema because we need the XmlJavaTypeAdapter
annotation on the
metaData
field. We tried various ways to add the XmlJavaTypeAdapter
annotation to the
schema-generated class from the separate bindings file but none succeeded.
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
metaData |
protected Object |
value |
Constructor and Description |
---|
PropertyValue()
Default constructor.
|
PropertyValue(Object value)
Creates a new instance with the specified value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Map<String,Object> |
getMetaData() |
Object |
getValue() |
int |
hashCode() |
void |
setMetaData(Map<String,Object> value)
Sets the meta data associated with the property value.
|
void |
setValue(Object value)
Sets the property value.
|
String |
toString() |
public PropertyValue()
public PropertyValue(Object value)
value
- the actual property valuepublic Object getValue()
public void setValue(Object value)
value
- the new property valuepublic Map<String,Object> getMetaData()
public void setMetaData(Map<String,Object> value)
value
- the new meta dataCopyright © 2004–2021 XWiki. All rights reserved.