Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.xml
Class XMLReadCall

java.lang.Object
  extended byDatasourceCall
      extended byoracle.toplink.sdk.AbstractSDKCall
          extended byoracle.toplink.xml.XMLCall
              extended byoracle.toplink.xml.XMLReadCall

All Implemented Interfaces:
Call, java.lang.Cloneable, SDKCall, java.io.Serializable

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by oracle.toplink.ox

public class XMLReadCall
extends XMLCall

XMLReadCall can perform one of two types of read:

  1. Read the XML document for a given primary key.
  2. Read the XML document for a given foreign key, specified by a 1:1 mapping relationship.
Since:
TOPLink/Java 3.0
See Also:
OneToOneMapping, Serialized Form

Constructor Summary
XMLReadCall()
          Deprecated. Default constructor.
XMLReadCall(OneToOneMapping mapping)
          Deprecated. Constructor.

 

Method Summary
 java.lang.Object execute(DatabaseRow translationRow, Accessor accessor)
          Deprecated. Read and return the necessary rows of data.
 void setMapping(OneToOneMapping mapping)
          Deprecated. Set the mapping the call fetches data for.

 

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, getFieldTranslator, getLogString, isFinished, setFieldTranslator, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

XMLReadCall

public XMLReadCall()
Deprecated. 
Default constructor.

XMLReadCall

public XMLReadCall(OneToOneMapping mapping)
Deprecated. 
Constructor. Specify the associated mapping.

Method Detail

execute

public java.lang.Object execute(DatabaseRow translationRow,
                                Accessor accessor)
                         throws XMLDataStoreException
Deprecated. 
Read and return the necessary rows of data. If the mapping is missing, the translation row holds the primary key for the data. If the mapping is present, the translation row holds a foreign key for the data.
Throws:
XMLDataStoreException

setMapping

public void setMapping(OneToOneMapping mapping)
Deprecated. 
Set the mapping the call fetches data for.

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.