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
 
 
 
 
- 
 public class WellWrapper extends GenericRepositoryObjectWrapper<WellData> 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.GenericRepositoryObjectWrapperGenericRepositoryObjectWrapper.ReplacePolicy
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringANNOTATION_LINKAnnotation link name for this type of object- 
Fields inherited from class fr.igred.omero.GenericObjectWrapperdata
 
- 
 - 
Constructor SummaryConstructors Constructor Description WellWrapper(WellData well)Constructor of the class WellWrapper.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.StringannotationLinkType()Returns the type of annotation link for this object.WellDataasWellData()Deprecated.Returns the WellData contained.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.java.lang.StringgetDescription()Gets the object descriptionintgetGreen()Returns the green component of the color associated to the well, or-1.java.util.List<ImageWrapper>getImages()Retrieves the images contained in this well.java.lang.StringgetName()Gets the object name.PlateWrappergetPlate()Returns the plate containing this Well.java.util.List<PlateAcquisitionWrapper>getPlateAcquisitions(Client client)Refreshes this well and returns the plate acquisitions linked to 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.java.util.List<ScreenWrapper>getScreens(Client client)Refreshes this well and retrieves the screens containing it.java.lang.StringgetStatus()Returns the status of the well.java.util.List<WellSampleWrapper>getWellSamples()Returns the well samples linked to the well.java.lang.StringgetWellType()Returns a human-readable identifier for the screening status e.g.voidrefresh(Client client)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 class fr.igred.omero.repository.GenericRepositoryObjectWrappercopyAnnotationLinks, importImage, importImages
 - 
Methods inherited from class fr.igred.omero.AnnotatableWrapperaddAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addFileAnnotation, addKeyValuePair, addMapAnnotation, addPairKeyValue, addTable, addTag, addTag, addTag, addTags, addTags, copyAnnotationLinks, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValue, isLinked, link, link, linkIfNotLinked, rate, removeLink, unlink
 - 
Methods inherited from class fr.igred.omero.GenericObjectWrapperasDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, flatten, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
 
- 
 
- 
- 
- 
Field Detail- 
ANNOTATION_LINKpublic static final java.lang.String ANNOTATION_LINK Annotation link name for this type of object- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
WellWrapperpublic WellWrapper(WellData well) Constructor of the class WellWrapper.- Parameters:
- well- The WellData contained in the WellWrapper.
 
 
- 
 - 
Method Detail- 
annotationLinkTypeprotected java.lang.String annotationLinkType() Returns the type of annotation link for this object.- Specified by:
- annotationLinkTypein class- AnnotatableWrapper<WellData>
- Returns:
- See above.
 
 - 
getNamepublic java.lang.String getName() Gets the object name.- Specified by:
- getNamein class- GenericRepositoryObjectWrapper<WellData>
- Returns:
- See above.
 
 - 
getDescriptionpublic java.lang.String getDescription() Gets the object description- Specified by:
- getDescriptionin class- GenericRepositoryObjectWrapper<WellData>
- Returns:
- See above.
 
 - 
asWellData@Deprecated public WellData asWellData() Deprecated.Returns the WellData contained. UseGenericObjectWrapper.asDataObject()instead.- Returns:
- See above.
 
 - 
getWellSamplespublic java.util.List<WellSampleWrapper> getWellSamples() Returns the well samples linked to the well.- Returns:
- See above.
 
 - 
getScreenspublic java.util.List<ScreenWrapper> getScreens(Client client) throws ServiceException, AccessException, java.util.concurrent.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.
- java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
- OMEROServerError- Server error.
 
 - 
getPlatepublic PlateWrapper getPlate() Returns the plate containing this Well.- Returns:
- See above.
 
 - 
getPlateAcquisitionspublic java.util.List<PlateAcquisitionWrapper> getPlateAcquisitions(Client client) throws ServiceException, AccessException, java.util.concurrent.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.
- java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
 
 - 
getImagespublic java.util.List<ImageWrapper> getImages() Retrieves the images contained in this well.- Returns:
- See above.
 
 - 
getColumnpublic java.lang.Integer getColumn() Returns the column used to indicate the location of the well on the grid.- Returns:
- See above.
 
 - 
getRowpublic java.lang.Integer getRow() Returns the row used to indicate the location of the well on the grid.- Returns:
- See above.
 
 - 
getStatuspublic java.lang.String getStatus() Returns the status of the well.- Returns:
- See above.
 
 - 
setStatuspublic void setStatus(java.lang.String status) Sets the status of the well.- Parameters:
- status- The status of the well.
 
 - 
getWellTypepublic java.lang.String getWellType() Returns a human-readable identifier for the screening status e.g. empty, positive control, etc.- Returns:
- See above.
 
 - 
setWellTypepublic 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.
 
 - 
getRedpublic int getRed() Returns the red component of the color associated to the well, or-1.- Returns:
- See above.
 
 - 
setRedpublic void setRed(java.lang.Integer red) Sets the red component of the color associated to the well.- Parameters:
- red- The value to set.
 
 - 
getGreenpublic int getGreen() Returns the green component of the color associated to the well, or-1.- Returns:
- See above.
 
 - 
setGreenpublic void setGreen(java.lang.Integer green) Sets the green component of the color associated to the well.- Parameters:
- green- The value to set.
 
 - 
getBluepublic int getBlue() Returns the blue component of the color associated to the well, or-1.- Returns:
- See above.
 
 - 
setBluepublic void setBlue(java.lang.Integer blue) Sets the blue component of the color associated to the well.- Parameters:
- blue- The value to set.
 
 - 
getAlphapublic int getAlpha() Returns the alpha component of the color associated to the well, or-1.- Returns:
- See above.
 
 - 
setAlphapublic void setAlpha(java.lang.Integer alpha) Sets the alpha component of the color associated to the well.- Parameters:
- alpha- The value to set.
 
 - 
refreshpublic void refresh(Client client) throws ServiceException, AccessException, java.util.concurrent.ExecutionException Reloads the well from OMERO.- Parameters:
- client- The client handling the connection.
- Throws:
- ServiceException- Cannot connect to OMERO.
- AccessException- Cannot access data.
- java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
 
 
- 
 
-