cmu.survey.editor.data
Class DataBitStorageFactory

java.lang.Object
  extended by cmu.survey.editor.data.DataBitStorageFactory

public class DataBitStorageFactory
extends java.lang.Object


Constructor Summary
DataBitStorageFactory()
           
 
Method Summary
static DataBitStorage getInstance(java.lang.String databaseConnectionString)
           
static DataBitStorage getInstance(java.lang.String databaseConnectionString, TableStorage tableStorage)
          If you have already created a TableStorage, call this method -- it will find an existing DataBitStorage for the databaseConnectionString, and if none exists, it will create one with tableStorage.
protected static DataBitStorage getNewInstance(java.lang.String databaseConnectionString)
           
protected static DataBitStorage getNewInstance(TableStorage tableStorage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataBitStorageFactory

public DataBitStorageFactory()
Method Detail

getInstance

public static DataBitStorage getInstance(java.lang.String databaseConnectionString)
                                  throws java.lang.Throwable
Throws:
java.lang.Throwable

getInstance

public static DataBitStorage getInstance(java.lang.String databaseConnectionString,
                                         TableStorage tableStorage)
                                  throws java.lang.Throwable
If you have already created a TableStorage, call this method -- it will find an existing DataBitStorage for the databaseConnectionString, and if none exists, it will create one with tableStorage.

Parameters:
databaseConnectionString -
tableStorage -
Returns:
Throws:
java.lang.Throwable

getNewInstance

protected static DataBitStorage getNewInstance(java.lang.String databaseConnectionString)
                                        throws java.lang.Throwable
Throws:
java.lang.Throwable

getNewInstance

protected static DataBitStorage getNewInstance(TableStorage tableStorage)
                                        throws java.lang.Throwable
Throws:
java.lang.Throwable