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

collections::ship::basic::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 ()
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 29 of file SampleDatabase.java.


Constructor & Destructor Documentation

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

Open all storage containers, indices, and catalogs.

Definition at line 45 of file SampleDatabase.java.


Member Function Documentation

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

Close all databases and the environment.

Definition at line 125 of file SampleDatabase.java.

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

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

Return the class catalog.

Definition at line 93 of file SampleDatabase.java.

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

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

Return the storage environment for the database.

Definition at line 85 of file SampleDatabase.java.

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

Return the part storage container.

Definition at line 101 of file SampleDatabase.java.

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

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

Return the shipment storage container.

Definition at line 117 of file SampleDatabase.java.

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

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

Return the supplier storage container.

Definition at line 109 of file SampleDatabase.java.

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


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