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
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.