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

B32476-04

oracle.toplink.mappings.converters
Class TypeConversionConverter

java.lang.Object
  extended by oracle.toplink.mappings.converters.TypeConversionConverter
All Implemented Interfaces:
java.io.Serializable, Converter

public class TypeConversionConverter
extends java.lang.Object
implements Converter

Purpose: Type conversion converters are used to explicitly map a database type to a Java type.

Since:
OracleAS TopLink 10g (10.0.3)
See Also:
Serialized Form

Constructor Summary
TypeConversionConverter()
          Default constructor.
TypeConversionConverter(DatabaseMapping mapping)
          Default constructor.
 
Method Summary
 java.lang.Class getDataClass()
          Returns the class type of the data value.
 java.lang.Class getObjectClass()
          Returns the class type of the object value.
 void setDataClass(java.lang.Class dataClass)
          Set the class type of the data value.
 void setObjectClass(java.lang.Class objectClass)
          Set the class type of the object value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeConversionConverter

public TypeConversionConverter()
Default constructor.


TypeConversionConverter

public TypeConversionConverter(DatabaseMapping mapping)
Default constructor.

Method Detail

getObjectClass

public java.lang.Class getObjectClass()
Returns the class type of the object value.


getDataClass

public java.lang.Class getDataClass()
Returns the class type of the data value.


setDataClass

public void setDataClass(java.lang.Class dataClass)
Set the class type of the data value.


setObjectClass

public void setObjectClass(java.lang.Class objectClass)
Set the class type of the object value.


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