com.mysema.query.sql.types
Class StringType

java.lang.Object
  extended by com.mysema.query.sql.types.StringType
All Implemented Interfaces:
Type<String>

public class StringType
extends Object
implements Type<String>

Author:
tiwe

Constructor Summary
StringType()
           
 
Method Summary
 Class<String> getReturnedClass()
           
 int[] getSQLTypes()
           
 String getValue(ResultSet rs, int startIndex)
           
 void setValue(PreparedStatement st, int startIndex, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringType

public StringType()
Method Detail

getValue

public String getValue(ResultSet rs,
                       int startIndex)
                throws SQLException
Specified by:
getValue in interface Type<String>
Throws:
SQLException

getReturnedClass

public Class<String> getReturnedClass()
Specified by:
getReturnedClass in interface Type<String>

setValue

public void setValue(PreparedStatement st,
                     int startIndex,
                     String value)
              throws SQLException
Specified by:
setValue in interface Type<String>
Throws:
SQLException

getSQLTypes

public int[] getSQLTypes()
Specified by:
getSQLTypes in interface Type<String>


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