|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.redstarhackers.craftsman.util.OptionDefinition
public class OptionDefinition
TODO Class summary sentence. Class documentation.
| Constructor Summary | |
|---|---|
OptionDefinition()
|
|
| Method Summary | |
|---|---|
void |
addValue(OptionValueDefinition val)
Add the an option to the options collection. |
boolean |
equals(java.lang.Object rhs)
|
java.lang.String |
getName()
Return the value of the name field. |
java.util.Set |
getValues()
Return the value of the options field. |
java.util.Set |
getValueStrings()
|
boolean |
isAllowMultiple()
Return the value of the required field. |
boolean |
isRequired()
Return the value of the required field. |
void |
setAllowMultiple(boolean val)
Set the value of required. |
void |
setName(java.lang.String val)
Set the value of name. |
void |
setRequired(boolean val)
Set the value of required. |
void |
setValues(java.util.Set val)
Set the value of options. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OptionDefinition()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String val)
val - the new valuepublic boolean isRequired()
public void setRequired(boolean val)
val - the new valuepublic boolean isAllowMultiple()
public void setAllowMultiple(boolean val)
val - the new valuepublic java.util.Set getValues()
public void setValues(java.util.Set val)
val - the new valuepublic void addValue(OptionValueDefinition val)
val - the new Options to addpublic java.util.Set getValueStrings()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||