E - the element typepublic abstract class AbstractJavaSqlTypeMapper<E> extends java.lang.Object implements JavaSqlTypeMapper<E>
AbstractGenericSqlTypeToJavaRegister
.| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractJavaSqlTypeMapper(cn.featherfly.common.lang.GenericType<E> genericType)
Instantiates a new abstract java sql type mapper.
|
| 限定符和类型 | 方法和说明 |
|---|---|
AbstractJavaSqlTypeMapper<E> |
addAllow(java.lang.String tableName,
java.lang.String columnName)
Adds the allow.
|
AbstractJavaSqlTypeMapper<E> |
addDeny(java.lang.String tableName,
java.lang.String columnName)
Adds the deny.
|
cn.featherfly.common.lang.GenericType<E> |
getGenericType()
返回genericType.
|
java.lang.Class<E> |
getJavaType()
Gets the java type.
|
protected void |
setGenericType(cn.featherfly.common.lang.GenericType<E> genericType)
设置genericType.
|
boolean |
support(cn.featherfly.common.lang.GenericType<E> type)
Support.
|
protected abstract boolean |
support(java.sql.SQLType sqlType)
Support.
|
boolean |
support(java.sql.SQLType sqlType,
java.lang.String tableName,
java.lang.String columnName)
Support.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, setprotected AbstractJavaSqlTypeMapper(cn.featherfly.common.lang.GenericType<E> genericType)
genericType - the generic typeprotected void setGenericType(cn.featherfly.common.lang.GenericType<E> genericType)
genericType - genericTypepublic cn.featherfly.common.lang.GenericType<E> getGenericType()
public java.lang.Class<E> getJavaType()
public boolean support(cn.featherfly.common.lang.GenericType<E> type)
support 在接口中 JavaSqlTypeMapper<E>type - the typeprotected abstract boolean support(java.sql.SQLType sqlType)
sqlType - the sql typepublic boolean support(java.sql.SQLType sqlType,
java.lang.String tableName,
java.lang.String columnName)
support 在接口中 JavaSqlTypeMapper<E>sqlType - the sql typetableName - the table namecolumnName - the column namepublic AbstractJavaSqlTypeMapper<E> addAllow(java.lang.String tableName, java.lang.String columnName)
tableName - the table namecolumnName - the column namepublic AbstractJavaSqlTypeMapper<E> addDeny(java.lang.String tableName, java.lang.String columnName)
tableName - the table namecolumnName - the column name