Package fr.igred.omero.screen
Interface Well
-
- All Superinterfaces:
Annotatable,HCSLinked,ImageLinked,RemoteObject,RepositoryObject
- All Known Implementing Classes:
WellWrapper
public interface Well extends RepositoryObject, HCSLinked
Interface to handle Wells on OMERO.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WellDataasDataObject()Returns a WellData corresponding to the handled object.intgetAlpha()Returns the alpha component of the color associated to the well, or-1.intgetBlue()Returns the blue component of the color associated to the well, or-1.java.lang.IntegergetColumn()Returns the column used to indicate the location of the well on the grid.intgetGreen()Returns the green component of the color associated to the well, or-1.default java.util.List<Image>getImages()Retrieves the images contained in this well.default java.util.List<Image>getImages(Browser browser)Reloads this well and retrieves the images it contains.PlategetPlate()Returns the plate containing this Well.default java.util.List<PlateAcquisition>getPlateAcquisitions(Browser browser)Refreshes this well and returns the plate acquisitions linked to it.default java.util.List<Plate>getPlates(Browser browser)Reloads this well and returns the plate containing it.intgetRed()Returns the red component of the color associated to the well, or-1.java.lang.IntegergetRow()Returns the row used to indicate the location of the well on the grid.default java.util.List<Screen>getScreens(Browser browser)Refreshes this well and retrieves the screens containing it.java.lang.StringgetStatus()Returns the status of the well.default java.util.List<Well>getWells(Browser browser)Reloads this well and returns it as a singleton list.java.util.List<WellSample>getWellSamples()Returns the well samples linked to the well.java.lang.StringgetWellType()Returns a human-readable identifier for the screening status e.g.voidreload(Browser browser)Reloads the well from OMERO.voidsetAlpha(java.lang.Integer alpha)Sets the alpha component of the color associated to the well.voidsetBlue(java.lang.Integer blue)Sets the blue component of the color associated to the well.voidsetGreen(java.lang.Integer green)Sets the green component of the color associated to the well.voidsetRed(java.lang.Integer red)Sets the red component of the color associated to the well.voidsetStatus(java.lang.String status)Sets the status of the well.voidsetWellType(java.lang.String type)Sets a human-readable identifier for the screening status e.g.-
Methods inherited from interface fr.igred.omero.Annotatable
addAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addKeyValuePair, addTable, addTag, addTag, addTags, copyAnnotationLinks, getAnnotationData, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValues, isLinked, link, link, linkIfNotLinked, rate, unlink
-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
Methods inherited from interface fr.igred.omero.RepositoryObject
getDescription, getName
-
-
-
-
Method Detail
-
asDataObject
WellData asDataObject()
Returns a WellData corresponding to the handled object.- Specified by:
asDataObjectin interfaceRemoteObject- Returns:
- See above.
-
getWellSamples
java.util.List<WellSample> getWellSamples()
Returns the well samples linked to the well.- Returns:
- See above.
-
getScreens
default java.util.List<Screen> getScreens(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException, ServerException
Refreshes this well and retrieves the screens containing it.- Specified by:
getScreensin interfaceHCSLinked- Parameters:
browser- The data browser.- Returns:
- See above
- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.ServerException- Server error.
-
getPlate
Plate getPlate()
Returns the plate containing this Well.- Returns:
- See above.
-
getPlates
default java.util.List<Plate> getPlates(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Reloads this well and returns the plate containing it.- Specified by:
getPlatesin interfaceHCSLinked- Parameters:
browser- The data browser.- Returns:
- See above.
- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
-
getPlateAcquisitions
default java.util.List<PlateAcquisition> getPlateAcquisitions(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Refreshes this well and returns the plate acquisitions linked to it.- Specified by:
getPlateAcquisitionsin interfaceHCSLinked- Parameters:
browser- The data browser.- Returns:
- See above.
- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
-
getWells
default java.util.List<Well> getWells(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Reloads this well and returns it as a singleton list.- Specified by:
getWellsin interfaceHCSLinked- Parameters:
browser- The data browser.- Returns:
- See above.
- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
-
getImages
default java.util.List<Image> getImages(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Reloads this well and retrieves the images it contains.- Specified by:
getImagesin interfaceImageLinked- Parameters:
browser- The data browser.- Returns:
- See above.
- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
-
getImages
default java.util.List<Image> getImages()
Retrieves the images contained in this well.- Returns:
- See above.
-
getColumn
java.lang.Integer getColumn()
Returns the column used to indicate the location of the well on the grid.- Returns:
- See above.
-
getRow
java.lang.Integer getRow()
Returns the row used to indicate the location of the well on the grid.- Returns:
- See above.
-
getStatus
java.lang.String getStatus()
Returns the status of the well.- Returns:
- See above.
-
setStatus
void setStatus(java.lang.String status)
Sets the status of the well.- Parameters:
status- The status of the well.
-
getWellType
java.lang.String getWellType()
Returns a human-readable identifier for the screening status e.g. empty, positive control, etc.- Returns:
- See above.
-
setWellType
void setWellType(java.lang.String type)
Sets a human-readable identifier for the screening status e.g. empty, positive control, etc.- Parameters:
type- The value to set.
-
getRed
int getRed()
Returns the red component of the color associated to the well, or-1.- Returns:
- See above.
-
setRed
void setRed(java.lang.Integer red)
Sets the red component of the color associated to the well.- Parameters:
red- The value to set.
-
getGreen
int getGreen()
Returns the green component of the color associated to the well, or-1.- Returns:
- See above.
-
setGreen
void setGreen(java.lang.Integer green)
Sets the green component of the color associated to the well.- Parameters:
green- The value to set.
-
getBlue
int getBlue()
Returns the blue component of the color associated to the well, or-1.- Returns:
- See above.
-
setBlue
void setBlue(java.lang.Integer blue)
Sets the blue component of the color associated to the well.- Parameters:
blue- The value to set.
-
getAlpha
int getAlpha()
Returns the alpha component of the color associated to the well, or-1.- Returns:
- See above.
-
setAlpha
void setAlpha(java.lang.Integer alpha)
Sets the alpha component of the color associated to the well.- Parameters:
alpha- The value to set.
-
reload
void reload(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Reloads the well from OMERO.- Parameters:
browser- The data browser.- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
-
-