|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.internal.databaseaccess.DatasourceCall org.eclipse.persistence.eis.interactions.EISInteraction org.eclipse.persistence.eis.interactions.MappedInteraction org.eclipse.persistence.eis.interactions.XMLInteraction
public class XMLInteraction
Defines the specification for a call to a JCA interaction that uses XML. Builds the input and output XML records from the arguments. This extends MappedInteraction to allow for mapped style of argument input and output.
Field Summary | |
---|---|
protected java.lang.String |
inputRootElementName
The root element name to use for the input DOM. |
protected java.lang.String |
outputRootElementName
The root element name to use for the output DOM. |
Fields inherited from class org.eclipse.persistence.eis.interactions.MappedInteraction |
---|
argumentNames, inputResultPath |
Fields inherited from class org.eclipse.persistence.eis.interactions.EISInteraction |
---|
arguments, functionName, inputRecordName, inputRow, interactionSpec, outputArgumentNames, outputArguments, outputResultPath, properties |
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourceCall |
---|
CUSTOM_MODIFY, IN, INOUT, isNativeConnectionRequired, isPrepared, LITERAL, MODIFY, NO_RETURN, OUT, OUT_CURSOR, parameters, parameterTypes, query, RETURN_CURSOR, RETURN_MANY_ROWS, RETURN_ONE_ROW, returnType, shouldProcessTokenInQuotes, TRANSLATION |
Constructor Summary | |
---|---|
XMLInteraction()
Default constructor. |
Method Summary | |
---|---|
org.eclipse.persistence.internal.sessions.AbstractRecord |
buildRow(javax.resource.cci.Record record,
EISAccessor accessor)
Build a database row from the record returned from the interaction. |
java.util.Vector |
buildRows(javax.resource.cci.Record record,
EISAccessor accessor)
Build a collection of database rows from the Record returned from the interaction. |
protected org.eclipse.persistence.internal.helper.DatabaseField |
createField(java.lang.String fieldName)
INTERNAL: |
org.w3c.dom.Element |
createInputDOM(EISAccessor accessor)
Create a DOM for this interaction. |
javax.resource.cci.Record |
createInputRecord(EISAccessor accessor)
Create a DOM input record for this interaction. |
protected XMLRecord |
createXMLRecord(java.lang.String rootName)
INTERNAL: Use the createRecord method on ObjectBuilder in case the root element is namespace qualified |
java.lang.String |
getInputRootElementName()
PUBLIC: Return the root element name to use for the input DOM. |
java.lang.String |
getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
Return the string for logging purposes. |
java.lang.String |
getOutputRootElementName()
PUBLIC: Return the root element name to use for the output DOM. |
void |
prepare(org.eclipse.persistence.internal.sessions.AbstractSession session)
Set the default record name from the descriptor. |
void |
setInputRootElementName(java.lang.String inputRootElementName)
PUBLIC: Set the root element name to use for the input DOM. |
void |
setOutputRootElementName(java.lang.String outputRootElementName)
PUBLIC: Set the root element name to use for the output DOM. |
Methods inherited from class org.eclipse.persistence.eis.interactions.MappedInteraction |
---|
addArgument, addArgument, addArgumentValue, getArgumentNames, getInputResultPath, setArgumentNames, setInputResultPath |
Methods inherited from class org.eclipse.persistence.eis.interactions.EISInteraction |
---|
addOutputArgument, addOutputArgument, createRecordElement, getArguments, getFunctionName, getInputRecordName, getInputRow, getInteractionSpec, getOutputArgumentNames, getOutputArguments, getOutputResultPath, getProperties, getProperty, hasArguments, hasOutputArguments, isEISInteraction, setArguments, setFunctionName, setInputRecordName, setInputRow, setInteractionSpec, setOutputArgumentNames, setOutputArguments, setOutputResultPath, setProperties, setProperty, toString, translate |
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourceCall |
---|
appendIn, appendInOut, appendLiteral, appendModify, appendOut, appendParameter, appendTranslation, areManyRowsReturned, argumentMarker, buildNewQueryMechanism, buildQueryMechanism, clone, createInOutParameter, getParameters, getParameterTypes, getQuery, getQueryString, getReturnType, getValueForInOutParameter, getValueForInParameter, hasParameters, isCursorReturned, isFinished, isJPQLCall, isNativeConnectionRequired, isNothingReturned, isOneRowReturned, isOutputParameterType, isPrepared, isQueryStringCall, isReturnSet, isSQLCall, isStoredFunctionCall, isStoredProcedureCall, returnCursor, returnManyRows, returnNothing, returnOneRow, setIsNativeConnectionRequired, setIsPrepared, setParameters, setParameterTypes, setQuery, setQueryString, setReturnType, translateCustomQuery, translatePureSQLCustomQuery, translateQueryString, whitespace |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String inputRootElementName
protected java.lang.String outputRootElementName
Constructor Detail |
---|
public XMLInteraction()
Method Detail |
---|
public java.lang.String getInputRootElementName()
public void setInputRootElementName(java.lang.String inputRootElementName)
public java.lang.String getOutputRootElementName()
public void setOutputRootElementName(java.lang.String outputRootElementName)
public void prepare(org.eclipse.persistence.internal.sessions.AbstractSession session)
prepare
in class EISInteraction
public javax.resource.cci.Record createInputRecord(EISAccessor accessor)
createInputRecord
in class MappedInteraction
public org.w3c.dom.Element createInputDOM(EISAccessor accessor)
public org.eclipse.persistence.internal.sessions.AbstractRecord buildRow(javax.resource.cci.Record record, EISAccessor accessor)
buildRow
in class MappedInteraction
public java.util.Vector buildRows(javax.resource.cci.Record record, EISAccessor accessor)
buildRows
in class EISInteraction
public java.lang.String getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
getLogString
in interface Call
getLogString
in class EISInteraction
protected org.eclipse.persistence.internal.helper.DatabaseField createField(java.lang.String fieldName)
createField
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
protected XMLRecord createXMLRecord(java.lang.String rootName)
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |