public class Order
extends java.lang.Object
Fields map to definition in TPC-C for the ORDER table. The Java names of fields do not include the O_ prefix and are in lower case. For clarity these fields are renamed in Java
Primary key maps to {warehouse,district,id}.
An Order 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 boolean |
all_local |
private java.lang.Integer |
carrier_id |
private int |
customer |
private short |
district |
private java.sql.Timestamp |
entry_d |
private int |
id |
private int |
ol_cnt |
private short |
warehouse |
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all information to allow object re-use.
|
java.lang.Integer |
getCarrier_id() |
int |
getCustomer() |
short |
getDistrict() |
java.sql.Timestamp |
getEntry_d() |
int |
getId() |
int |
getOl_cnt() |
short |
getWarehouse() |
boolean |
isAll_local() |
void |
setAll_local(boolean all_local) |
void |
setCarrier_id(java.lang.Integer carrier_id) |
void |
setCustomer(int customer) |
void |
setDistrict(short district) |
void |
setEntry_d(java.sql.Timestamp entry_d) |
void |
setId(int id) |
void |
setOl_cnt(int ol_cnt) |
void |
setWarehouse(short warehouse) |
private int id
private short district
private short warehouse
private int customer
private java.sql.Timestamp entry_d
private java.lang.Integer carrier_id
private int ol_cnt
private boolean all_local
public void clear()
public boolean isAll_local()
public void setAll_local(boolean all_local)
public java.lang.Integer getCarrier_id()
public void setCarrier_id(java.lang.Integer carrier_id)
public int getCustomer()
public void setCustomer(int customer)
public short getDistrict()
public void setDistrict(short district)
public java.sql.Timestamp getEntry_d()
public void setEntry_d(java.sql.Timestamp entry_d)
public int getId()
public void setId(int id)
public int getOl_cnt()
public void setOl_cnt(int ol_cnt)
public short getWarehouse()
public void setWarehouse(short warehouse)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.