public class District extends Warehouse
Fields map to definition in TPC-C for the DISTRICT table. The Java names of fields do not include the D_ prefix and are in lower case. For clarity this field are renamed in Java
Primary key maps to {warehouse, id}.
Implemented by extending Warehouse as they share the same basic format.
A District 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 short |
warehouse |
Constructor and Description |
---|
District() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all information to allow object re-use.
|
short |
getWarehouse() |
void |
setWarehouse(short warehouse) |
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.