|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.asu.cri.MirkE.dataStructures.DataSet
DataSet - a JDBC database / Hibernate backed data store provides a HQL searchable collection of DataPoints
TODO - for now, this is really a MultiWellPlateDataSet; need to refactor the DataSet from MultiWellPlateDataSet so this can be used for other applications
| Constructor Summary | |
DataSet()
default constructor - create a hsqldb database in memory and initialize the tables for Hibernate based object persistance |
|
| Method Summary | |
java.lang.String |
columnNumberToColumnLabel(int columnNumber)
|
void |
computePlateDimensions()
Determine and set the numberOfRows and numberOfColumns of the plate // TODO - refactor this out into another class (probably a subclass of DataSet -> MultiwellPlateDataSet) |
void |
delete(java.lang.Object object)
remove an Object from the DataSet |
java.util.List |
find(java.lang.String query)
execute a database query on the DataSet |
java.util.Set |
getCategoryNames()
|
net.sf.hibernate.cfg.Configuration |
getConfiguration()
get the Hibernate configuration |
java.sql.Connection |
getConnection()
return the SQL database connection |
DataPointCategoryFactory |
getDataPointCategoryFactory()
|
java.util.Vector |
getMeasuredPlateRowColumnVector()
|
int |
getNumberOfColumns()
|
int |
getNumberOfRows()
|
ObservableFactory |
getObservableFactory()
|
java.util.Set |
getObservables()
|
java.util.Set |
getPlateIdentifiers()
|
net.sf.hibernate.Session |
getSession()
|
net.sf.hibernate.SessionFactory |
getSessionFactory()
get the Hibernate sessionFactory |
java.lang.String |
rowNumberToLabel(int rowNumber)
|
void |
save(java.lang.Object object)
save an Object to the DataSet |
void |
setConfiguration(net.sf.hibernate.cfg.Configuration configuration)
set the Hibernate configuration |
void |
setConnection(java.sql.Connection connection)
set the SQL database connection |
void |
setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
set the Hibernate sessionFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataSet()
throws MirkESystemException
MirkEApplicationException
MirkESystemException| Method Detail |
public ObservableFactory getObservableFactory()
public DataPointCategoryFactory getDataPointCategoryFactory()
public java.sql.Connection getConnection()
public void setConnection(java.sql.Connection connection)
connection - public net.sf.hibernate.cfg.Configuration getConfiguration()
public void setConfiguration(net.sf.hibernate.cfg.Configuration configuration)
configuration - public net.sf.hibernate.SessionFactory getSessionFactory()
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
sessionFactory -
public net.sf.hibernate.Session getSession()
throws MirkEApplicationException
Session
MirkEApplicationException
public void save(java.lang.Object object)
throws MirkEApplicationException
Object to the DataSet
object -
MirkEApplicationExceptionpublic void delete(java.lang.Object object)
Object from the DataSet
object -
public java.util.Set getObservables()
throws MirkEApplicationException
Observables known to the DataSet
MirkEApplicationException
public java.util.Set getPlateIdentifiers()
throws MirkEApplicationException
MirkEApplicationException
public java.util.Set getCategoryNames()
throws MirkEApplicationException
Set of all category names known to this DataSet. Cagetories represent a collection of one or more DataPoint(s) with a common property ('growth control'; 'media control'; 'strain 1'; etc).
MirkEApplicationExceptionpublic java.lang.String rowNumberToLabel(int rowNumber)
rowNumber - of a row in a multiwell plate
public java.lang.String columnNumberToColumnLabel(int columnNumber)
columnNumber - of a column in a multiwell plate
public int getNumberOfRows()
DataSetpublic int getNumberOfColumns()
DataSet
public void computePlateDimensions()
throws MirkEApplicationException
MirkEApplicationException
public java.util.Vector getMeasuredPlateRowColumnVector()
throws MirkEApplicationException
MirkEApplicationException
public java.util.List find(java.lang.String query)
throws MirkEApplicationException
query - HQL query
MirkEApplicationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||