public class PropertyOptions extends Object
Java class for propertyOptions complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="propertyOptions">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="option" type="{urn:xmlns:rhq-configuration}option" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="allowCustomValue" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowCustomValue |
protected List<Option> |
option |
| Constructor and Description |
|---|
PropertyOptions() |
| Modifier and Type | Method and Description |
|---|---|
List<Option> |
getOption()
Gets the value of the option property.
|
boolean |
isAllowCustomValue()
Gets the value of the allowCustomValue property.
|
void |
setAllowCustomValue(Boolean value)
Sets the value of the allowCustomValue property.
|
protected Boolean allowCustomValue
public List<Option> getOption()
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 option property.
For example, to add a new item, do as follows:
getOption().add(newItem);
Objects of the following type(s) are allowed in the list
Option
public boolean isAllowCustomValue()
BooleanCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.