collections.ship.factory |
|
Java Source File Name | Type | Comment |
Part.java | Class | A Part represents the combined key/data pair for a part entity.
In this sample, Part is bound to the stored key/data entry by
implementing the MarshalledTupleKeyEntity interface. |
PartKey.java | Class | A PartKey serves as the key in the key/data pair for a part entity.
In this sample, PartKey is bound to the stored key tuple entry by
implementing the MarshalledTupleEntry interface, which is called by
SampleViews.MarshalledKeyBinding . |
Sample.java | Class | Sample is the main entry point for the sample program and may be run as
follows:
java collections.ship.factory.Sample
[-h ]
The default for the home directory is ./tmp -- the tmp subdirectory of
the current directory where the sample is run. |
SampleDatabase.java | Class | SampleDatabase defines the storage containers, indices and foreign keys
for the sample database. |
SampleViews.java | Class | SampleViews defines the data bindings and collection views for the sample
database. |
Shipment.java | Class | A Shipment represents the combined key/data pair for a shipment entity.
In this sample, Shipment is bound to the stored key/data entry by
implementing the MarshalledTupleKeyEntity interface. |
ShipmentKey.java | Class | A ShipmentKey serves as the key in the key/data pair for a shipment entity.
In this sample, ShipmentKey is bound to the stored key tuple entry by
implementing the MarshalledTupleEntry interface, which is called by
SampleViews.MarshalledKeyBinding . |
Supplier.java | Class | A Supplier represents the combined key/data pair for a supplier entity.
In this sample, Supplier is bound to the stored key/data entry by
implementing the MarshalledTupleKeyEntity interface. |
SupplierKey.java | Class | A SupplierKey serves as the key in the key/data pair for a supplier entity.
In this sample, SupplierKey is bound to the stored key tuple entry by
implementing the MarshalledTupleEntry interface, which is called by
SampleViews.MarshalledKeyBinding . |
Weight.java | Class | Weight represents a weight amount and unit of measure.
In this sample, Weight is embedded in part data values which are stored
as Java serialized objects; therefore Weight must be Serializable. |