Interface ConverterDescriptor
-
- All Known Implementing Classes:
AbstractConverterDescriptor
,ClassBasedConverterDescriptor
,InstanceBasedConverterDescriptor
public interface ConverterDescriptor
Boot-time descriptor of a JPA AttributeConverter
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_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 classAutoApplicableConverterDescriptor
getAutoApplyDescriptor()
Get the auto-apply checker for this converter.com.fasterxml.classmate.ResolvedType
getDomainValueResolvedType()
The resolved Classmate type descriptor for the conversion's domain typecom.fasterxml.classmate.ResolvedType
getRelationalValueResolvedType()
The resolved Classmate type descriptor for the conversion's relational typedefault boolean
overrideable()
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.INSTANCE
instead.
-
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?
-
-