public class XMLInteraction extends MappedInteraction
Modifier and Type | Field and Description |
---|---|
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.
|
argumentNames, inputResultPath
arguments, functionName, inputRecordName, inputRow, interactionSpec, outputArgumentNames, outputArguments, outputResultPath, properties
CUSTOM_MODIFY, EXECUTE_UPDATE, IN, INLINE, 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 and Description |
---|
XMLInteraction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addArgument, addArgument, addArgumentValue, createTranslationRecord, getArgumentNames, getInputResultPath, setArgumentNames, setInputResultPath
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
appendIn, appendInOut, appendLiteral, appendModify, appendOut, appendParameter, appendTranslation, areManyRowsReturned, argumentMarker, buildNewQueryMechanism, buildQueryMechanism, clone, createInOutParameter, getParameters, getParameterTypes, getQuery, getQueryString, getReturnType, getValueForInOutParameter, getValueForInParameter, hasParameters, isCursorReturned, isExecuteUpdate, isFinished, isJPQLCall, isNativeConnectionRequired, isNothingReturned, isOneRowReturned, isOutputParameterType, isPrepared, isQueryStringCall, isReturnSet, isSQLCall, isStoredFunctionCall, isStoredPLSQLFunctionCall, isStoredPLSQLProcedureCall, isStoredProcedureCall, returnCursor, returnManyRows, returnNothing, returnOneRow, setExecuteUpdate, setIsNativeConnectionRequired, setIsPrepared, setParameters, setParameterTypes, setQuery, setQueryString, setReturnType, translateCustomQuery, translatePureSQLCustomQuery, translateQueryString, whitespace
protected java.lang.String inputRootElementName
protected java.lang.String outputRootElementName
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)