Package fr.igred.omero.repository
Class WellWrapper
java.lang.Object
fr.igred.omero.GenericObjectWrapper<T>
fr.igred.omero.AnnotatableWrapper<T>
fr.igred.omero.repository.GenericRepositoryObjectWrapper<WellData>
fr.igred.omero.repository.WellWrapper
Class containing a WellData object.
Wraps function calls to the WellData contained.
-
Nested Class Summary
Nested classes/interfaces inherited from class fr.igred.omero.repository.GenericRepositoryObjectWrapper
GenericRepositoryObjectWrapper.ReplacePolicy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Annotation link name for this type of objectFields inherited from class fr.igred.omero.GenericObjectWrapper
data
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the type of annotation link for this object.Deprecated.Returns the WellData contained.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
.Returns the column used to indicate the location of the well on the grid.Gets the object descriptionint
getGreen()
Returns the green component of the color associated to the well, or-1
.Retrieves the images contained in this well.getName()
Gets the object name.getPlate()
Returns the plate containing this Well.getPlateAcquisitions
(Client client) Refreshes this well and returns the plate acquisitions linked to it.int
getRed()
Returns the red component of the color associated to the well, or-1
.getRow()
Returns the row used to indicate the location of the well on the grid.getScreens
(Client client) Refreshes this well and retrieves the screens containing it.Returns the status of the well.Returns the well samples linked to the well.Returns a human-readable identifier for the screening status e.g.void
Reloads the well from OMERO.void
Sets the alpha component of the color associated to the well.void
Sets the blue component of the color associated to the well.void
Sets the green component of the color associated to the well.void
Sets the red component of the color associated to the well.void
Sets the status of the well.void
setWellType
(String type) Sets a human-readable identifier for the screening status e.g.Methods inherited from class fr.igred.omero.repository.GenericRepositoryObjectWrapper
copyAnnotationLinks, importImage, importImages, refresh
Methods inherited from class fr.igred.omero.AnnotatableWrapper
addAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addFileAnnotation, addKeyValuePair, addMapAnnotation, addPairKeyValue, addTable, addTag, addTag, addTag, addTags, addTags, copyAnnotationLinks, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getRatings, getTable, getTables, getTags, getValue, isLinked, link, link, linkIfNotLinked, rate, removeLink, unlink
Methods inherited from class fr.igred.omero.GenericObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, flatten, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrap
-
Field Details
-
ANNOTATION_LINK
Annotation link name for this type of object- See Also:
-
-
Constructor Details
-
WellWrapper
Constructor of the class WellWrapper.- Parameters:
well
- The WellData contained in the WellWrapper.
-
-
Method Details
-
annotationLinkType
Returns the type of annotation link for this object.- Specified by:
annotationLinkType
in classAnnotatableWrapper<WellData>
- Returns:
- See above.
-
getName
Gets the object name.- Specified by:
getName
in classGenericRepositoryObjectWrapper<WellData>
- Returns:
- See above.
-
getDescription
Gets the object description- Specified by:
getDescription
in classGenericRepositoryObjectWrapper<WellData>
- Returns:
- See above.
-
asWellData
Deprecated.Returns the WellData contained. UseGenericObjectWrapper.asDataObject()
instead.- Returns:
- See above.
-
getWellSamples
Returns the well samples linked to the well.- Returns:
- See above.
-
getScreens
public List<ScreenWrapper> getScreens(Client client) throws ServiceException, AccessException, ExecutionException, OMEROServerError Refreshes this well and retrieves the screens containing it.- Parameters:
client
- The client handling the connection.- Returns:
- See above
- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.OMEROServerError
- Server error.
-
getPlate
Returns the plate containing this Well.- Returns:
- See above.
-
getPlateAcquisitions
public List<PlateAcquisitionWrapper> getPlateAcquisitions(Client client) throws ServiceException, AccessException, ExecutionException Refreshes this well and returns the plate acquisitions linked to it.- Parameters:
client
- The client handling the connection.- Returns:
- See above.
- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-
getImages
Retrieves the images contained in this well.- Returns:
- See above.
-
getColumn
Returns the column used to indicate the location of the well on the grid.- Returns:
- See above.
-
getRow
Returns the row used to indicate the location of the well on the grid.- Returns:
- See above.
-
getStatus
Returns the status of the well.- Returns:
- See above.
-
setStatus
Sets the status of the well.- Parameters:
status
- The status of the well.
-
getWellType
Returns a human-readable identifier for the screening status e.g. empty, positive control, etc.- Returns:
- See above.
-
setWellType
Sets a human-readable identifier for the screening status e.g. empty, positive control, etc.- Parameters:
type
- The value to set.
-
getRed
public int getRed()Returns the red component of the color associated to the well, or-1
.- Returns:
- See above.
-
setRed
Sets the red component of the color associated to the well.- Parameters:
red
- The value to set.
-
getGreen
public int getGreen()Returns the green component of the color associated to the well, or-1
.- Returns:
- See above.
-
setGreen
Sets the green component of the color associated to the well.- Parameters:
green
- The value to set.
-
getBlue
public int getBlue()Returns the blue component of the color associated to the well, or-1
.- Returns:
- See above.
-
setBlue
Sets the blue component of the color associated to the well.- Parameters:
blue
- The value to set.
-
getAlpha
public int getAlpha()Returns the alpha component of the color associated to the well, or-1
.- Returns:
- See above.
-
setAlpha
Sets the alpha component of the color associated to the well.- Parameters:
alpha
- The value to set.
-
reload
Reloads the well from OMERO.- Overrides:
reload
in classGenericRepositoryObjectWrapper<WellData>
- Parameters:
browser
- The data browser.- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-