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 WellData
asDataObject()
Returns a WellData corresponding to the handled object.int
getAlpha()
Returns the alpha component of the color associated to the well, or-1
.int
getBlue()
Returns the blue component of the color associated to the well, or-1
.java.lang.Integer
getColumn()
Returns the column used to indicate the location of the well on the grid.int
getGreen()
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.Plate
getPlate()
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.int
getRed()
Returns the red component of the color associated to the well, or-1
.java.lang.Integer
getRow()
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.String
getStatus()
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.String
getWellType()
Returns a human-readable identifier for the screening status e.g.void
reload(Browser browser)
Reloads the well from OMERO.void
setAlpha(java.lang.Integer alpha)
Sets the alpha component of the color associated to the well.void
setBlue(java.lang.Integer blue)
Sets the blue component of the color associated to the well.void
setGreen(java.lang.Integer green)
Sets the green component of the color associated to the well.void
setRed(java.lang.Integer red)
Sets the red component of the color associated to the well.void
setStatus(java.lang.String status)
Sets the status of the well.void
setWellType(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:
asDataObject
in 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:
getScreens
in 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:
getPlates
in 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:
getPlateAcquisitions
in 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:
getWells
in 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:
getImages
in 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.
-
-