Oracle TopLink API Reference
10g Release 3 (10.1.3)

B13698-01


oracle.toplink.mappings.converters
Class TypeConversionConverter

java.lang.Object
  extended byoracle.toplink.mappings.converters.TypeConversionConverter

All Implemented Interfaces:
Converter, java.io.Serializable

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()
          PUBLIC: Default constructor.
TypeConversionConverter(DatabaseMapping mapping)
          PUBLIC: Default constructor.

 

Method Summary
 java.lang.Class getDataClass()
          PUBLIC: Returns the class type of the data value.
 java.lang.Class getObjectClass()
          PUBLIC: Returns the class type of the object value.
 void setDataClass(java.lang.Class dataClass)
          PUBLIC: Set the class type of the data value.
 void setObjectClass(java.lang.Class objectClass)
          PUBLIC: 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()
PUBLIC: Default constructor.

TypeConversionConverter

public TypeConversionConverter(DatabaseMapping mapping)
PUBLIC: Default constructor.

Method Detail

getObjectClass

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

getDataClass

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

setDataClass

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

setObjectClass

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

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