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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TypeConversionMapping
public TypeConversionMapping()
- PUBLIC:
Default constructor.
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.