public class MappedInteraction extends EISInteraction
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector |
argumentNames |
protected java.lang.String |
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 |
---|
MappedInteraction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addArgument(java.lang.String parameterAndArgumentFieldName)
PUBLIC:
Define the argument to the interaction and the field/argument name to be substitute for it.
|
void |
addArgument(java.lang.String parameterName,
java.lang.String argumentFieldName)
PUBLIC:
Define the argument to the interaction and the field/argument name to be substitute for it.
|
void |
addArgumentValue(java.lang.String parameterName,
java.lang.Object argumentValue)
PUBLIC:
Define the argument to the interaction and the value name to be input for it.
|
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.
|
javax.resource.cci.Record |
createInputRecord(EISAccessor accessor)
Create a mapped input record for this interaction.
|
javax.resource.cci.Record |
createTranslationRecord(org.eclipse.persistence.internal.sessions.AbstractRecord transaltionRow,
EISAccessor accessor)
Create a mapped input record for this interaction.
|
java.util.Vector |
getArgumentNames()
The argument names for the input record.
|
java.lang.String |
getInputResultPath()
PUBLIC:
The input result path defines the root key for the MappedRecord that
the interaction argument is nested into.
|
void |
setArgumentNames(java.util.Vector argumentNames)
INTERNAL:
The argument names for the input record.
|
void |
setInputResultPath(java.lang.String inputResultPath)
PUBLIC:
The input result path defines the root key for the MappedRecord that
the interaction argument is nested into.
|
addOutputArgument, addOutputArgument, buildRows, createRecordElement, getArguments, getFunctionName, getInputRecordName, getInputRow, getInteractionSpec, getLogString, getOutputArgumentNames, getOutputArguments, getOutputResultPath, getProperties, getProperty, hasArguments, hasOutputArguments, isEISInteraction, prepare, setArguments, setFunctionName, setInputRecordName, setInputRow, setInteractionSpec, setOutputArgumentNames, setOutputArguments, setOutputResultPath, setProperties, setProperty, toString, translate
appendIn, appendInOut, appendLiteral, appendModify, appendOut, appendParameter, appendTranslation, areManyRowsReturned, argumentMarker, buildNewQueryMechanism, buildQueryMechanism, clone, createField, 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 inputResultPath
protected java.util.Vector argumentNames
public void addArgument(java.lang.String parameterAndArgumentFieldName)
public void addArgument(java.lang.String parameterName, java.lang.String argumentFieldName)
public void addArgumentValue(java.lang.String parameterName, java.lang.Object argumentValue)
public java.lang.String getInputResultPath()
public void setInputResultPath(java.lang.String inputResultPath)
public java.util.Vector getArgumentNames()
public void setArgumentNames(java.util.Vector argumentNames)
public javax.resource.cci.Record createInputRecord(EISAccessor accessor)
createInputRecord
in class EISInteraction
public javax.resource.cci.Record createTranslationRecord(org.eclipse.persistence.internal.sessions.AbstractRecord transaltionRow, EISAccessor accessor)
public org.eclipse.persistence.internal.sessions.AbstractRecord buildRow(javax.resource.cci.Record record, EISAccessor accessor)
buildRow
in class EISInteraction