feynman.framework.datastore
Interface DataStore

All Known Implementing Classes:
FileDataStore, DbmsDataStore

public interface DataStore

Interface for defining data store capabilities within the framework for the PhysicalMeasurement bean. The data store could be as simple as a file or a database table. To check for the current supported implementations, check the documentation in the DataStoreFactory class.

Version:
$Revision: 1.1.1.1 $ $Date: 2002/11/12 02:25:41 $
Author:
Wes Bailey

Method Summary
 void close()
          Method to close the connection to the data store.
 void open(java.lang.String source)
          Method to open a connection to the data store.
 void save(PhysicalMeasurement pm)
          Method to save the PhysicalMeasurement bean to the data store.
 

Method Detail

open

public void open(java.lang.String source)
          throws ConnectionException
Method to open a connection to the data store.

save

public void save(PhysicalMeasurement pm)
Method to save the PhysicalMeasurement bean to the data store. At the present time, the framework will only support saving this bean to the data store.

close

public void close()
           throws ConnectionException
Method to close the connection to the data store.