|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcommando.Option
This class encapsulates the state of an 'option' specified in a JCommando XML file.
Constructor Summary | |
Option()
Default constructor. |
Method Summary | |
java.lang.String |
getDescription()
Get the textual description of this option. |
java.lang.String |
getId()
Get the unique identifier for this option. |
java.lang.String |
getLongMnemonic()
Get the long form of this option. |
double |
getMax()
Get the maximum valid value of this option. |
double |
getMin()
Get the minumum valid value of this option. |
java.lang.String |
getOptionType()
Get the Java type of this option. |
java.lang.String |
getShortMnemonic()
Get the short form of this option. |
void |
setDescription(java.lang.String desc)
Set the textual description of this option. |
void |
setId(java.lang.String optionId)
Set the unique identifier for this option. |
void |
setLongMnemonic(java.lang.String lMnemonic)
Set the long form of this option. |
void |
setMax(double d)
Set the maximum valid value of this option. |
void |
setMin(double d)
Set the minumum valid value of this option. |
void |
setOptionType(java.lang.String type)
Set the Java type of this option. |
void |
setShortMnemonic(java.lang.String sMnemonic)
Set the short form of this option. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Option()
Method Detail |
public java.lang.String getDescription()
public java.lang.String getLongMnemonic()
public java.lang.String getOptionType()
public java.lang.String getShortMnemonic()
public void setDescription(java.lang.String desc)
desc
- The description to set.public void setLongMnemonic(java.lang.String lMnemonic)
lMnemonic
- The longMnemonic to set.public void setOptionType(java.lang.String type)
type
- The optionType to set.public void setShortMnemonic(java.lang.String sMnemonic)
sMnemonic
- The shortMnemonic to set.public java.lang.String getId()
public void setId(java.lang.String optionId)
optionId
- The id to set.public double getMax()
public void setMax(double d)
d
- The max to set.public double getMin()
public void setMin(double d)
d
- The min to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |