Class AttributeConversionInfo
- java.lang.Object
-
- org.hibernate.boot.model.internal.AttributeConversionInfo
-
public class AttributeConversionInfo extends Object
Describes a conversion- See Also:
AttributeConverter,Convert
-
-
Constructor Summary
Constructors Constructor Description AttributeConversionInfo(Convert convertAnnotation, org.hibernate.annotations.common.reflection.XAnnotatedElement xAnnotatedElement)AttributeConversionInfo(Class<? extends AttributeConverter<?,?>> converterClass, boolean conversionDisabled, String attributeName, org.hibernate.annotations.common.reflection.XAnnotatedElement source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttributeName()The name of the attribute to which the conversion applies.Class<? extends AttributeConverter<?,?>>getConverterClass()The converter implementation classorg.hibernate.annotations.common.reflection.XAnnotatedElementgetSource()The annotated elementbooleanisConversionDisabled()Whether conversion is explicitly disabled for this attribute
-
-
-
Constructor Detail
-
AttributeConversionInfo
public AttributeConversionInfo(Class<? extends AttributeConverter<?,?>> converterClass, boolean conversionDisabled, String attributeName, org.hibernate.annotations.common.reflection.XAnnotatedElement source)
-
AttributeConversionInfo
public AttributeConversionInfo(Convert convertAnnotation, org.hibernate.annotations.common.reflection.XAnnotatedElement xAnnotatedElement)
-
-
Method Detail
-
getAttributeName
public String getAttributeName()
The name of the attribute to which the conversion applies.- See Also:
Convert.attributeName()
-
getConverterClass
public Class<? extends AttributeConverter<?,?>> getConverterClass()
The converter implementation class
-
isConversionDisabled
public boolean isConversionDisabled()
Whether conversion is explicitly disabled for this attribute
-
getSource
public org.hibernate.annotations.common.reflection.XAnnotatedElement getSource()
The annotated element
-
-