net.sf.validatedattrib.constraint.primitive
Class ValidatedDoubleMinMaxConstraint

java.lang.Object
  extended by net.sf.validatedattrib.constraint.primitive.ValidatedDoubleMinMaxConstraint
All Implemented Interfaces:
Constraint, DoubleConstraint

public class ValidatedDoubleMinMaxConstraint
extends Object
implements DoubleConstraint

TODO: document me

Author:
Philip May

Field Summary
private  double max
           
private  double min
           
 
Constructor Summary
ValidatedDoubleMinMaxConstraint(double min, double max)
           
 
Method Summary
 void validate(Object newValue)
          TODO: write JavaDoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

private double min

max

private double max
Constructor Detail

ValidatedDoubleMinMaxConstraint

public ValidatedDoubleMinMaxConstraint(double min,
                                       double max)
Method Detail

validate

public void validate(Object newValue)
              throws ValidationException
TODO: write JavaDoc

Specified by:
validate in interface Constraint
Throws:
ValidationException
See Also:
Constraint.validate(java.lang.Object)


Copyright © 2006 Philip May. All Rights Reserved.