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

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

public class Option
extends java.lang.Object

Used to describe items available in a property with a list type.

Java class for option complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="option">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="default" default="false">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}boolean">
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="name">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="value" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Boolean _default
           
protected  java.lang.String name
           
protected  java.lang.String value
           
 
Constructor Summary
Option()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getValue()
          Gets the value of the value property.
 boolean isDefault()
          Gets the value of the default property.
 void setDefault(java.lang.Boolean value)
          Sets the value of the default property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_default

protected java.lang.Boolean _default

name

protected java.lang.String name

value

protected java.lang.String value
Constructor Detail

Option

public Option()
Method Detail

isDefault

public boolean isDefault()
Gets the value of the default property.

Returns:
possible object is Boolean

setDefault

public void setDefault(java.lang.Boolean value)
Sets the value of the default property.

Parameters:
value - allowed object is Boolean

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getValue

public java.lang.String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - allowed object is String


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