Package fr.igred.omero.screen
Class PlateWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.AnnotatableWrapper<T>
-
- fr.igred.omero.RepositoryObjectWrapper<PlateData>
-
- fr.igred.omero.screen.PlateWrapper
-
- All Implemented Interfaces:
Annotatable,HCSLinked,ImageLinked,RemoteObject,RepositoryObject,Plate
public class PlateWrapper extends RepositoryObjectWrapper<PlateData> implements Plate
Class containing a PlateData object.Wraps function calls to the PlateData contained.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringANNOTATION_LINKAnnotation link name for this type of object-
Fields inherited from class fr.igred.omero.ObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description PlateWrapper(PlateData plate)Constructor of the class PlateWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringannotationLinkType()Returns the type of annotation link for this object.intgetColumnSequenceIndex()Returns the index indicating how to label a column.intgetDefaultSample()Returns the currently selected field or0.java.lang.StringgetDescription()Gets the plate descriptionjava.lang.StringgetExternalIdentifier()Returns the external identifier of the plate.java.lang.StringgetName()Gets the plate name.java.util.List<PlateAcquisition>getPlateAcquisitions()Returns the plate acquisitions related to this plate.java.lang.StringgetPlateType()Returns the type of plate e.g.intgetRowSequenceIndex()Returns the index indicating how to label a row.java.lang.StringgetStatus()Returns the status of the plate.LengthgetWellOriginX(omero.model.enums.UnitsLength unit)Returns the x-coordinate in 2D-space of the well.LengthgetWellOriginY(omero.model.enums.UnitsLength unit)Returns the y-coordinate in 2D-space of the well.java.util.List<Well>getWells(Browser browser)Gets all wells in the plate available from OMERO.voidreload(Browser browser)Reloads the plate from OMERO.voidsetDefaultSample(int value)Sets the default sample.voidsetDescription(java.lang.String description)Sets the description of the plate.voidsetExternalIdentifier(java.lang.String value)Sets the external identifier.voidsetName(java.lang.String name)Sets the name of the plate.voidsetStatus(java.lang.String value)Sets the status.-
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.screen.Plate
asDataObject, getImages, getPlateAcquisitions, getPlates, getScreens
-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
-
-
-
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
-
PlateWrapper
public PlateWrapper(PlateData plate)
Constructor of the class PlateWrapper.- Parameters:
plate- The plate contained in the PlateWrapper.
-
-
Method Detail
-
annotationLinkType
protected java.lang.String annotationLinkType()
Returns the type of annotation link for this object.- Specified by:
annotationLinkTypein classAnnotatableWrapper<PlateData>- Returns:
- See above.
-
getName
public java.lang.String getName()
Gets the plate name.- Specified by:
getNamein interfaceRepositoryObject- Returns:
- See above.
-
setName
public void setName(java.lang.String name)
Sets the name of the plate.
-
getDescription
public java.lang.String getDescription()
Gets the plate description- Specified by:
getDescriptionin interfaceRepositoryObject- Returns:
- See above.
-
setDescription
public void setDescription(java.lang.String description)
Sets the description of the plate.- Specified by:
setDescriptionin interfacePlate- Parameters:
description- The description of the plate.
-
getPlateAcquisitions
public java.util.List<PlateAcquisition> getPlateAcquisitions()
Returns the plate acquisitions related to this plate.- Specified by:
getPlateAcquisitionsin interfacePlate- Returns:
- See above.
-
getWells
public java.util.List<Well> getWells(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Gets all wells in the plate available from OMERO.- Specified by:
getWellsin interfaceHCSLinked- Specified by:
getWellsin interfacePlate- 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.
-
getColumnSequenceIndex
public int getColumnSequenceIndex()
Returns the index indicating how to label a column.- Specified by:
getColumnSequenceIndexin interfacePlate- Returns:
- See above.
-
getRowSequenceIndex
public int getRowSequenceIndex()
Returns the index indicating how to label a row.- Specified by:
getRowSequenceIndexin interfacePlate- Returns:
- See above.
-
getDefaultSample
public int getDefaultSample()
Returns the currently selected field or0.- Specified by:
getDefaultSamplein interfacePlate- Returns:
- See above.
-
setDefaultSample
public void setDefaultSample(int value)
Sets the default sample.- Specified by:
setDefaultSamplein interfacePlate- Parameters:
value- The value to set.
-
getStatus
public java.lang.String getStatus()
Returns the status of the plate.
-
setStatus
public void setStatus(java.lang.String value)
Sets the status.
-
getExternalIdentifier
public java.lang.String getExternalIdentifier()
Returns the external identifier of the plate.- Specified by:
getExternalIdentifierin interfacePlate- Returns:
- See above.
-
setExternalIdentifier
public void setExternalIdentifier(java.lang.String value)
Sets the external identifier.- Specified by:
setExternalIdentifierin interfacePlate- Parameters:
value- The value to set.
-
getPlateType
public java.lang.String getPlateType()
Returns the type of plate e.g. A 384-Well Plate, 96-Well Plate.- Specified by:
getPlateTypein interfacePlate- Returns:
- See above.
-
getWellOriginX
public Length getWellOriginX(omero.model.enums.UnitsLength unit) throws BigResult
Returns the x-coordinate in 2D-space of the well.- Specified by:
getWellOriginXin interfacePlate- Parameters:
unit- The unit (can be null, in which case no conversion will be performed)- Returns:
- See above
- Throws:
BigResult- If an arithmetic under-/overflow occurred
-
getWellOriginY
public Length getWellOriginY(omero.model.enums.UnitsLength unit) throws BigResult
Returns the y-coordinate in 2D-space of the well.- Specified by:
getWellOriginYin interfacePlate- Parameters:
unit- The unit (can be null, in which case no conversion will be performed)- Returns:
- See above
- Throws:
BigResult- If an arithmetic under-/overflow occurred
-
reload
public void reload(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Reloads the plate from OMERO.- Specified by:
reloadin interfacePlate- 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.
-
-