|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IParameterType
A parameter type for all the commands.
| Method Summary | |
|---|---|
java.lang.Object |
convertParameterValue(java.lang.String strRepresentation)
Converts the string representing the parameter value to the corresponding type value. |
java.lang.String |
getParameterTypeName()
Gets the parameter type name. |
boolean |
validateParameter(java.lang.String value)
Checks if a parameter value is of this type of parameter. |
java.lang.String |
validationMessage(java.lang.String value)
Checks if a parameter value is of this type of parameter and returns a detailed message if the validation fails. |
| Method Detail |
|---|
java.lang.String getParameterTypeName()
boolean validateParameter(java.lang.String value)
the - string to be validated as this parameter type
true if the validation it's right;
false otherwisejava.lang.String validationMessage(java.lang.String value)
the - string to be validated as this parameter type
null if the validation it's right;
a detailed message if something it's wrongjava.lang.Object convertParameterValue(java.lang.String strRepresentation)
strRepresentation - the string representation of the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||