oracle.toplink.xml
Class XMLWriteCall

java.lang.Object
  |
  +--oracle.toplink.sdk.AbstractSDKCall
        |
        +--oracle.toplink.xml.XMLCall
              |
              +--oracle.toplink.xml.XMLWriteCall
All Implemented Interfaces:
Call, java.lang.Cloneable, SDKCall, java.io.Serializable
Direct Known Subclasses:
XMLInsertCall, XMLUpdateCall

public abstract class XMLWriteCall
extends XMLCall

XMLWriteCall simply adds the assumption that the query is a ModifyQuery.

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

Constructor Summary
XMLWriteCall()
          Default constructor.
 
Method Summary
TypeMethod
 java.lang.Object execute(DatabaseRow translationRow, oracle.toplink.internal.databaseaccess.Accessor accessor)
          Write the necessary data.
 
Methods inherited from class oracle.toplink.xml.XMLCall
getStreamPolicy, getXMLTranslator, setFile, setFile, setFileName, setFileName, setFiles, setFiles, setReader, setReaders, setStreamPolicy, setWriter, setXMLTranslator
 
Methods inherited from class oracle.toplink.sdk.AbstractSDKCall
addReadTranslation, addReadTranslations, addReadTranslations, addWriteTranslation, addWriteTranslations, addWriteTranslations, buildDefaultTranslator, buildNewQueryMechanism, buildQueryMechanism, clone, clone, getFieldTranslator, getLogString, isFinished, setFieldTranslator, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLWriteCall

public XMLWriteCall()
Default constructor.
Method Detail

execute

public java.lang.Object execute(DatabaseRow translationRow,
                                oracle.toplink.internal.databaseaccess.Accessor accessor)
                         throws XMLDataStoreException
Write the necessary data. The translation row holds the primary key for the data. But the modify row holds all the data to be written. Return a modify count.