org.rhq.core.clientapi.descriptor.configuration
Class PropertyOptions

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.configuration.PropertyOptions

public class PropertyOptions
extends java.lang.Object

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

option

protected java.util.List<Option> option

allowCustomValue

protected java.lang.Boolean allowCustomValue
Constructor Detail

PropertyOptions

public PropertyOptions()
Method Detail

getOption

public java.util.List<Option> getOption()
Gets the value of the option property.

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


isAllowCustomValue

public boolean isAllowCustomValue()
Gets the value of the allowCustomValue property.

Returns:
possible object is Boolean

setAllowCustomValue

public void setAllowCustomValue(java.lang.Boolean value)
Sets the value of the allowCustomValue property.

Parameters:
value - allowed object is Boolean


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.