Class AbstractConverterDescriptor
java.lang.Object
org.hibernate.boot.model.convert.internal.AbstractConverterDescriptor
- All Implemented Interfaces:
ConverterDescriptor
- Direct Known Subclasses:
ClassBasedConverterDescriptor,InstanceBasedConverterDescriptor
- Author:
- Steve Ebersole
-
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.ResolvedTypeThe resolved Classmate type descriptor for the conversion's domain typecom.fasterxml.classmate.ResolvedTypeThe 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, waitMethods 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:ConverterDescriptorThe AttributeConverter class- Specified by:
getAttributeConverterClassin interfaceConverterDescriptor
-
getDomainValueResolvedType
public com.fasterxml.classmate.ResolvedType getDomainValueResolvedType()Description copied from interface:ConverterDescriptorThe resolved Classmate type descriptor for the conversion's domain type- Specified by:
getDomainValueResolvedTypein interfaceConverterDescriptor
-
getRelationalValueResolvedType
public com.fasterxml.classmate.ResolvedType getRelationalValueResolvedType()Description copied from interface:ConverterDescriptorThe resolved Classmate type descriptor for the conversion's relational type- Specified by:
getRelationalValueResolvedTypein interfaceConverterDescriptor
-
getAutoApplyDescriptor
Description copied from interface:ConverterDescriptorGet the auto-apply checker for this converter. Should never return `null` - preferAutoApplicableConverterDescriptorBypassedImpl.INSTANCEinstead.- Specified by:
getAutoApplyDescriptorin interfaceConverterDescriptor
-
createJpaAttributeConverter
public JpaAttributeConverter<?,?> createJpaAttributeConverter(JpaAttributeConverterCreationContext context) Description copied from interface:ConverterDescriptorFactory for the runtime representation of the converter- Specified by:
createJpaAttributeConverterin interfaceConverterDescriptor
-
createManagedBean
protected abstract ManagedBean<? extends AttributeConverter<?,?>> createManagedBean(JpaAttributeConverterCreationContext context)
-