helix.util.ui.parameters
Class DoubleConstraint
java.lang.Object
|
+--helix.util.ui.parameters.DoubleConstraint
- All Implemented Interfaces:
- Constraints
- public class DoubleConstraint
- extends Object
- implements Constraints
Method Summary |
String |
getErrorMessage()
Returns the error message related to last isValid error. |
boolean |
isValid(Object value)
Returns true if value is a Double object or could be parse into Double. |
DoubleConstraint
public DoubleConstraint()
isValid
public boolean isValid(Object value)
- Returns true if value is a Double object or could be parse into Double.
- Specified by:
isValid
in interface Constraints
- Parameters:
value
-
- Returns:
- boolean
getErrorMessage
public String getErrorMessage()
- Returns the error message related to last isValid error.
- Specified by:
getErrorMessage
in interface Constraints
- Returns: