public class RatingAnnotationWrapper extends AnnotationWrapper<RatingAnnotationData> implements RatingAnnotation
Wraps function calls to the RatingAnnotationData contained.
data
LEVEL_FIVE, LEVEL_FOUR, LEVEL_ONE, LEVEL_THREE, LEVEL_TWO, LEVEL_ZERO
Constructor and Description |
---|
RatingAnnotationWrapper(int value)
Creates a new Textual Annotation with the provided text.
|
RatingAnnotationWrapper(RatingAnnotationData object)
Constructor of the RatingAnnotationWrapper class.
|
Modifier and Type | Method and Description |
---|---|
int |
getRating()
Returns the rating value.
|
void |
setRating(int value)
Sets the rating value.
|
getDatasets, getDescription, getFolders, getImages, getLastModified, getNameSpace, getPlateAcquisitions, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asDataObject
countAnnotationLinks, getDatasets, getDescription, getFolders, getImages, getLastModified, getNameSpace, getPlateAcquisitions, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
public RatingAnnotationWrapper(RatingAnnotationData object)
object
- RatingAnnotationData to wrap.public RatingAnnotationWrapper(int value)
value
- The rating value. One of the constants defined by this class.public int getRating()
getRating
in interface RatingAnnotation
public void setRating(int value)
setRating
in interface RatingAnnotation
value
- The value to set. Must be one of the constants defined by this class.Copyright © 2020–2023 GReD. All rights reserved.