public class XmlAdhocRestriction extends Object
Java class for Restriction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Restriction">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="property" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Property" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected List<XmlAdhocProperty> |
property |
| Constructor and Description |
|---|
XmlAdhocRestriction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the value of the key property.
|
List<XmlAdhocProperty> |
getProperty()
Gets the value of the property property.
|
void |
setKey(String value)
Sets the value of the key property.
|
protected List<XmlAdhocProperty> property
protected String key
public List<XmlAdhocProperty> getProperty()
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 property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
XmlAdhocProperty
public String getKey()
StringCopyright © 2010–2021. All rights reserved.