public abstract class AbstractConverterDescriptor extends Object implements ConverterDescriptor
Constructor and Description |
---|
AbstractConverterDescriptor(Class<? extends AttributeConverter> converterClass,
Boolean forceAutoApply,
ClassmateContext classmateContext) |
Modifier and Type | Method and Description |
---|---|
JpaAttributeConverter |
createJpaAttributeConverter(JpaAttributeConverterCreationContext context)
Factory for the runtime representation of the converter
|
protected abstract ManagedBean<? extends AttributeConverter> |
createManagedBean(JpaAttributeConverterCreationContext context) |
Class<? extends AttributeConverter> |
getAttributeConverterClass()
The AttributeConverter class
|
AutoApplicableConverterDescriptor |
getAutoApplyDescriptor()
Get the auto-apply checker for this converter.
|
com.fasterxml.classmate.ResolvedType |
getDomainValueResolvedType()
The resolved Classmate type descriptor for the conversion's domain type
|
com.fasterxml.classmate.ResolvedType |
getRelationalValueResolvedType()
The resolved Classmate type descriptor for the conversion's relational type
|
public AbstractConverterDescriptor(Class<? extends AttributeConverter> converterClass, Boolean forceAutoApply, ClassmateContext classmateContext)
public Class<? extends AttributeConverter> getAttributeConverterClass()
ConverterDescriptor
getAttributeConverterClass
in interface ConverterDescriptor
public com.fasterxml.classmate.ResolvedType getDomainValueResolvedType()
ConverterDescriptor
getDomainValueResolvedType
in interface ConverterDescriptor
public com.fasterxml.classmate.ResolvedType getRelationalValueResolvedType()
ConverterDescriptor
getRelationalValueResolvedType
in interface ConverterDescriptor
public AutoApplicableConverterDescriptor getAutoApplyDescriptor()
ConverterDescriptor
AutoApplicableConverterDescriptorBypassedImpl.INSTANCE
instead.getAutoApplyDescriptor
in interface ConverterDescriptor
public JpaAttributeConverter createJpaAttributeConverter(JpaAttributeConverterCreationContext context)
ConverterDescriptor
createJpaAttributeConverter
in interface ConverterDescriptor
protected abstract ManagedBean<? extends AttributeConverter> createManagedBean(JpaAttributeConverterCreationContext context)
Copyright © 2021 JBoss by Red Hat. All rights reserved.