|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.plantsbywebsphereejb.Report
public class Report
This class is the report produced using a database query.
Field Summary | |
---|---|
static int |
ORDER_BILLADDR1
|
static int |
ORDER_BILLADDR2
|
static int |
ORDER_BILLCITY
|
static int |
ORDER_BILLPHONE
|
static int |
ORDER_BILLSTATE
|
static int |
ORDER_BILLZIP
|
static int |
ORDER_CREDITCARD
|
static int |
ORDER_CUSTOMERID
|
static java.lang.String[] |
ORDER_FIELDS
|
static int |
ORDER_FULLNAME
|
static int |
ORDER_INVENTORY_CATEGORY
|
static int |
ORDER_INVENTORY_COST
|
static int |
ORDER_INVENTORY_ID
|
static int |
ORDER_INVENTORY_NAME
|
static int |
ORDER_INVENTORY_PKGINFO
|
static int |
ORDER_INVENTORY_PRICE
|
static int |
ORDER_INVENTORY_QUANTITY
|
static int |
ORDER_ORDERID
|
static int |
ORDER_PROFIT
|
static int |
PROFITS
|
Constructor Summary | |
---|---|
Report()
Create a Report object. |
Method Summary | |
---|---|
int |
getColumnCount()
Get a count of the number of columns in the report. |
java.lang.Object |
getReportFieldByRow(int field,
int index)
Get the value of a particular field in a particular row. |
int |
getRowCount()
Get a count of the number of rows in the report. |
void |
setReportFieldByRow(int field,
java.util.Vector rows)
Set the rows for a particular field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ORDER_ORDERID
public static final int ORDER_CUSTOMERID
public static final int ORDER_FULLNAME
public static final int ORDER_BILLADDR1
public static final int ORDER_BILLADDR2
public static final int ORDER_BILLCITY
public static final int ORDER_BILLSTATE
public static final int ORDER_BILLZIP
public static final int ORDER_BILLPHONE
public static final int ORDER_CREDITCARD
public static final int ORDER_PROFIT
public static final int ORDER_INVENTORY_ID
public static final int ORDER_INVENTORY_NAME
public static final int ORDER_INVENTORY_PKGINFO
public static final int ORDER_INVENTORY_PRICE
public static final int ORDER_INVENTORY_COST
public static final int ORDER_INVENTORY_QUANTITY
public static final int ORDER_INVENTORY_CATEGORY
public static final int PROFITS
public static final java.lang.String[] ORDER_FIELDS
Constructor Detail |
---|
public Report()
Method Detail |
---|
public int getRowCount()
public int getColumnCount()
public void setReportFieldByRow(int field, java.util.Vector rows)
field
- - The field desired.rows
- - Vector representing all the rows' data for this field.public java.lang.Object getReportFieldByRow(int field, int index)
field
- - The field desired.index
- - The row index desired.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |