|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.blitz.measurements.MeasurementStore
public class MeasurementStore
Parser API implementation for storing result measurements from SPW companion files as ROIs and OMERO.tables.
Constructor Summary | |
---|---|
MeasurementStore(LocalUpdate update,
omero.grid.TablePrx table)
|
Method Summary | |
---|---|
void |
addCircle(String roiLsid,
double x,
double y,
double r)
|
void |
addObject(String lsid,
ome.model.IObject obj)
|
void |
addObjects(Map<String,ome.model.IObject> map)
|
void |
addRows(Object[][] rows)
Adds an array of rows (Object[]) to the store. |
List<Long> |
getRoiIds()
Returns the ids of all Roi instances created during the save method. |
omero.grid.TablePrx |
getTable()
Returns the Table proxy which is in use by this service. |
void |
initialize(String[] headers,
String[] idTypes,
Class[] types,
Map<String,Object> metadata)
|
void |
save()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeasurementStore(LocalUpdate update, omero.grid.TablePrx table) throws omero.ServerError
omero.ServerError
Method Detail |
---|
public void initialize(String[] headers, String[] idTypes, Class[] types, Map<String,Object> metadata) throws omero.ServerError
initialize
in interface OmeroMeasurementStore
omero.ServerError
public void addObject(String lsid, ome.model.IObject obj)
addObject
in interface OmeroMeasurementStore
public void addObjects(Map<String,ome.model.IObject> map)
addObjects
in interface OmeroMeasurementStore
public void addRows(Object[][] rows) throws omero.ServerError
OmeroMeasurementStore
OmeroMeasurementStore.addRows(Object[][])
a call to OmeroMeasurementStore.save()
must be made. This
allows a single measurement store to be filled with the values from
multiple measurement files. To differentiate between the various files,
include a File lsid column during the initialization phase.
addRows
in interface OmeroMeasurementStore
omero.ServerError
public void addCircle(String roiLsid, double x, double y, double r) throws omero.ServerError
addCircle
in interface OmeroMeasurementStore
omero.ServerError
public void save() throws Exception
save
in interface OmeroMeasurementStore
Exception
public List<Long> getRoiIds()
OmeroMeasurementStore
OmeroMeasurementStore.save()
has not been called, this will
return null.
getRoiIds
in interface OmeroMeasurementStore
public omero.grid.TablePrx getTable()
OmeroMeasurementStore
getTable
in interface OmeroMeasurementStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.