Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

collections::ship::sentity::SampleDatabase Class Reference


Public Member Functions

 SampleDatabase (String homeDirectory) throws DatabaseException, FileNotFoundException
final Environment getEnvironment ()
final StoredClassCatalog getClassCatalog ()
final Database getPartDatabase ()
final Database getSupplierDatabase ()
final Database getShipmentDatabase ()
final SecondaryDatabase getShipmentByPartDatabase ()
final SecondaryDatabase getShipmentBySupplierDatabase ()
final SecondaryDatabase getSupplierByCityDatabase ()
void close () throws DatabaseException

Detailed Description

SampleDatabase defines the storage containers, indices and foreign keys for the sample database.

Author:
Mark Hayes

Definition at line 35 of file SampleDatabase.java.


Constructor & Destructor Documentation

collections::ship::sentity::SampleDatabase::SampleDatabase String  homeDirectory  )  throws DatabaseException, FileNotFoundException [inline]
 

Open all storage containers, indices, and catalogs.

Definition at line 58 of file SampleDatabase.java.


Member Function Documentation

void collections::ship::sentity::SampleDatabase::close  )  throws DatabaseException [inline]
 

Close all stores (closing a store automatically closes its indices).

Definition at line 200 of file SampleDatabase.java.

References com::sleepycat::bind::serial::StoredClassCatalog::close().

final StoredClassCatalog collections::ship::sentity::SampleDatabase::getClassCatalog  )  [inline]
 

Return the class catalog.

Definition at line 144 of file SampleDatabase.java.

Referenced by collections::ship::sentity::SampleViews::SampleViews().

final Environment collections::ship::sentity::SampleDatabase::getEnvironment  )  [inline]
 

Return the storage environment for the database.

Definition at line 136 of file SampleDatabase.java.

final Database collections::ship::sentity::SampleDatabase::getPartDatabase  )  [inline]
 

Return the part storage container.

Definition at line 152 of file SampleDatabase.java.

Referenced by collections::ship::sentity::SampleViews::SampleViews().

final SecondaryDatabase collections::ship::sentity::SampleDatabase::getShipmentByPartDatabase  )  [inline]
 

Return the shipment-by-part index.

Definition at line 176 of file SampleDatabase.java.

Referenced by collections::ship::sentity::SampleViews::SampleViews().

final SecondaryDatabase collections::ship::sentity::SampleDatabase::getShipmentBySupplierDatabase  )  [inline]
 

Return the shipment-by-supplier index.

Definition at line 184 of file SampleDatabase.java.

Referenced by collections::ship::sentity::SampleViews::SampleViews().

final Database collections::ship::sentity::SampleDatabase::getShipmentDatabase  )  [inline]
 

Return the shipment storage container.

Definition at line 168 of file SampleDatabase.java.

Referenced by collections::ship::sentity::SampleViews::SampleViews().

final SecondaryDatabase collections::ship::sentity::SampleDatabase::getSupplierByCityDatabase  )  [inline]
 

Return the supplier-by-city index.

Definition at line 192 of file SampleDatabase.java.

Referenced by collections::ship::sentity::SampleViews::SampleViews().

final Database collections::ship::sentity::SampleDatabase::getSupplierDatabase  )  [inline]
 

Return the supplier storage container.

Definition at line 160 of file SampleDatabase.java.

Referenced by collections::ship::sentity::SampleViews::SampleViews().


The documentation for this class was generated from the following file:
Generated on Sun Dec 25 12:14:58 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2