Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.mappings
Class TypeConversionMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.foundation.AbstractDirectMapping
          extended by oracle.toplink.mappings.DirectToFieldMapping
              extended by 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

Constructor Summary
TypeConversionMapping()
          Deprecated. Default constructor.
 
Method Summary
 java.lang.Class getFieldClassification()
          Deprecated. Returns the field type.
 void setFieldClassification(java.lang.Class fieldType)
          Deprecated. Set the field type.
 
Methods inherited from class oracle.toplink.mappings.DirectToFieldMapping
setFieldName
 
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
 

Constructor Detail

TypeConversionMapping

public TypeConversionMapping()
Deprecated. 
Default constructor.

Method Detail

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

Copyright © 1998, 2010, Oracle. All Rights Reserved.