AROM-2_2_13

helix.util.ui.parameters
Class FloatConstraint

java.lang.Object
  |
  +--helix.util.ui.parameters.FloatConstraint
All Implemented Interfaces:
Constraints

public class FloatConstraint
extends Object
implements Constraints


Constructor Summary
FloatConstraint()
           
 
Method Summary
 String getErrorMessage()
          Returns the error message related to last isValid error.
 boolean isValid(Object value)
          Returns true if value is a Float object or could be parse into Float.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatConstraint

public FloatConstraint()
Method Detail

isValid

public boolean isValid(Object value)
Returns true if value is a Float object or could be parse into Float.

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:

AROM-2_2_13