Package fr.igred.omero.screen
Class PlateAcquisitionWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.AnnotatableWrapper<T>
-
- fr.igred.omero.RepositoryObjectWrapper<PlateAcquisitionData>
-
- fr.igred.omero.screen.PlateAcquisitionWrapper
-
- All Implemented Interfaces:
Annotatable,HCSLinked,ImageLinked,RemoteObject,RepositoryObject,PlateAcquisition
public class PlateAcquisitionWrapper extends RepositoryObjectWrapper<PlateAcquisitionData> implements PlateAcquisition
Class containing a PlateAcquisitionData object.Wraps function calls to the PlateAcquisitionData 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 PlateAcquisitionWrapper(PlateAcquisitionData plateAcquisition)Constructor of the class PlateAcquisitionWrapper.
-
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.java.lang.StringgetDescription()Gets the plate acquisition descriptionjava.sql.TimestampgetEndTime()Returns the time when the last image was collected.java.lang.StringgetLabel()Returns the label associated to the plate acquisition.intgetMaximumFieldCount()Returns the maximum number of fields in any well.java.lang.StringgetName()Gets the plate acquisition name.longgetRefPlateId()Returns the id of the plate of reference.java.sql.TimestampgetStartTime()Returns the time when the first image was collected.<A extends AnnotationData>
voidlink(DataManager dm, A annotation)Adds a tag to the object in OMERO, if possible.voidsetDescription(java.lang.String description)Sets the description of the plate acquisition.voidsetName(java.lang.String name)Sets the name of the plate acquisition.voidsetRefPlateId(long refPlateId)Sets the id of the plate this plate acquisition is for.-
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.PlateAcquisition
asDataObject, getImages, getPlateAcquisitions, getPlates, getScreens, getWells
-
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
-
PlateAcquisitionWrapper
public PlateAcquisitionWrapper(PlateAcquisitionData plateAcquisition)
Constructor of the class PlateAcquisitionWrapper.- Parameters:
plateAcquisition- The PlateAcquisitionData to wrap in the PlateAcquisitionWrapper.
-
-
Method Detail
-
annotationLinkType
protected java.lang.String annotationLinkType()
Returns the type of annotation link for this object.- Specified by:
annotationLinkTypein classAnnotatableWrapper<PlateAcquisitionData>- Returns:
- See above.
-
getName
public java.lang.String getName()
Gets the plate acquisition name.- Specified by:
getNamein interfaceRepositoryObject- Returns:
- See above.
-
setName
public void setName(java.lang.String name)
Sets the name of the plate acquisition.- Specified by:
setNamein interfacePlateAcquisition- Parameters:
name- The name of the plate acquisition. Mustn't benull.- Throws:
java.lang.IllegalArgumentException- If the name isnull.
-
getDescription
public java.lang.String getDescription()
Gets the plate acquisition description- Specified by:
getDescriptionin interfaceRepositoryObject- Returns:
- See above.
-
setDescription
public void setDescription(java.lang.String description)
Sets the description of the plate acquisition.- Specified by:
setDescriptionin interfacePlateAcquisition- Parameters:
description- The description of the plate acquisition.
-
link
public <A extends AnnotationData> void link(DataManager dm, A annotation) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Adds a tag to the object in OMERO, if possible.- Specified by:
linkin interfaceAnnotatable- Specified by:
linkin interfacePlateAcquisition- Type Parameters:
A- The type of the annotation.- Parameters:
dm- The data manager.annotation- Tag to be added.- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
-
getLabel
public java.lang.String getLabel()
Returns the label associated to the plate acquisition.- Specified by:
getLabelin interfacePlateAcquisition- Returns:
- See above.
-
getRefPlateId
public long getRefPlateId()
Returns the id of the plate of reference.- Specified by:
getRefPlateIdin interfacePlateAcquisition- Returns:
- See above.
-
setRefPlateId
public void setRefPlateId(long refPlateId)
Sets the id of the plate this plate acquisition is for.- Specified by:
setRefPlateIdin interfacePlateAcquisition- Parameters:
refPlateId- The value to set.
-
getStartTime
public java.sql.Timestamp getStartTime()
Returns the time when the first image was collected.- Specified by:
getStartTimein interfacePlateAcquisition- Returns:
- See above.
-
getEndTime
public java.sql.Timestamp getEndTime()
Returns the time when the last image was collected.- Specified by:
getEndTimein interfacePlateAcquisition- Returns:
- See above.
-
getMaximumFieldCount
public int getMaximumFieldCount()
Returns the maximum number of fields in any well.- Specified by:
getMaximumFieldCountin interfacePlateAcquisition- Returns:
- See above.
-
-