|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osesb.connectors.jdbc.TableSetAdapter
org.osesb.connectors.jdbc.test.UpdateCustomerTestTableSetAdapter
public class UpdateCustomerTestTableSetAdapter
UpdateCustomerTestTableSetAdapter is a custom TableSetAdapter. Corresponds to org/osesb/connectors/jdbc/test/testdata/updatecustomer-tableset-test-config.xml.
processTableSet() expects a valid customer ID in a ProcessingContext variable named "customerID".
| Field Summary |
|---|
| Fields inherited from class org.osesb.connectors.jdbc.TableSetAdapter |
|---|
log, parentTableSet, tableSetAdapterConfiguration, thisClassName |
| Constructor Summary | |
|---|---|
UpdateCustomerTestTableSetAdapter(TableSet parentTableSet,
TableSetAdapterConfiguration tableSetAdapterConfiguration)
Creates a new instance of UpdateCustomerTableSetAdapter. |
|
| Method Summary | |
|---|---|
java.lang.Object[] |
doCustomProcessing(java.lang.Object[] parameters)
Custom processing method. |
static void |
main(java.lang.String[] args)
main() For testing and sandboxing. |
java.lang.Object[] |
processStatement(java.lang.String statementName)
Process the named SQLStatement configured by the TableSetConfiguration. |
java.lang.Object[] |
processTableSet()
processTableSet retrieves a customer by ID and sets shipping address columns to the values in the billing address columns. |
| Methods inherited from class org.osesb.connectors.jdbc.TableSetAdapter |
|---|
getParentTableSet, logMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateCustomerTestTableSetAdapter(TableSet parentTableSet,
TableSetAdapterConfiguration tableSetAdapterConfiguration)
throws java.lang.Exception
parentTableSet - The TableSet that constructed this TableSetAdapter.
java.lang.Exception - if constructed with a null TableSet.| Method Detail |
|---|
public java.lang.Object[] processTableSet()
throws java.lang.Exception
processTableSet in class TableSetAdapterjava.lang.Exception - if there is a problem with processing the
TableSet SQL.
public java.lang.Object[] processStatement(java.lang.String statementName)
throws java.lang.Exception
processStatement in class TableSetAdapterstatementName - The name of the SQLStatement to process.
java.lang.Exception - if there is a problem with processing the
TableSet SQL.
public java.lang.Object[] doCustomProcessing(java.lang.Object[] parameters)
throws java.lang.Exception
doCustomProcessing in class TableSetAdapterparameters - Custom processing parameters.
java.lang.Exception - if an error is encountered during custom processing.public static void main(java.lang.String[] args)
args - commandline arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||