Skip navigation links
oracle.toplink.mappings
Class TypeConversionMapping
java.lang.Object
oracle.toplink.mappings.DatabaseMapping
oracle.toplink.mappings.foundation.AbstractDirectMapping
oracle.toplink.mappings.DirectToFieldMapping
oracle.toplink.mappings.TypeConversionMapping
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, oracle.toplink.mappings.RelationalMapping
Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by TypeConversionConverter
-
public class TypeConversionMapping
- extends DirectToFieldMapping
Purpose: Type conversion mappings are used to explicitly map a database type to a Java type. Note this functionality has been somewhat replaced by TypeConversionConverter which can be used to obtain the same functionality on DirectToField and DirectCollection mappings.
- Since:
- TopLink/Java 1.0
- See Also:
TypeConversionConverter
, Serialized Form
Methods inherited from class oracle.toplink.mappings.foundation.AbstractDirectMapping |
getAttributeClassification, getConverter, getFieldName, getNullValue, hasConverter, isMutable, setAttributeClassification, setConverter, setConverterClassName, setField, setFieldType, setIsMutable, setNullValue |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
getAttributeAccessor, getAttributeName, getGetMethodName, getProperty, getReferenceDescriptor, getSetMethodName, isLazy, isOptional, isUsingMethodAccess, readOnly, readWrite, setAttributeAccessor, setAttributeName, setGetMethodName, setIsLazy, setIsOptional, setIsReadOnly, setProperty, setSetMethodName, setWeight, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TypeConversionMapping
public TypeConversionMapping()
- Deprecated.
- Default constructor.
getFieldClassification
public java.lang.Class getFieldClassification()
- Deprecated.
- Returns the field type. For this mapping both field classification and attribute classification are specified. Field classification is used when writing to the database.
-
- Overrides:
getFieldClassification
in class AbstractDirectMapping
setFieldClassification
public void setFieldClassification(java.lang.Class fieldType)
- Deprecated.
- Set the field type. For this mapping both field classification and attribute classification are specified. Field classification is used when writing to the database.
-
- Overrides:
setFieldClassification
in class AbstractDirectMapping
Skip navigation links