net.sf.farrago.test
Class FarragoJdbcTest.TestSqlApproxType

java.lang.Object
  extended by net.sf.farrago.test.FarragoJdbcTest.TestSqlType
      extended by net.sf.farrago.test.FarragoJdbcTest.TestSqlApproxType
Enclosing class:
FarragoJdbcTest

private static class FarragoJdbcTest.TestSqlApproxType
extends FarragoJdbcTest.TestSqlType

Defines class for testing approximate sql type


Field Summary
(package private)  double max
           
(package private)  double min
           
 
Fields inherited from class net.sf.farrago.test.FarragoJdbcTest.TestSqlType
BADFORMAT, exceptionPatterns, INVALID, NOTNULLABLE, OUTOFRANGE, TOOLONG, VALID, validityName
 
Constructor Summary
FarragoJdbcTest.TestSqlApproxType(int ordinal, String example, double min, double max)
           
 
Method Summary
 int checkIsValid(Object value, boolean strict)
           
 
Methods inherited from class net.sf.farrago.test.FarragoJdbcTest.TestSqlType
checkIsValid, getExpected, isBetween, isBetween
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

double min

max

double max
Constructor Detail

FarragoJdbcTest.TestSqlApproxType

FarragoJdbcTest.TestSqlApproxType(int ordinal,
                                  String example,
                                  double min,
                                  double max)
Method Detail

checkIsValid

public int checkIsValid(Object value,
                        boolean strict)
Overrides:
checkIsValid in class FarragoJdbcTest.TestSqlType