public class Property extends Object
Java class for Property complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Property"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected String |
name |
protected String |
value |
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getName()
Gets the value of the name property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setValue(String value)
Sets the value of the value property.
|
public String getName()
String
public void setName(String value)
value
- allowed object is String
public String getValue()
String
public void setValue(String value)
value
- allowed object is String
public List<Object> getAny()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object. This is why there is not a set
method for the any
property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list Object
Copyright © 2014. All rights reserved.