Package fr.igred.omero.annotations
Class RatingAnnotationWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.annotations.AnnotationWrapper<RatingAnnotationData>
-
- fr.igred.omero.annotations.RatingAnnotationWrapper
-
- All Implemented Interfaces:
Annotation
,RatingAnnotation
,ContainerLinked
,HCSLinked
,ImageLinked
,RemoteObject
public class RatingAnnotationWrapper extends AnnotationWrapper<RatingAnnotationData> implements RatingAnnotation
Class containing a RatingAnnotationData object.Wraps function calls to the RatingAnnotationData contained.
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.ObjectWrapper
data
-
Fields inherited from interface fr.igred.omero.annotations.RatingAnnotation
LEVEL_FIVE, LEVEL_FOUR, LEVEL_ONE, LEVEL_THREE, LEVEL_TWO, LEVEL_ZERO
-
-
Constructor Summary
Constructors Constructor Description RatingAnnotationWrapper(int value)
Creates a new Textual Annotation with the provided text.RatingAnnotationWrapper(RatingAnnotationData object)
Constructor of the RatingAnnotationWrapper class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRating()
Returns the rating value.void
setRating(int value)
Sets the rating value.-
Methods inherited from class fr.igred.omero.annotations.AnnotationWrapper
getDatasets, getDescription, getFolders, getImages, getLastModified, getNameSpace, getPlateAcquisitions, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
-
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.annotations.Annotation
countAnnotationLinks, getDescription, getFolders, getLastModified, getNameSpace, setDescription, setNameSpace
-
Methods inherited from interface fr.igred.omero.ContainerLinked
getDatasets, getProjects
-
Methods inherited from interface fr.igred.omero.HCSLinked
getPlateAcquisitions, getPlates, getScreens, getWells
-
Methods inherited from interface fr.igred.omero.ImageLinked
getImages
-
Methods inherited from interface fr.igred.omero.annotations.RatingAnnotation
asDataObject
-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
-
-
-
Constructor Detail
-
RatingAnnotationWrapper
public RatingAnnotationWrapper(RatingAnnotationData object)
Constructor of the RatingAnnotationWrapper class.- Parameters:
object
- RatingAnnotationData to wrap.
-
RatingAnnotationWrapper
public RatingAnnotationWrapper(int value)
Creates a new Textual Annotation with the provided text.- Parameters:
value
- The rating value. One of the constants defined by this class.
-
-
Method Detail
-
getRating
public int getRating()
Returns the rating value.- Specified by:
getRating
in interfaceRatingAnnotation
- Returns:
- See above.
-
setRating
public void setRating(int value)
Sets the rating value.- Specified by:
setRating
in interfaceRatingAnnotation
- Parameters:
value
- The value to set. Must be one of the constants defined by this class.
-
-