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.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 PlateAcquisitionWrapper(PlateAcquisitionData plateAcquisition)
Constructor of the class PlateAcquisitionWrapper.
-
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.java.lang.String
getDescription()
Gets the plate acquisition descriptionjava.sql.Timestamp
getEndTime()
Returns the time when the last image was collected.java.lang.String
getLabel()
Returns the label associated to the plate acquisition.int
getMaximumFieldCount()
Returns the maximum number of fields in any well.java.lang.String
getName()
Gets the plate acquisition name.long
getRefPlateId()
Returns the id of the plate of reference.java.sql.Timestamp
getStartTime()
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.void
setDescription(java.lang.String description)
Sets the description of the plate acquisition.void
setName(java.lang.String name)
Sets the name of the plate acquisition.void
setRefPlateId(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:
annotationLinkType
in classAnnotatableWrapper<PlateAcquisitionData>
- Returns:
- See above.
-
getName
public java.lang.String getName()
Gets the plate acquisition name.- Specified by:
getName
in interfaceRepositoryObject
- Returns:
- See above.
-
setName
public void setName(java.lang.String name)
Sets the name of the plate acquisition.- Specified by:
setName
in 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:
getDescription
in interfaceRepositoryObject
- Returns:
- See above.
-
setDescription
public void setDescription(java.lang.String description)
Sets the description of the plate acquisition.- Specified by:
setDescription
in 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:
link
in interfaceAnnotatable
- Specified by:
link
in 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:
getLabel
in interfacePlateAcquisition
- Returns:
- See above.
-
getRefPlateId
public long getRefPlateId()
Returns the id of the plate of reference.- Specified by:
getRefPlateId
in interfacePlateAcquisition
- Returns:
- See above.
-
setRefPlateId
public void setRefPlateId(long refPlateId)
Sets the id of the plate this plate acquisition is for.- Specified by:
setRefPlateId
in interfacePlateAcquisition
- Parameters:
refPlateId
- The value to set.
-
getStartTime
public java.sql.Timestamp getStartTime()
Returns the time when the first image was collected.- Specified by:
getStartTime
in interfacePlateAcquisition
- Returns:
- See above.
-
getEndTime
public java.sql.Timestamp getEndTime()
Returns the time when the last image was collected.- Specified by:
getEndTime
in interfacePlateAcquisition
- Returns:
- See above.
-
getMaximumFieldCount
public int getMaximumFieldCount()
Returns the maximum number of fields in any well.- Specified by:
getMaximumFieldCount
in interfacePlateAcquisition
- Returns:
- See above.
-
-