Oracle Application Server TopLink API Reference
10g (9.0.4)

B10491-01

oracle.toplink.sdk
Interface FieldTranslator

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultFieldTranslator, SimpleFieldTranslator

public interface FieldTranslator
extends java.io.Serializable

This interface defines a mechanism for translating the field names in a DatabaseRow from those defined in the data store to those expected by the appropriate Descriptor(s) and vice versa.

Since:
TOPLink/Java 3.0

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.

 

Method Detail

translateForRead

public DatabaseRow translateForRead(DatabaseRow row)
Translate and return the specified database row that was read from the data store.

translateForWrite

public DatabaseRow translateForWrite(DatabaseRow row)
Translate and return the specified database row that will be written to the data store.

Copyright © 2003 Oracle Corporation. All Rights Reserved.