|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
---|
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourceCall |
---|
CUSTOM_MODIFY, IN, INOUT, LITERAL, MODIFY, OUT, OUT_CURSOR, 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. |
Vector |
buildRows(javax.resource.cci.Record record,
EISAccessor accessor)
Build a collection of database rows from the Record returned from the interaction. |
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. |
String |
getInputRootElementName()
PUBLIC: Return the root element name to use for the input DOM. |
String |
getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
Return the string for logging purposes. |
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(String inputRootElementName)
PUBLIC: Set the root element name to use for the input DOM. |
void |
setOutputRootElementName(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, buildNewQueryMechanism, buildQueryMechanism, clone, getParameters, getParameterTypes, getQuery, getQueryString, getReturnType, hasParameters, isCursorReturned, isFinished, isJPQLCall, isNativeConnectionRequired, isNothingReturned, isOneRowReturned, isOutputParameterType, isQueryStringCall, isReturnSet, isSQLCall, isStoredFunctionCall, isStoredProcedureCall, returnCursor, returnManyRows, returnNothing, returnOneRow, setIsNativeConnectionRequired, setParameters, setParameterTypes, setQuery, setQueryString, setReturnType, translateCustomQuery, translatePureSQLCustomQuery, translateQueryString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLInteraction()
Method Detail |
---|
public String getInputRootElementName()
public void setInputRootElementName(String inputRootElementName)
public String getOutputRootElementName()
public void setOutputRootElementName(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 Element createInputDOM(EISAccessor accessor)
public org.eclipse.persistence.internal.sessions.AbstractRecord buildRow(javax.resource.cci.Record record, EISAccessor accessor)
buildRow
in class MappedInteraction
public Vector buildRows(javax.resource.cci.Record record, EISAccessor accessor)
buildRows
in class EISInteraction
public String getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
getLogString
in interface Call
getLogString
in class EISInteraction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |