Interface ConverterDescriptor
- All Known Implementing Classes:
AbstractConverterDescriptor
,ClassBasedConverterDescriptor
,InstanceBasedConverterDescriptor
public interface ConverterDescriptor
Boot-time descriptor of a JPA AttributeConverter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionFactory for the runtime representation of the converterClass<? extends AttributeConverter<?,
?>> The AttributeConverter classGet the auto-apply checker for this converter.com.fasterxml.classmate.ResolvedType
The resolved Classmate type descriptor for the conversion's domain typecom.fasterxml.classmate.ResolvedType
The resolved Classmate type descriptor for the conversion's relational typedefault boolean
Can this converter be overridden by other competing converters?
-
Field Details
-
TYPE_NAME_PREFIX
- See Also:
-
-
Method Details
-
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?
-