Class AbstractConverterDescriptor
java.lang.Object
org.hibernate.boot.model.convert.internal.AbstractConverterDescriptor
- All Implemented Interfaces:
ConverterDescriptor
- Direct Known Subclasses:
ClassBasedConverterDescriptor
,InstanceBasedConverterDescriptor
-
Field Summary
Fields inherited from interface org.hibernate.boot.model.convert.spi.ConverterDescriptor
TYPE_NAME_PREFIX
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractConverterDescriptor
(Class<? extends AttributeConverter<?, ?>> converterClass, Boolean forceAutoApply, ClassmateContext classmateContext) -
Method Summary
Modifier and TypeMethodDescriptionFactory for the runtime representation of the converterprotected abstract ManagedBean<? extends AttributeConverter<?,
?>> Class<? 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 typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.boot.model.convert.spi.ConverterDescriptor
overrideable
-
Constructor Details
-
AbstractConverterDescriptor
public AbstractConverterDescriptor(Class<? extends AttributeConverter<?, ?>> converterClass, Boolean forceAutoApply, ClassmateContext classmateContext)
-
-
Method Details
-
getAttributeConverterClass
Description copied from interface:ConverterDescriptor
The AttributeConverter class- Specified by:
getAttributeConverterClass
in interfaceConverterDescriptor
-
getDomainValueResolvedType
public com.fasterxml.classmate.ResolvedType getDomainValueResolvedType()Description copied from interface:ConverterDescriptor
The resolved Classmate type descriptor for the conversion's domain type- Specified by:
getDomainValueResolvedType
in interfaceConverterDescriptor
-
getRelationalValueResolvedType
public com.fasterxml.classmate.ResolvedType getRelationalValueResolvedType()Description copied from interface:ConverterDescriptor
The resolved Classmate type descriptor for the conversion's relational type- Specified by:
getRelationalValueResolvedType
in interfaceConverterDescriptor
-
getAutoApplyDescriptor
Description copied from interface:ConverterDescriptor
Get the auto-apply checker for this converter. Should never return `null` - preferAutoApplicableConverterDescriptorBypassedImpl.INSTANCE
instead.- Specified by:
getAutoApplyDescriptor
in interfaceConverterDescriptor
-
createJpaAttributeConverter
public JpaAttributeConverter<?,?> createJpaAttributeConverter(JpaAttributeConverterCreationContext context) Description copied from interface:ConverterDescriptor
Factory for the runtime representation of the converter- Specified by:
createJpaAttributeConverter
in interfaceConverterDescriptor
-
createManagedBean
protected abstract ManagedBean<? extends AttributeConverter<?,?>> createManagedBean(JpaAttributeConverterCreationContext context)
-