类 AbstractJavaSqlTypeMapper<E>

java.lang.Object
cn.featherfly.common.db.mapping.AbstractJavaSqlTypeMapper<E>
类型参数:
E - the element type
所有已实现的接口:
JavaSqlTypeMapper<E>
直接已知子类:
AbstractBeanPropertyJavaSqlTypeMapper, AbstractGenericJavaSqlTypeMapper, ObjectToJsonMapper

public 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.
  • 方法概要

    修饰符和类型 方法 说明
    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.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 cn.featherfly.common.db.mapping.JavaSqlTypeMapper

    get, getJavaType, getSqlType, set, support
  • 构造器详细资料

    • AbstractJavaSqlTypeMapper

      protected AbstractJavaSqlTypeMapper​(cn.featherfly.common.lang.GenericType<E> genericType)
      Instantiates a new abstract java sql type mapper.
      参数:
      genericType - the generic type
  • 方法详细资料

    • setGenericType

      protected void setGenericType​(cn.featherfly.common.lang.GenericType<E> genericType)
      设置genericType.
      参数:
      genericType - genericType
    • getGenericType

      public cn.featherfly.common.lang.GenericType<E> getGenericType()
      返回genericType.
      返回:
      genericType
    • getJavaType

      public java.lang.Class<E> getJavaType()
      Gets the java type.
      返回:
      the java type
    • support

      public boolean support​(cn.featherfly.common.lang.GenericType<E> type)
      Support.
      指定者:
      support 在接口中 JavaSqlTypeMapper<E>
      参数:
      type - the type
      返回:
      true, if successful