ConverterDescriptor instead@Deprecated public class AttributeConverterDefinition extends Object implements AttributeConverterInfo
| Constructor and Description |
|---|
AttributeConverterDefinition(AttributeConverter attributeConverter,
boolean autoApply)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeConverterDefinition |
from(AttributeConverter attributeConverter)
Deprecated.
Build an AttributeConverterDefinition from an AttributeConverter instance.
|
static AttributeConverterDefinition |
from(AttributeConverter attributeConverter,
boolean autoApply)
Deprecated.
Build an AttributeConverterDefinition from the AttributeConverter instance and
whether or not to auto-apply it.
|
static AttributeConverterDefinition |
from(Class<? extends AttributeConverter> attributeConverterClass)
Deprecated.
Build an AttributeConverterDefinition from the AttributeConverter Class reference.
|
static AttributeConverterDefinition |
from(Class<? extends AttributeConverter> attributeConverterClass,
boolean autoApply)
Deprecated.
Build an AttributeConverterDefinition from the AttributeConverter Class reference and
whether or not to auto-apply it.
|
AttributeConverter |
getAttributeConverter()
Deprecated.
|
Class<? extends AttributeConverter> |
getConverterClass()
Deprecated.
|
Class |
getDatabaseColumnType()
Deprecated.
|
Class |
getEntityAttributeType()
Deprecated.
|
boolean |
isAutoApply()
Deprecated.
|
ConverterDescriptor |
toConverterDescriptor(MetadataBuildingContext context)
Deprecated.
|
String |
toString()
Deprecated.
|
public AttributeConverterDefinition(AttributeConverter attributeConverter, boolean autoApply)
public static AttributeConverterDefinition from(Class<? extends AttributeConverter> attributeConverterClass, boolean autoApply)
attributeConverterClass - The AttributeConverter ClassautoApply - Should the AttributeConverter be auto-applied?public static AttributeConverterDefinition from(Class<? extends AttributeConverter> attributeConverterClass)
Converter annotation to determine whether it should
be treated as auto-apply. If the annotation is present, Converter.autoApply() is
used to make that determination. If the annotation is not present, false is assumed.attributeConverterClass - The converter classpublic static AttributeConverterDefinition from(AttributeConverter attributeConverter)
Converter annotation to determine whether it should
be treated as auto-apply. If the annotation is present, Converter.autoApply() is
used to make that determination. If the annotation is not present, false is assumed.attributeConverter - The AttributeConverter instancepublic static AttributeConverterDefinition from(AttributeConverter attributeConverter, boolean autoApply)
attributeConverter - The AttributeConverter instanceautoApply - Should the AttributeConverter be auto-applied?public AttributeConverter getAttributeConverter()
public boolean isAutoApply()
public Class getEntityAttributeType()
public Class getDatabaseColumnType()
public Class<? extends AttributeConverter> getConverterClass()
getConverterClass in interface AttributeConverterInfopublic ConverterDescriptor toConverterDescriptor(MetadataBuildingContext context)
toConverterDescriptor in interface AttributeConverterInfoCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.