Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.mappings
Class TypeConversionMapping

java.lang.Object
  extended byoracle.toplink.mappings.DatabaseMapping
      extended byoracle.toplink.mappings.DirectToFieldMapping
          extended byoracle.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
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, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord

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.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.