类 AttributeConverterTypeAdapter<T>
- java.lang.Object
-
- org.hibernate.type.AbstractStandardBasicType<T>
-
- org.hibernate.type.AbstractSingleColumnStandardBasicType<T>
-
- org.hibernate.type.descriptor.converter.AttributeConverterTypeAdapter<T>
-
- 所有已实现的接口:
Serializable,BasicType,ProcedureParameterExtractionAware<T>,ProcedureParameterNamedBinder,SingleColumnType<T>,StringRepresentableType<T>,Type
public class AttributeConverterTypeAdapter<T> extends AbstractSingleColumnStandardBasicType<T>
Adapts the Hibernate Type contract to incorporate JPA AttributeConverter calls.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringNAME_PREFIX
-
构造器概要
构造器 构造器 说明 AttributeConverterTypeAdapter(String name, String description, JpaAttributeConverter<? extends T,?> attributeConverter, SqlTypeDescriptor sqlTypeDescriptorAdapter, Class modelType, Class jdbcType, JavaTypeDescriptor<T> entityAttributeJavaTypeDescriptor)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JpaAttributeConverter<? extends T,?>getAttributeConverter()ClassgetJdbcType()ClassgetModelType()protected MutabilityPlan<T>getMutabilityPlan()StringgetName()Returns the abbreviated name of the type.StringtoString()-
从类继承的方法 org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSet, sqlType
-
从类继承的方法 org.hibernate.type.AbstractStandardBasicType
assemble, beforeAssemble, canDoExtraction, canDoSetting, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, extract, extract, fromString, fromStringValue, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getRegistrationKeys, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeSet, registerUnderJavaType, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, sqlTypes, toColumnNullness, toLoggableString, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.type.SingleColumnType
fromStringValue, get, nullSafeGet, set, toString
-
从接口继承的方法 org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeGet, nullSafeGet, nullSafeSet, replace, replace, resolve, resolve, semiResolve, sqlTypes, toColumnNullness, toLoggableString
-
-
-
-
构造器详细资料
-
AttributeConverterTypeAdapter
public AttributeConverterTypeAdapter(String name, String description, JpaAttributeConverter<? extends T,?> attributeConverter, SqlTypeDescriptor sqlTypeDescriptorAdapter, Class modelType, Class jdbcType, JavaTypeDescriptor<T> entityAttributeJavaTypeDescriptor)
-
-
方法详细资料
-
getName
public String getName()
从接口复制的说明:TypeReturns the abbreviated name of the type.- 返回:
- String the Hibernate type name
-
getModelType
public Class getModelType()
-
getJdbcType
public Class getJdbcType()
-
getAttributeConverter
public JpaAttributeConverter<? extends T,?> getAttributeConverter()
-
getMutabilityPlan
protected MutabilityPlan<T> getMutabilityPlan()
- 覆盖:
getMutabilityPlan在类中AbstractStandardBasicType<T>
-
-