* @see net.sf.validatedattrib.constraint.Constraint#validate(java.lang.Object)
*/
public void validate(Object newValue) throws ValidationException {
Double d = (Double) newValue;
if (d.doubleValue() > max) {
throw new ValidationException(">" + max + "!");
}
if (d.doubleValue() < min) {
throw new ValidationException("<" + min + "!");
}
}