public class ConverterClass extends java.lang.Object implements Converter, org.eclipse.persistence.internal.descriptors.ClassNameConversionRequired
Modifier and Type | Field and Description |
---|---|
protected AttributeConverter |
attributeConverter |
protected java.lang.String |
attributeConverterClassName |
protected boolean |
disableConversion |
protected java.lang.Class |
fieldClassification |
protected java.lang.String |
fieldClassificationName |
protected boolean |
isForMapKey |
Constructor and Description |
---|
ConverterClass(java.lang.String attributeConverterClassName,
boolean isForMapKey,
java.lang.String fieldClassificationName,
boolean disableConversion)
INTERNAL:
This method will be called when creating a converter for an embedded
mapping attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
convertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings in this converter to actual
class-based settings.
|
java.lang.Object |
convertDataValueToObjectValue(java.lang.Object dataValue,
Session session)
INTERNAL:
|
java.lang.Object |
convertObjectValueToDataValue(java.lang.Object objectValue,
Session session)
INTERNAL:
|
void |
initialize(DatabaseMapping mapping,
Session session)
INTERNAL:
|
boolean |
isMutable()
INTERNAL:
|
protected boolean isForMapKey
protected boolean disableConversion
protected java.lang.Class fieldClassification
protected java.lang.String fieldClassificationName
protected java.lang.String attributeConverterClassName
protected AttributeConverter attributeConverter
public ConverterClass(java.lang.String attributeConverterClassName, boolean isForMapKey, java.lang.String fieldClassificationName, boolean disableConversion)
public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
convertClassNamesToClasses
in interface org.eclipse.persistence.internal.descriptors.ClassNameConversionRequired
public java.lang.Object convertDataValueToObjectValue(java.lang.Object dataValue, Session session)
convertDataValueToObjectValue
in interface CoreConverter<DatabaseMapping,Session>
convertDataValueToObjectValue
in interface Converter
public java.lang.Object convertObjectValueToDataValue(java.lang.Object objectValue, Session session)
convertObjectValueToDataValue
in interface CoreConverter<DatabaseMapping,Session>
convertObjectValueToDataValue
in interface Converter
public void initialize(DatabaseMapping mapping, Session session)
initialize
in interface CoreConverter<DatabaseMapping,Session>
initialize
in interface Converter