Package fr.igred.omero.repository
Class PlateAcquisitionWrapper
- java.lang.Object
-
- fr.igred.omero.GenericObjectWrapper<T>
-
- fr.igred.omero.repository.GenericRepositoryObjectWrapper<PlateAcquisitionData>
-
- fr.igred.omero.repository.PlateAcquisitionWrapper
-
public class PlateAcquisitionWrapper extends GenericRepositoryObjectWrapper<PlateAcquisitionData>
-
-
Field Summary
Fields Modifier and Type Field Description static StringANNOTATION_LINK-
Fields inherited from class fr.igred.omero.GenericObjectWrapper
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 voidaddTag(Client client, TagAnnotationData tagData)Protected function.protected StringannotationLinkType()Returns the type of annotation link for this objectPlateAcquisitionDataasPlateAcquisitionData()StringgetDescription()Gets the plate acquisition descriptionTimestampgetEndTime()Returns the time when the last image was collected.StringgetLabel()Returns the label associated to the plate acquisition.intgetMaximumFieldCount()Returns the maximum number of fields in any well.StringgetName()Gets the plate acquisition name.longgetRefPlateId()Returns the id of the plate of reference.TimestampgetStartTime()Returns the time when the first image was collected.voidsetDescription(String description)Sets the description of the plate acquisition.voidsetName(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.repository.GenericRepositoryObjectWrapper
addFile, addMapAnnotation, addPairKeyValue, addTable, addTag, addTag, addTag, addTags, addTags, getFileAnnotations, getKeyValuePairs, getTable, getTables, getTags, getValue, removeLink, unlink
-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
-
-
-
Field Detail
-
ANNOTATION_LINK
public static final String ANNOTATION_LINK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PlateAcquisitionWrapper
public PlateAcquisitionWrapper(PlateAcquisitionData plateAcquisition)
Constructor of the class PlateAcquisitionWrapper.- Parameters:
plateAcquisition- The plate acquisition contained in the PlateAcquisitionWrapper.
-
-
Method Detail
-
annotationLinkType
protected String annotationLinkType()
Returns the type of annotation link for this object- Specified by:
annotationLinkTypein classGenericRepositoryObjectWrapper<PlateAcquisitionData>- Returns:
- See above.
-
getName
public String getName()
Gets the plate acquisition name.- Specified by:
getNamein classGenericRepositoryObjectWrapper<PlateAcquisitionData>- Returns:
- See above.
-
setName
public void setName(String name)
Sets the name of the plate acquisition.- Parameters:
name- The name of the plate acquisition. Mustn't benull.- Throws:
IllegalArgumentException- If the name isnull.
-
asPlateAcquisitionData
public PlateAcquisitionData asPlateAcquisitionData()
- Returns:
- the PlateAcquisitionData contained.
-
getDescription
public String getDescription()
Gets the plate acquisition description- Specified by:
getDescriptionin classGenericRepositoryObjectWrapper<PlateAcquisitionData>- Returns:
- See above.
-
setDescription
public void setDescription(String description)
Sets the description of the plate acquisition.- Parameters:
description- The description of the plate acquisition.
-
addTag
protected void addTag(Client client, TagAnnotationData tagData) throws ServiceException, AccessException, ExecutionException
Protected function. Adds a tag to the object in OMERO, if possible.- Overrides:
addTagin classGenericRepositoryObjectWrapper<PlateAcquisitionData>- Parameters:
client- The client handling the connection.tagData- Tag to be added.- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.ExecutionException- A Facility can't be retrieved or instantiated.
-
getLabel
public String getLabel()
Returns the label associated to the plate acquisition.- Returns:
- See above.
-
getRefPlateId
public long getRefPlateId()
Returns the id of the plate of reference.- Returns:
- See above.
-
setRefPlateId
public void setRefPlateId(long refPlateId)
Sets the id of the plate this plate acquisition is for.- Parameters:
refPlateId- The value to set.
-
getStartTime
public Timestamp getStartTime()
Returns the time when the first image was collected.- Returns:
- See above.
-
getEndTime
public Timestamp getEndTime()
Returns the time when the last image was collected.- Returns:
- See above.
-
getMaximumFieldCount
public int getMaximumFieldCount()
Returns the maximum number of fields in any well.- Returns:
- See above.
-
-