接口 ConverterDescriptor
-
- 所有已知实现类:
AbstractConverterDescriptor,ClassBasedConverterDescriptor,InstanceBasedConverterDescriptor
public interface ConverterDescriptorBoot-time descriptor of a JPA AttributeConverter- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 JpaAttributeConvertercreateJpaAttributeConverter(JpaAttributeConverterCreationContext context)Factory for the runtime representation of the converterClass<? extends javax.persistence.AttributeConverter>getAttributeConverterClass()The AttributeConverter classAutoApplicableConverterDescriptorgetAutoApplyDescriptor()Get the auto-apply checker for this converter.com.fasterxml.classmate.ResolvedTypegetDomainValueResolvedType()The resolved Classmate type descriptor for the conversion's domain typecom.fasterxml.classmate.ResolvedTypegetRelationalValueResolvedType()The resolved Classmate type descriptor for the conversion's relational type
-
-
-
方法详细资料
-
getAttributeConverterClass
Class<? extends javax.persistence.AttributeConverter> getAttributeConverterClass()
The AttributeConverter class
-
getDomainValueResolvedType
com.fasterxml.classmate.ResolvedType getDomainValueResolvedType()
The resolved Classmate type descriptor for the conversion's domain type
-
getRelationalValueResolvedType
com.fasterxml.classmate.ResolvedType getRelationalValueResolvedType()
The resolved Classmate type descriptor for the conversion's relational type
-
getAutoApplyDescriptor
AutoApplicableConverterDescriptor getAutoApplyDescriptor()
Get the auto-apply checker for this converter. Should never return `null` - preferAutoApplicableConverterDescriptorBypassedImpl.INSTANCEinstead.
-
createJpaAttributeConverter
JpaAttributeConverter createJpaAttributeConverter(JpaAttributeConverterCreationContext context)
Factory for the runtime representation of the converter
-
-