Top Description Fields Constructors Methods
org.hibernate.boot.model.internal

public Class AttributeConversionInfo

extends Object
Class Inheritance
Imports
org.hibernate.annotations.common.reflection.XAnnotatedElement, jakarta.persistence.AttributeConverter, .Convert

Describes a conversion
Author
Steve Ebersole
See Also
AttributeConverter, Convert

Field Summary

Modifier and TypeField and Description
private final String
private final boolean
private final Class<? extends AttributeConverter<?, ?>>
private final XAnnotatedElement

Constructor Summary

AccessConstructor and Description
public
AttributeConversionInfo(Class<? extends AttributeConverter<?, ?>> converterClass, boolean conversionDisabled, String attributeName, XAnnotatedElement source)

public
AttributeConversionInfo(Convert convertAnnotation, XAnnotatedElement xAnnotatedElement)

Method Summary

Modifier and TypeMethod and Description
public String
getAttributeName()

The name of the attribute to which the conversion applies.

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

The converter implementation class

public XAnnotatedElement
getSource()

The annotated element

public boolean
isConversionDisabled()

Whether conversion is explicitly disabled for this attribute

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributeNameback to summary
private final String attributeName
conversionDisabledback to summary
private final boolean conversionDisabled
converterClassback to summary
private final Class<? extends AttributeConverter<?, ?>> converterClass
sourceback to summary
private final XAnnotatedElement source

Constructor Detail

AttributeConversionInfoback to summary
public AttributeConversionInfo(Class<? extends AttributeConverter<?, ?>> converterClass, boolean conversionDisabled, String attributeName, XAnnotatedElement source)
AttributeConversionInfoback to summary
public AttributeConversionInfo(Convert convertAnnotation, XAnnotatedElement xAnnotatedElement)
Annotations
@SuppressWarnings:unchecked

Method Detail

getAttributeNameback to summary
public String getAttributeName()

The name of the attribute to which the conversion applies.

See Also
Convert#attributeName()
getConverterClassback to summary
public Class<? extends AttributeConverter<?, ?>> getConverterClass()

The converter implementation class

getSourceback to summary
public XAnnotatedElement getSource()

The annotated element

isConversionDisabledback to summary
public boolean isConversionDisabled()

Whether conversion is explicitly disabled for this attribute