Package fr.igred.omero.screen
Class WellWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.AnnotatableWrapper<T>
-
- fr.igred.omero.RepositoryObjectWrapper<WellData>
-
- fr.igred.omero.screen.WellWrapper
-
- All Implemented Interfaces:
Annotatable
,HCSLinked
,ImageLinked
,RemoteObject
,RepositoryObject
,Well
public class WellWrapper extends RepositoryObjectWrapper<WellData> implements Well
Class containing a WellData object.Wraps function calls to the WellData contained.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ANNOTATION_LINK
Annotation link name for this type of object-
Fields inherited from class fr.igred.omero.ObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description WellWrapper(WellData well)
Constructor of the class WellWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
annotationLinkType()
Returns the type of annotation link for this 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.java.lang.String
getDescription()
Gets the object descriptionint
getGreen()
Returns the green component of the color associated to the well, or-1
.java.lang.String
getName()
Gets the object name.Plate
getPlate()
Returns the plate containing this Well.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.java.lang.String
getStatus()
Returns the status of the well.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 class fr.igred.omero.RepositoryObjectWrapper
importImage, importImages
-
Methods inherited from class fr.igred.omero.AnnotatableWrapper
addAndReplaceFile, addAndReplaceTable, addKeyValuePair, addTag, addTag, getAnnotations, getFileAnnotations, getMapAnnotations, getMyRating, getTable, getTags, rate, removeLink, unlink
-
Methods inherited from class fr.igred.omero.ObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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.screen.Well
asDataObject, getImages, getImages, getPlateAcquisitions, getPlates, getScreens, getWells
-
-
-
-
Field Detail
-
ANNOTATION_LINK
public static final java.lang.String ANNOTATION_LINK
Annotation link name for this type of object- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WellWrapper
public WellWrapper(WellData well)
Constructor of the class WellWrapper.- Parameters:
well
- The WellData contained in the WellWrapper.
-
-
Method Detail
-
annotationLinkType
protected java.lang.String annotationLinkType()
Returns the type of annotation link for this object.- Specified by:
annotationLinkType
in classAnnotatableWrapper<WellData>
- Returns:
- See above.
-
getName
public java.lang.String getName()
Gets the object name.- Specified by:
getName
in interfaceRepositoryObject
- Returns:
- See above.
-
getDescription
public java.lang.String getDescription()
Gets the object description- Specified by:
getDescription
in interfaceRepositoryObject
- Returns:
- See above.
-
getWellSamples
public java.util.List<WellSample> getWellSamples()
Returns the well samples linked to the well.- Specified by:
getWellSamples
in interfaceWell
- Returns:
- See above.
-
getPlate
public Plate getPlate()
Returns the plate containing this Well.
-
getColumn
public java.lang.Integer getColumn()
Returns the column used to indicate the location of the well on the grid.
-
getRow
public java.lang.Integer getRow()
Returns the row used to indicate the location of the well on the grid.
-
getStatus
public java.lang.String getStatus()
Returns the status of the well.
-
setStatus
public void setStatus(java.lang.String status)
Sets the status of the well.
-
getWellType
public java.lang.String getWellType()
Returns a human-readable identifier for the screening status e.g. empty, positive control, etc.- Specified by:
getWellType
in interfaceWell
- Returns:
- See above.
-
setWellType
public void setWellType(java.lang.String type)
Sets a human-readable identifier for the screening status e.g. empty, positive control, etc.- Specified by:
setWellType
in interfaceWell
- Parameters:
type
- The value to set.
-
getRed
public int getRed()
Returns the red component of the color associated to the well, or-1
.
-
setRed
public void setRed(java.lang.Integer red)
Sets the red component of the color associated to the well.
-
getGreen
public int getGreen()
Returns the green component of the color associated to the well, or-1
.
-
setGreen
public void setGreen(java.lang.Integer green)
Sets the green component of the color associated to the well.
-
getBlue
public int getBlue()
Returns the blue component of the color associated to the well, or-1
.
-
setBlue
public void setBlue(java.lang.Integer blue)
Sets the blue component of the color associated to the well.
-
getAlpha
public int getAlpha()
Returns the alpha component of the color associated to the well, or-1
.
-
setAlpha
public void setAlpha(java.lang.Integer alpha)
Sets the alpha component of the color associated to the well.
-
reload
public void reload(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Reloads the well from OMERO.- Specified by:
reload
in interfaceWell
- 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.
-
-