Interface ConverterDescriptor
-
- All Known Implementing Classes:
AbstractConverterDescriptor,ClassBasedConverterDescriptor,InstanceBasedConverterDescriptor
public interface ConverterDescriptorBoot-time descriptor of a JPA AttributeConverter
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_NAME_PREFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JpaAttributeConverter<?,?>createJpaAttributeConverter(JpaAttributeConverterCreationContext context)Factory for the runtime representation of the converterClass<? extends 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 typedefault booleanoverrideable()Can this converter be overridden by other competing converters?
-
-
-
Field Detail
-
TYPE_NAME_PREFIX
static final String TYPE_NAME_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttributeConverterClass
Class<? extends 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
-
overrideable
default boolean overrideable()
Can this converter be overridden by other competing converters?
-
-