public interface RatingAnnotation extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
LEVEL_FIVE
Indicates the object is rated with five stars.
|
static int |
LEVEL_FOUR
Indicates the object is rated with four stars.
|
static int |
LEVEL_ONE
Indicates the object is rated with one star.
|
static int |
LEVEL_THREE
Indicates the object is rated with three stars.
|
static int |
LEVEL_TWO
Indicates the object is rated with two stars.
|
static int |
LEVEL_ZERO
Indicates the object is not rated.
|
Modifier and Type | Method and Description |
---|---|
RatingAnnotationData |
asDataObject()
Returns a
RatingAnnotationData corresponding to the handled object. |
int |
getRating()
Returns the rating value.
|
void |
setRating(int value)
Sets the rating value.
|
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
static final int LEVEL_ZERO
static final int LEVEL_ONE
static final int LEVEL_TWO
static final int LEVEL_THREE
static final int LEVEL_FOUR
static final int LEVEL_FIVE
RatingAnnotationData asDataObject()
RatingAnnotationData
corresponding to the handled object.asDataObject
in interface Annotation
asDataObject
in interface RemoteObject
int getRating()
void setRating(int value)
value
- The value to set. Must be one of the constants defined by this class.Copyright © 2020–2023 GReD. All rights reserved.