|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.clientapi.descriptor.configuration.PropertyOptions
public class PropertyOptions
Contains the elements of an enumerated property.
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>
| Field Summary | |
|---|---|
protected java.lang.Boolean |
allowCustomValue
|
protected java.util.List<Option> |
option
|
| Constructor Summary | |
|---|---|
PropertyOptions()
|
|
| Method Summary | |
|---|---|
java.util.List<Option> |
getOption()
Gets the value of the option property. |
boolean |
isAllowCustomValue()
Gets the value of the allowCustomValue property. |
void |
setAllowCustomValue(java.lang.Boolean value)
Sets the value of the allowCustomValue property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<Option> option
protected java.lang.Boolean allowCustomValue
| Constructor Detail |
|---|
public PropertyOptions()
| Method Detail |
|---|
public java.util.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()
Booleanpublic void setAllowCustomValue(java.lang.Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||