|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.clientapi.descriptor.configuration.Option
public class Option
Describes an allowed value for an enumerated simple property.
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 Boolean |
_default
|
protected String |
name
|
protected String |
value
|
| Constructor Summary | |
|---|---|
Option()
|
|
| Method Summary | |
|---|---|
String |
getName()
Gets the value of the name property. |
String |
getValue()
Gets the value of the value property. |
boolean |
isDefault()
Gets the value of the default property. |
void |
setDefault(Boolean value)
Sets the value of the default property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setValue(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 |
|---|
protected Boolean _default
protected String name
protected String value
| Constructor Detail |
|---|
public Option()
| Method Detail |
|---|
public boolean isDefault()
Booleanpublic void setDefault(Boolean value)
value - allowed object is
Booleanpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||