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>
Class containing a PlateAcquisitionData object.Wraps function calls to the PlateAcquisitionData contained.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fr.igred.omero.repository.GenericRepositoryObjectWrapper
GenericRepositoryObjectWrapper.ReplacePolicy
-
-
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.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 void
addTag(Client client, TagAnnotationData tagData)
Protected function.protected java.lang.String
annotationLinkType()
Returns the type of annotation link for this objectPlateAcquisitionData
asPlateAcquisitionData()
Returns the PlateAcquisitionData contained.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.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.repository.GenericRepositoryObjectWrapper
addAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addFileAnnotation, addMapAnnotation, addPairKeyValue, addTable, addTag, addTag, addTag, addTags, addTags, copyAnnotationLinks, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getTable, getTables, getTags, getValue, importImage, importImages, removeLink, unlink
-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
-
-
-
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 plate acquisition contained in the PlateAcquisitionWrapper.
-
-
Method Detail
-
annotationLinkType
protected java.lang.String annotationLinkType()
Returns the type of annotation link for this object- Specified by:
annotationLinkType
in classGenericRepositoryObjectWrapper<PlateAcquisitionData>
- Returns:
- See above.
-
getName
public java.lang.String getName()
Gets the plate acquisition name.- Specified by:
getName
in classGenericRepositoryObjectWrapper<PlateAcquisitionData>
- Returns:
- See above.
-
setName
public void setName(java.lang.String name)
Sets the name of the plate acquisition.- Parameters:
name
- The name of the plate acquisition. Mustn't benull
.- Throws:
java.lang.IllegalArgumentException
- If the name isnull
.
-
asPlateAcquisitionData
public PlateAcquisitionData asPlateAcquisitionData()
Returns the PlateAcquisitionData contained.- Returns:
- See above.
-
getDescription
public java.lang.String getDescription()
Gets the plate acquisition description- Specified by:
getDescription
in classGenericRepositoryObjectWrapper<PlateAcquisitionData>
- Returns:
- See above.
-
setDescription
public void setDescription(java.lang.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, java.util.concurrent.ExecutionException
Protected function. Adds a tag to the object in OMERO, if possible.- Overrides:
addTag
in classGenericRepositoryObjectWrapper<PlateAcquisitionData>
- Parameters:
client
- The client handling the connection.tagData
- 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.- 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 java.sql.Timestamp getStartTime()
Returns the time when the first image was collected.- Returns:
- See above.
-
getEndTime
public java.sql.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.
-
-