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

Quick Search    Search Deep

feynman.framework.datastore
Class DbmsDataStore  view DbmsDataStore download DbmsDataStore.java

java.lang.Object
  extended byfeynman.framework.datastore.DbmsDataStore
All Implemented Interfaces:
DataStore

public class DbmsDataStore
extends java.lang.Object
implements DataStore


Field Summary
private  java.sql.Connection conn
           
private  java.sql.ResultSet rset
           
private  java.sql.Statement stmt
           
 
Constructor Summary
(package private) DbmsDataStore()
           
 
Method Summary
 void close()
          Method to close the connection to the data store.
 void open(java.lang.String driver)
          Method to open a connection to the data store.
 void save(feynman.framework.system.PhysicalMeasurement ps)
          Method to save the PhysicalMeasurement bean to the data store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

private java.sql.Connection conn

stmt

private java.sql.Statement stmt

rset

private java.sql.ResultSet rset
Constructor Detail

DbmsDataStore

DbmsDataStore()
Method Detail

open

public void open(java.lang.String driver)
          throws ConnectionException
Description copied from interface: DataStore
Method to open a connection to the data store.

Specified by:
open in interface DataStore

save

public void save(feynman.framework.system.PhysicalMeasurement ps)
Description copied from interface: DataStore
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.

Specified by:
save in interface DataStore

close

public void close()
           throws ConnectionException
Description copied from interface: DataStore
Method to close the connection to the data store.

Specified by:
close in interface DataStore