public final class JDBCTypeSimple extends Object implements JDBCType
Constructor and Description |
---|
JDBCTypeSimple(String columnName,
Class javaType,
int jdbcType,
String sqlType,
boolean notNull,
boolean autoIncrement,
Mapper mapper,
JDBCParameterSetter paramSetter,
JDBCResultSetReader resultReader) |
Modifier and Type | Method and Description |
---|---|
boolean[] |
getAutoIncrement() |
String[] |
getColumnNames() |
Object |
getColumnValue(int index,
Object value) |
Class[] |
getJavaTypes() |
int[] |
getJDBCTypes() |
boolean[] |
getNotNull() |
JDBCParameterSetter[] |
getParameterSetter() |
JDBCResultSetReader[] |
getResultSetReaders() |
String[] |
getSQLTypes() |
boolean |
hasMapper() |
boolean |
isSearchable() |
Object |
setColumnValue(int index,
Object value,
Object columnValue) |
public JDBCTypeSimple(String columnName, Class javaType, int jdbcType, String sqlType, boolean notNull, boolean autoIncrement, Mapper mapper, JDBCParameterSetter paramSetter, JDBCResultSetReader resultReader)
public String[] getColumnNames()
getColumnNames
in interface JDBCType
public Class[] getJavaTypes()
getJavaTypes
in interface JDBCType
public int[] getJDBCTypes()
getJDBCTypes
in interface JDBCType
public String[] getSQLTypes()
getSQLTypes
in interface JDBCType
public boolean[] getNotNull()
getNotNull
in interface JDBCType
public boolean[] getAutoIncrement()
getAutoIncrement
in interface JDBCType
public Object getColumnValue(int index, Object value)
getColumnValue
in interface JDBCType
public Object setColumnValue(int index, Object value, Object columnValue)
setColumnValue
in interface JDBCType
public boolean isSearchable()
isSearchable
in interface JDBCType
public JDBCResultSetReader[] getResultSetReaders()
getResultSetReaders
in interface JDBCType
public JDBCParameterSetter[] getParameterSetter()
getParameterSetter
in interface JDBCType
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.