Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

feynman.framework.datastore
Interface DataStore  view DataStore download DataStore.java

All Known Implementing Classes:
DbmsDataStore, FileDataStore

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 $

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(feynman.framework.system.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(feynman.framework.system.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.