Class AbstractConverterDescriptor
- java.lang.Object
-
- org.hibernate.boot.model.convert.internal.AbstractConverterDescriptor
-
- All Implemented Interfaces:
ConverterDescriptor
- Direct Known Subclasses:
ClassBasedConverterDescriptor
,InstanceBasedConverterDescriptor
public abstract class AbstractConverterDescriptor extends Object implements ConverterDescriptor
-
-
Field Summary
-
Fields inherited from interface org.hibernate.boot.model.convert.spi.ConverterDescriptor
TYPE_NAME_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractConverterDescriptor(Class<? extends AttributeConverter<?,?>> converterClass, Boolean forceAutoApply, ClassmateContext classmateContext)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description JpaAttributeConverter<?,?>
createJpaAttributeConverter(JpaAttributeConverterCreationContext context)
Factory for the runtime representation of the converterprotected abstract ManagedBean<? extends AttributeConverter<?,?>>
createManagedBean(JpaAttributeConverterCreationContext context)
Class<? 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 type-
Methods 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 Detail
-
AbstractConverterDescriptor
public AbstractConverterDescriptor(Class<? extends AttributeConverter<?,?>> converterClass, Boolean forceAutoApply, ClassmateContext classmateContext)
-
-
Method Detail
-
getAttributeConverterClass
public Class<? extends AttributeConverter<?,?>> 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
public AutoApplicableConverterDescriptor 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)
-
-