public class OrderLine
extends java.lang.Object
Fields map to definition in TPC-C for the ORDERLINE table.
The Java names of fields do not include the OL_ prefix
and are in lower case.
All fields have Java bean setters and getters.
Fields that are DECIMAL in the database map to String in Java
(rather than BigDecimal) to allow running on J2ME/CDC/Foundation.
Primary key maps to {Order,id}, it is assumed that an OrderLine object exists in the context of an Order object, thus the columns {OL_O_ID, OL_D_ID, OL_W_ID} are not represented in this class.
An OrderLine object may sparsely populated, when returned from a business transaction it is only guaranteed to contain the information required to display the result of that transaction.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
amount |
private java.sql.Timestamp |
delivery_d |
private java.lang.String |
dist_info |
private int |
i_id
ITEM number.
|
private short |
number
Line item order number.
|
private short |
quantity |
private short |
supply_w_id |
Constructor and Description |
---|
OrderLine() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAmount() |
java.sql.Timestamp |
getDelivery_d() |
java.lang.String |
getDist_info() |
int |
getI_id() |
short |
getNumber() |
short |
getQuantity() |
short |
getSupply_w_id() |
void |
setAmount(java.lang.String amount) |
void |
setDelivery_d(java.sql.Timestamp delivery_d) |
void |
setDist_info(java.lang.String dist_info) |
void |
setI_id(int i_id) |
void |
setNumber(short number) |
void |
setQuantity(short quantity) |
void |
setSupply_w_id(short supply_w_id) |
private short number
private int i_id
private short supply_w_id
private java.sql.Timestamp delivery_d
private short quantity
private java.lang.String amount
private java.lang.String dist_info
public java.lang.String getAmount()
public void setAmount(java.lang.String amount)
public java.sql.Timestamp getDelivery_d()
public void setDelivery_d(java.sql.Timestamp delivery_d)
public java.lang.String getDist_info()
public void setDist_info(java.lang.String dist_info)
public int getI_id()
public void setI_id(int i_id)
public short getNumber()
public void setNumber(short number)
public short getQuantity()
public void setQuantity(short quantity)
public short getSupply_w_id()
public void setSupply_w_id(short supply_w_id)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.