public class AttributeConverterDescriptorImpl extends Object implements AttributeConverterDescriptor
Modifier and Type | Method and Description |
---|---|
static AttributeConverterDescriptor |
create(AttributeConverterDefinition definition,
ClassmateContext classmateContext) |
AttributeConverter |
getAttributeConverter() |
Class<?> |
getDomainType() |
Class<?> |
getJdbcType() |
boolean |
shouldAutoApplyToAttribute(XProperty xProperty,
MetadataBuildingContext context) |
boolean |
shouldAutoApplyToCollectionElement(XProperty xProperty,
MetadataBuildingContext context) |
boolean |
shouldAutoApplyToMapKey(XProperty xProperty,
MetadataBuildingContext context) |
public static AttributeConverterDescriptor create(AttributeConverterDefinition definition, ClassmateContext classmateContext)
public AttributeConverter getAttributeConverter()
getAttributeConverter
in interface AttributeConverterDescriptor
public Class<?> getDomainType()
getDomainType
in interface AttributeConverterDescriptor
public Class<?> getJdbcType()
getJdbcType
in interface AttributeConverterDescriptor
public boolean shouldAutoApplyToAttribute(XProperty xProperty, MetadataBuildingContext context)
shouldAutoApplyToAttribute
in interface AttributeConverterDescriptor
public boolean shouldAutoApplyToCollectionElement(XProperty xProperty, MetadataBuildingContext context)
shouldAutoApplyToCollectionElement
in interface AttributeConverterDescriptor
public boolean shouldAutoApplyToMapKey(XProperty xProperty, MetadataBuildingContext context)
shouldAutoApplyToMapKey
in interface AttributeConverterDescriptor
Copyright © 2017 JBoss by Red Hat. All rights reserved.