Package fr.igred.omero.repository
Class PlateWrapper
java.lang.Object
fr.igred.omero.GenericObjectWrapper<T>
fr.igred.omero.AnnotatableWrapper<T>
fr.igred.omero.repository.GenericRepositoryObjectWrapper<PlateData>
fr.igred.omero.repository.PlateWrapper
Class containing a PlateData object.
Wraps function calls to the PlateData 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 PlateData contained.int
Returns the index indicating how to label a column.int
Returns the currently selected field or0
.Gets the plate descriptionReturns the external identifier of the plate.Returns the images contained in the wells of this plate.getName()
Gets the plate name.Returns the plate acquisitions related to this plate.Returns the type of plate e.g.int
Returns the index indicating how to label a row.getScreens
(Client client) Retrieves the screens containing this plate.Returns the status of the plate.getWellOriginX
(omero.model.enums.UnitsLength unit) Returns the x-coordinate in 2D-space of the well.getWellOriginY
(omero.model.enums.UnitsLength unit) Returns the y-coordinate in 2D-space of the well.Gets all wells in the plate available from OMERO.void
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
Sets the name of the plate.void
Sets the status.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
-
PlateWrapper
Constructor of the class PlateWrapper.- Parameters:
plate
- The plate contained in the PlateWrapper.
-
-
Method Details
-
annotationLinkType
Returns the type of annotation link for this object.- Specified by:
annotationLinkType
in classAnnotatableWrapper<PlateData>
- Returns:
- See above.
-
getName
Gets the plate name.- Specified by:
getName
in classGenericRepositoryObjectWrapper<PlateData>
- Returns:
- See above.
-
setName
Sets the name of the plate.- Parameters:
name
- The name of the plate. Mustn't benull
.- Throws:
IllegalArgumentException
- If the name isnull
.
-
asPlateData
Deprecated.Returns the PlateData contained. UseGenericObjectWrapper.asDataObject()
instead.- Returns:
- See above.
-
getDescription
Gets the plate description- Specified by:
getDescription
in classGenericRepositoryObjectWrapper<PlateData>
- Returns:
- See above.
-
setDescription
Sets the description of the plate.- Parameters:
description
- The description of the plate.
-
getScreens
public List<ScreenWrapper> getScreens(Client client) throws OMEROServerError, ServiceException, AccessException, ExecutionException Retrieves the screens containing this plate.- Parameters:
client
- The client handling the connection.- Returns:
- See above.
- Throws:
OMEROServerError
- Server error.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-
getPlateAcquisitions
Returns the plate acquisitions related to this plate.- Returns:
- See above.
-
getWells
public List<WellWrapper> getWells(Client client) throws ServiceException, AccessException, ExecutionException Gets all wells in the plate available from OMERO.- 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
public List<ImageWrapper> getImages(Client client) throws ServiceException, AccessException, ExecutionException Returns the images contained in the wells of this plate.- 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.
-
getColumnSequenceIndex
public int getColumnSequenceIndex()Returns the index indicating how to label a column.- Returns:
- See above.
-
getRowSequenceIndex
public int getRowSequenceIndex()Returns the index indicating how to label a row.- Returns:
- See above.
-
getDefaultSample
public int getDefaultSample()Returns the currently selected field or0
.- Returns:
- See above.
-
setDefaultSample
public void setDefaultSample(int value) Sets the default sample.- Parameters:
value
- The value to set.
-
getStatus
Returns the status of the plate.- Returns:
- See above.
-
setStatus
Sets the status.- Parameters:
value
- The value to set.
-
getExternalIdentifier
Returns the external identifier of the plate.- Returns:
- See above.
-
setExternalIdentifier
Sets the external identifier.- Parameters:
value
- The value to set.
-
getPlateType
Returns the type of plate e.g. A 384-Well Plate, 96-Well Plate.- Returns:
- See above.
-
getWellOriginX
Returns the x-coordinate in 2D-space of the well.- 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
Returns the y-coordinate in 2D-space of the well.- 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
Reloads the plate from OMERO.- Overrides:
reload
in classGenericRepositoryObjectWrapper<PlateData>
- Parameters:
browser
- The client handling the connection.- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-