net.sf.validatedattrib.attribute.primitive
Class ValidatedDouble
java.lang.Object
net.sf.validatedattrib.attribute.AbstractValidatedAttribute
net.sf.validatedattrib.attribute.primitive.ValidatedDouble
public class ValidatedDouble
- extends AbstractValidatedAttribute
Represents the primitive type double.
- Author:
- Philip May
|
Field Summary |
private double |
value
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private double value
ValidatedDouble
public ValidatedDouble()
getValue
public double getValue()
- Returns:
- the value
setValue
public void setValue(double value)
throws ValidationException
- Parameters:
value - the value to set
- Throws:
ValidationException
addConstraint
public void addConstraint(DoubleConstraint doubleConstraint)
Copyright © 2006 Philip May. All Rights Reserved.