|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.sdk.AbstractSDKCall
AbstractSDKCall
provides a base implementation of SDKCall
. It associates the call with its executing query. It also associates the call with the appropriate SDK query mechanism. It also provides for a call-specific field translator that allows the database row to be translated on its way to and from the data store. Subclasses are still required to implement #execute(DatabaseRow, Accessor)
.
SDKQueryMechanism
, DatabaseQuery
, FieldTranslator
, DefaultFieldTranslator
, Serialized FormMethod Summary | |
void |
addReadTranslation(java.lang.String dataStoreFieldName, java.lang.String mappingFieldName) Add a translation. |
void |
addReadTranslations(java.lang.String[] dataStoreFieldNames, java.lang.String[] mappingFieldNames) Add translations. |
void |
addReadTranslations(java.util.Vector translations) Add translations. |
void |
addWriteTranslation(java.lang.String mappingFieldName, java.lang.String dataStoreFieldName) Add a translation. |
void |
addWriteTranslations(java.lang.String[] mappingFieldNames, java.lang.String[] dataStoreFieldNames) Add translations. |
void |
addWriteTranslations(java.util.Vector translations) Add translations. |
FieldTranslator |
buildDefaultTranslator() Build and return the default field translator that converts database row field names. |
oracle.toplink.internal.queryframework.DatabaseQueryMechanism |
buildNewQueryMechanism(DatabaseQuery query) Return the appropriate mechanism, with the call added as necessary. |
oracle.toplink.internal.queryframework.DatabaseQueryMechanism |
buildQueryMechanism(DatabaseQuery query, oracle.toplink.internal.queryframework.DatabaseQueryMechanism mechanism) Return the appropriate mechanism, with the call added as necessary. |
java.lang.Object |
clone() INTERNAL: Return a clone of the call. |
SDKCall |
clone(DatabaseQuery queryClone) Clone the call with the new query. |
FieldTranslator |
getFieldTranslator() Return the translator that converts database row field names. |
java.lang.String |
getLogString() Return a string appropriate for the session log. |
boolean |
isFinished() Return whether the call is finished returning all of its results (e.g. a call that returns a cursor that will continue to access the data store after the initial invocation will answer false). |
void |
setFieldTranslator(FieldTranslator fieldTranslator) Set the translator that converts database row field names. |
java.lang.String |
toString() Call #toString(PrintWriter) , to allow subclasses to insert additional information. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.toplink.sdk.SDKCall |
execute |
Method Detail |
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 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 buildDefaultTranslator()
public oracle.toplink.internal.queryframework.DatabaseQueryMechanism buildNewQueryMechanism(DatabaseQuery query)
buildNewQueryMechanism
in interface Call
public oracle.toplink.internal.queryframework.DatabaseQueryMechanism buildQueryMechanism(DatabaseQuery query, oracle.toplink.internal.queryframework.DatabaseQueryMechanism mechanism)
buildQueryMechanism
in interface Call
public java.lang.Object clone()
Call
clone
in interface Call
public SDKCall clone(DatabaseQuery queryClone)
clone
in interface SDKCall
public FieldTranslator getFieldTranslator()
public java.lang.String getLogString()
getLogString
in interface Call
public boolean isFinished()
isFinished
in interface Call
public void setFieldTranslator(FieldTranslator fieldTranslator)
public java.lang.String toString()
#toString(PrintWriter)
, to allow subclasses to insert additional information.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |