net.sf.validatedattrib.attribute.primitive
Class ValidatedDouble

java.lang.Object
  extended by net.sf.validatedattrib.attribute.AbstractValidatedAttribute
      extended by net.sf.validatedattrib.attribute.primitive.ValidatedDouble

public class ValidatedDouble
extends AbstractValidatedAttribute

Represents the primitive type double.

Author:
Philip May

Field Summary
private  double value
           
 
Constructor Summary
ValidatedDouble()
           
 
Method Summary
 void addConstraint(DoubleConstraint doubleConstraint)
           
 double getValue()
           
 void setValue(double value)
           
 
Methods inherited from class net.sf.validatedattrib.attribute.AbstractValidatedAttribute
addConstraint, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private double value
Constructor Detail

ValidatedDouble

public ValidatedDouble()
Method Detail

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.