oracle.toplink.mappings
Class TypeConversionMapping

java.lang.Object
  |
  +--oracle.toplink.mappings.DatabaseMapping
        |
        +--oracle.toplink.mappings.DirectToFieldMapping
              |
              +--oracle.toplink.mappings.TypeConversionMapping
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class TypeConversionMapping
extends DirectToFieldMapping

Purpose: Type conversion mappings are used to expllicitly map a database type to a java type.

Since:
TOPLink/Java 1.0
See Also:
Serialized Form

Constructor Summary
TypeConversionMapping()
          PUBLIC: Default constructor.
 
Method Summary
TypeMethod
 java.lang.Class getFieldClassification()
          PUBLIC: Returns the field type.
 void setFieldClassification(java.lang.Class aClass)
          PUBLIC: Set the field type.
 
Methods inherited from class oracle.toplink.mappings.DirectToFieldMapping
getAttributeClassification, getFieldName, getNullValue, setAttributeClassification, setFieldName, setNullValue
 
Methods inherited from class oracle.toplink.mappings.DatabaseMapping
getAttributeName, getGetMethodName, getSetMethodName, readOnly, readWrite, setAttributeName, setGetMethodName, setIsReadOnly, setSetMethodName, setWeight
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeConversionMapping

public TypeConversionMapping()
PUBLIC: Default constructor.
Method Detail

getFieldClassification

public java.lang.Class getFieldClassification()
PUBLIC: Returns the field type. For this mapping both field classification and attribute classification are specified. Field classification is used when writing to the database.

setFieldClassification

public void setFieldClassification(java.lang.Class aClass)
PUBLIC: Set the field type. For this mapping both field classification and attribute classification are specified. Field classification is used when writing to the database.