|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Option
Defines a common interface for Option objects.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
java.lang.String[] |
getAllowedValues()
Gets the values allowed to be set on this option. |
java.lang.String |
getDefaultValue()
Gets the default value of the option to use when the user input value is null. |
java.lang.String |
getName()
Gets the name of the option. |
java.lang.String |
getRawValue()
Gets the user input value of the option. |
java.lang.String |
getValue()
Gets the value of the option, either the user input or the default in the user input is null. |
void |
setDefaultValue(java.lang.String pValue)
Sets the default value of the option to use when the user input value is null. |
void |
setName(java.lang.String pValue)
Sets the name of the option. |
void |
setRawValue(java.lang.String pValue)
Sets the user input value of the option. |
void |
setValue(java.lang.String pValue)
Sets the user input value of the option |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.lang.String getDefaultValue()
void setDefaultValue(java.lang.String pValue)
pValue
- The String value of the option.java.lang.String getName()
void setName(java.lang.String pValue)
pValue
- The name of the option.java.lang.String getRawValue()
void setRawValue(java.lang.String pValue)
pValue
- The user input value of the option.java.lang.String getValue()
void setValue(java.lang.String pValue)
pValue
- The String value of the option.java.lang.String[] getAllowedValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |