net.sf.farrago.test
Class FarragoJdbcTest.TestSqlIntegralType

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

private static class FarragoJdbcTest.TestSqlIntegralType
extends FarragoJdbcTest.TestSqlType

Defines class for testing integral sql type


Field Summary
(package private)  long max
           
(package private)  long min
           
 
Fields inherited from class net.sf.farrago.test.FarragoJdbcTest.TestSqlType
BADFORMAT, exceptionPatterns, INVALID, NOTNULLABLE, OUTOFRANGE, TOOLONG, VALID, validityName
 
Constructor Summary
FarragoJdbcTest.TestSqlIntegralType(int ordinal, String example, long min, long 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

long min

max

long max
Constructor Detail

FarragoJdbcTest.TestSqlIntegralType

FarragoJdbcTest.TestSqlIntegralType(int ordinal,
                                    String example,
                                    long min,
                                    long max)
Method Detail

checkIsValid

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