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

public Interface ConverterDescriptor

Known Direct Implementers
org.hibernate.boot.model.convert.internal.AbstractConverterDescriptor
Imports
javax.persistence.AttributeConverter, org.hibernate.metamodel.model.convert.spi.JpaAttributeConverter, com.fasterxml.classmate.ResolvedType

Boot-time descriptor of a JPA AttributeConverter
Author
Steve Ebersole

Method Summary

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

Factory for the runtime representation of the converter

public Class<? extends AttributeConverter<X, Y>>
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

Method Detail

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

Factory for the runtime representation of the converter

getAttributeConverterClassback to summary
public Class<? extends AttributeConverter<X, Y>> 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