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

B15903-01


oracle.toplink.sdk
Class DefaultFieldTranslator

java.lang.Object
  extended byoracle.toplink.sdk.DefaultFieldTranslator

All Implemented Interfaces:
FieldTranslator, java.io.Serializable

public class DefaultFieldTranslator
extends java.lang.Object
implements FieldTranslator

This is a default implementation of the FieldTranslator interface. It does nothing to the database row - it simply returns it unchanged.

Since:
TOPLink/Java 3.0
See Also:
AbstractSDKCall, Serialized Form

Constructor Summary
DefaultFieldTranslator()
Default constructor.

Method Summary
DatabaseRow translateForRead(DatabaseRow row)
Translate and return the specified database row that was read from the data store.
DatabaseRow translateForWrite(DatabaseRow row)
Translate and return the specified database row that will be written to the data store.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DefaultFieldTranslator

public DefaultFieldTranslator()
Default constructor.

Method Detail

translateForRead

public DatabaseRow translateForRead(DatabaseRow row)
Translate and return the specified database row that was read from the data store. Simply return the row unchanged.
Specified by:
translateForRead in interface FieldTranslator

translateForWrite

public DatabaseRow translateForWrite(DatabaseRow row)
Translate and return the specified database row that will be written to the data store. Simply return the row unchanged.
Specified by:
translateForWrite in interface FieldTranslator

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