Top Description Fields Methods
org.hibernate.boot.model.convert.spi

public Interface ConverterDescriptor

Known Direct Implementers
org.hibernate.boot.model.convert.spi.RegisteredConversion.ConverterDescriptorImpl, org.hibernate.mapping.BasicValue.ReversedConverterDescriptor, org.hibernate.boot.model.convert.internal.AbstractConverterDescriptor
Imports
org.hibernate.type.descriptor.converter.spi.JpaAttributeConverter, com.fasterxml.classmate.ResolvedType, jakarta.persistence.AttributeConverter

Boot-time descriptor of a JPA AttributeConverter
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String

Method Summary

Modifier and TypeMethod and Description
public JpaAttributeConverter<?, ?>
createJpaAttributeConverter(JpaAttributeConverterCreationContext context)

Factory for the runtime representation of the converter

public Class<? extends AttributeConverter<?, ?>>
getAttributeConverterClass()

The AttributeConverter class

public AutoApplicableConverterDescriptor
getAutoApplyDescriptor()

Get the auto-apply checker for this converter.

public ResolvedType
getDomainValueResolvedType()

The resolved Classmate type descriptor for the conversion's domain type

public ResolvedType
getRelationalValueResolvedType()

The resolved Classmate type descriptor for the conversion's relational type

public default boolean
overrideable()

Can this converter be overridden by other competing converters?

Field Detail

TYPE_NAME_PREFIXback to summary
public static final String TYPE_NAME_PREFIX

Method Detail

createJpaAttributeConverterback to summary
public JpaAttributeConverter<?, ?> createJpaAttributeConverter(JpaAttributeConverterCreationContext context)

Factory for the runtime representation of the converter

getAttributeConverterClassback to summary
public Class<? extends AttributeConverter<?, ?>> getAttributeConverterClass()

The AttributeConverter class

getAutoApplyDescriptorback to summary
public AutoApplicableConverterDescriptor getAutoApplyDescriptor()

Get the auto-apply checker for this converter. Should never return `null` - prefer org.hibernate.boot.model.convert.internal.AutoApplicableConverterDescriptorBypassedImpl#INSTANCE instead.

getDomainValueResolvedTypeback to summary
public ResolvedType getDomainValueResolvedType()

The resolved Classmate type descriptor for the conversion's domain type

getRelationalValueResolvedTypeback to summary
public ResolvedType getRelationalValueResolvedType()

The resolved Classmate type descriptor for the conversion's relational type

overrideableback to summary
public default boolean overrideable()

Can this converter be overridden by other competing converters?