com.mysema.query.sql.types
Class AbstractNumberType<T extends Number & Comparable<T>>

java.lang.Object
  extended by com.mysema.query.sql.types.AbstractNumberType<T>
Type Parameters:
T -
All Implemented Interfaces:
Type<T>
Direct Known Subclasses:
ByteType, DoubleType, FloatType, IntegerType, LongType, ShortType

public abstract class AbstractNumberType<T extends Number & Comparable<T>>
extends Object
implements Type<T>

Author:
tiwe

Constructor Summary
AbstractNumberType()
           
 
Method Summary
 T getValue(ResultSet rs, int startIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mysema.query.sql.types.Type
getReturnedClass, getSQLTypes, setValue
 

Constructor Detail

AbstractNumberType

public AbstractNumberType()
Method Detail

getValue

public T getValue(ResultSet rs,
                  int startIndex)
                                         throws SQLException
Specified by:
getValue in interface Type<T extends Number & Comparable<T>>
Throws:
SQLException


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.