public class PlateWrapper extends AnnotatableWrapper<PlateData> implements Plate
Wraps function calls to the PlateData contained.
Modifier and Type | Field and Description |
---|---|
static String |
ANNOTATION_LINK
Annotation link name for this type of object
|
data
Constructor and Description |
---|
PlateWrapper(PlateData plate)
Constructor of the class PlateWrapper.
|
Modifier and Type | Method and Description |
---|---|
protected String |
annotationLinkType()
Returns the type of annotation link for this object.
|
int |
getColumnSequenceIndex()
Returns the index indicating how to label a column.
|
int |
getDefaultSample()
Returns the currently selected field or
0 . |
String |
getDescription()
Gets the plate description
|
String |
getExternalIdentifier()
Returns the external identifier of the plate.
|
String |
getName()
Gets the plate name.
|
List<PlateAcquisition> |
getPlateAcquisitions()
Returns the plate acquisitions related to this plate.
|
String |
getPlateType()
Returns the type of plate e.g.
|
int |
getRowSequenceIndex()
Returns the index indicating how to label a row.
|
String |
getStatus()
Returns the status of the plate.
|
Length |
getWellOriginX(omero.model.enums.UnitsLength unit)
Returns the x-coordinate in 2D-space of the well.
|
Length |
getWellOriginY(omero.model.enums.UnitsLength unit)
Returns the y-coordinate in 2D-space of the well.
|
List<Well> |
getWells(Browser browser)
Gets all wells in the plate available from OMERO.
|
void |
reload(Browser browser)
Reloads the plate from OMERO.
|
void |
setDefaultSample(int value)
Sets the default sample.
|
void |
setDescription(String description)
Sets the description of the plate.
|
void |
setExternalIdentifier(String value)
Sets the external identifier.
|
void |
setName(String name)
Sets the name of the plate.
|
void |
setStatus(String value)
Sets the status.
|
addAndReplaceFile, addAndReplaceTable, addKeyValuePair, addTag, addTag, getAnnotations, getFileAnnotations, getMapAnnotations, getMyRating, getTable, getTags, rate, removeLink, unlink
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asDataObject, getChildren, getImages, getParents, getPlateAcquisitions, getScreens
addAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addKeyValuePair, addTable, addTag, addTag, addTags, copyAnnotationLinks, getAnnotationData, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValues, isLinked, link, link, link, linkIfNotLinked, rate, unlink
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
public static final String ANNOTATION_LINK
public PlateWrapper(PlateData plate)
plate
- The plate contained in the PlateWrapper.protected String annotationLinkType()
annotationLinkType
in class AnnotatableWrapper<PlateData>
public String getName()
getName
in interface RepositoryObject
public void setName(String name)
setName
in interface Plate
name
- The name of the plate. Mustn't be null
.IllegalArgumentException
- If the name is null
.public String getDescription()
getDescription
in interface RepositoryObject
public void setDescription(String description)
setDescription
in interface Plate
description
- The description of the plate.public List<PlateAcquisition> getPlateAcquisitions()
getPlateAcquisitions
in interface Plate
public List<Well> getWells(Browser browser) throws ServiceException, AccessException, ExecutionException
getWells
in interface Plate
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.public int getColumnSequenceIndex()
getColumnSequenceIndex
in interface Plate
public int getRowSequenceIndex()
getRowSequenceIndex
in interface Plate
public int getDefaultSample()
0
.getDefaultSample
in interface Plate
public void setDefaultSample(int value)
setDefaultSample
in interface Plate
value
- The value to set.public String getStatus()
public void setStatus(String value)
public String getExternalIdentifier()
getExternalIdentifier
in interface Plate
public void setExternalIdentifier(String value)
setExternalIdentifier
in interface Plate
value
- The value to set.public String getPlateType()
getPlateType
in interface Plate
public Length getWellOriginX(omero.model.enums.UnitsLength unit) throws BigResult
getWellOriginX
in interface Plate
unit
- The unit (can be null, in which case no conversion will be performed)BigResult
- If an arithmetic under-/overflow occurredpublic Length getWellOriginY(omero.model.enums.UnitsLength unit) throws BigResult
getWellOriginY
in interface Plate
unit
- The unit (can be null, in which case no conversion will be performed)BigResult
- If an arithmetic under-/overflow occurredpublic void reload(Browser browser) throws ServiceException, AccessException, ExecutionException
reload
in interface RepositoryObject
reload
in interface Plate
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.Copyright © 2020–2023 GReD. All rights reserved.