|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.sdk.SimpleFieldTranslator
oracle.toplink.eis
public class SimpleFieldTranslator
This is a simple implementation of the FieldTranslator
interface. It has the ability to do simple field name
translations to the database row after it has been returned from a read
and before it is used for a write. This implementation will also wrap
another FieldTranslator
, allowing a stack of translators
to translate the database rows, without having to share implementation
details.
AbstractSDKCall
,
Association
,
Serialized FormConstructor Summary | |
---|---|
SimpleFieldTranslator()
Deprecated. Default constructor. |
|
SimpleFieldTranslator(FieldTranslator wrappedTranslator)
Deprecated. Constructor for wrapping another field translator. |
Method Summary | |
---|---|
void |
addReadOnlyTranslation(java.lang.String dataStoreFieldName,
java.lang.String mappingFieldName)
Deprecated. Add a translation. |
void |
addReadOnlyTranslations(java.lang.String[] dataStoreFieldNames,
java.lang.String[] mappingFieldNames)
Deprecated. Add translations. |
void |
addReadOnlyTranslations(java.util.Vector translations)
Deprecated. Add translations. |
void |
addReadTranslation(java.lang.String dataStoreFieldName,
java.lang.String mappingFieldName)
Deprecated. Add a translation. |
void |
addReadTranslations(java.lang.String[] dataStoreFieldNames,
java.lang.String[] mappingFieldNames)
Deprecated. Add translations. |
void |
addReadTranslations(java.util.Vector translations)
Deprecated. Add translations. |
void |
addWriteOnlyTranslation(java.lang.String mappingFieldName,
java.lang.String dataStoreFieldName)
Deprecated. Add a translation. |
void |
addWriteOnlyTranslations(java.lang.String[] mappingFieldNames,
java.lang.String[] dataStoreFieldNames)
Deprecated. Add translations. |
void |
addWriteOnlyTranslations(java.util.Vector translations)
Deprecated. Add translations. |
void |
addWriteTranslation(java.lang.String mappingFieldName,
java.lang.String dataStoreFieldName)
Deprecated. Add a translation. |
void |
addWriteTranslations(java.lang.String[] mappingFieldNames,
java.lang.String[] dataStoreFieldNames)
Deprecated. Add translations. |
void |
addWriteTranslations(java.util.Vector translations)
Deprecated. Add translations. |
FieldTranslator |
getWrappedTranslator()
Deprecated. Return the wrapped field translator. |
void |
removeReadOnlyTranslation(java.lang.String dataStoreFieldName)
Deprecated. Remove the specified read translation. |
void |
removeReadTranslation(java.lang.String dataStoreFieldName)
Deprecated. Remove the specified read translation. |
void |
removeWriteOnlyTranslation(java.lang.String mappingFieldName)
Deprecated. Remove the specified write translation. |
void |
removeWriteTranslation(java.lang.String mappingFieldName)
Deprecated. Remove the specified write translation. |
void |
setWrappedTranslator(FieldTranslator wrappedTranslator)
Deprecated. Set the wrapped field translator. |
Record |
translateForRead(Record row)
Deprecated. Translate and return the specified database row that was read from the data store. |
Record |
translateForWrite(Record row)
Deprecated. 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 |
---|
public SimpleFieldTranslator()
public SimpleFieldTranslator(FieldTranslator wrappedTranslator)
Method Detail |
---|
public void addReadOnlyTranslation(java.lang.String dataStoreFieldName, java.lang.String mappingFieldName)
public void addReadOnlyTranslations(java.lang.String[] dataStoreFieldNames, java.lang.String[] mappingFieldNames)
public void addReadOnlyTranslations(java.util.Vector translations)
public void addReadTranslation(java.lang.String dataStoreFieldName, java.lang.String mappingFieldName)
public void addReadTranslations(java.lang.String[] dataStoreFieldNames, java.lang.String[] mappingFieldNames)
public void addReadTranslations(java.util.Vector translations)
public void addWriteOnlyTranslation(java.lang.String mappingFieldName, java.lang.String dataStoreFieldName)
public void addWriteOnlyTranslations(java.lang.String[] mappingFieldNames, java.lang.String[] dataStoreFieldNames)
public void addWriteOnlyTranslations(java.util.Vector translations)
public void addWriteTranslation(java.lang.String mappingFieldName, java.lang.String dataStoreFieldName)
public void addWriteTranslations(java.lang.String[] mappingFieldNames, java.lang.String[] dataStoreFieldNames)
public void addWriteTranslations(java.util.Vector translations)
public FieldTranslator getWrappedTranslator()
public void removeReadOnlyTranslation(java.lang.String dataStoreFieldName)
public void removeReadTranslation(java.lang.String dataStoreFieldName)
public void removeWriteOnlyTranslation(java.lang.String mappingFieldName)
public void removeWriteTranslation(java.lang.String mappingFieldName)
public void setWrappedTranslator(FieldTranslator wrappedTranslator)
public Record translateForRead(Record row)
translateForRead
in interface FieldTranslator
public Record translateForWrite(Record row)
translateForWrite
in interface FieldTranslator
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |