public class InvoiceCommand extends SQLCommand
CREATE_INVOICE CUSTOMER_KEY customer PRODUCTS items[,...]Usage
CREATE_INVOICE CUSTOMER_KEY 23@5~12@1 PRODUCTS PRODUCT_KEY 22@5~23@1 QTY 5THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
InvoiceCommand(Connection connection,
Pattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
protected InvoiceProductItem |
buildProductItem(java.lang.String text,
Invoice inv,
MutableDataSource mds) |
protected void |
execute(Parser p)
CREATE_INVOICE CUSTOMER_KEY customer PRODUCTS items[,...]
|
java.lang.String |
getColumnName(int col)
Not mandatory to supply a key for the row as well.
|
java.lang.String |
getColumnType(int col)
get the column type
|
java.lang.String |
getRecordID(int row)
We are at the last row when we return null for the record ID.
|
java.lang.Object |
getValue(int row,
int col)
The value for this column/row
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic InvoiceCommand(Connection connection, Pattern pattern)
connection - pattern - protected void execute(Parser p) throws java.lang.Exception
CREATE_INVOICE CUSTOMER_KEY customer PRODUCTS items[,...]
protected InvoiceProductItem buildProductItem(java.lang.String text, Invoice inv, MutableDataSource mds) throws java.lang.Exception
text - inv - mds - the mutable data sourcejava.lang.Exception - a serious problempublic java.lang.String getColumnName(int col)
CommandBuildResultsPlugincol - the columnpublic java.lang.String getColumnType(int col)
CommandBuildResultsPlugincol - the columnpublic java.lang.String getRecordID(int row)
CommandBuildResultsPluginrow - the row to usepublic java.lang.Object getValue(int row,
int col)
CommandBuildResultsPluginrow - the row to usecol - the columnstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.