collections.ship.marshal |
|
Java Source File Name | Type | Comment |
MarshalledEntity.java | Interface | MarshalledEntity is implemented by entity (combined key/data) objects and
called by
SampleViews.MarshalledEntityBinding . |
MarshalledKey.java | Interface | MarshalledKey is implemented by key objects and called by
SampleViews.MarshalledKeyBinding . |
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 MarshalledEntity interface, which is called by
SampleViews.MarshalledEntityBinding . |
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 MarshalledKey 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.marshal.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 MarshalledEntity interface, which is called by
SampleViews.MarshalledEntityBinding . |
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 MarshalledKey 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 MarshalledEntity interface, which is called by
SampleViews.MarshalledEntityBinding . |
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 MarshalledKey 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. |