Class RatingAnnotationData


  • public class RatingAnnotationData
    extends AnnotationData
    Annotation used to rate an object. The five starts approach is selected.
    Since:
    OME3.0
    • Field Detail

      • INSIGHT_RATING_NS

        public static final java.lang.String INSIGHT_RATING_NS
        The name space used to identify the archived annotation linked to a set of pixels.
        See Also:
        Constant Field Values
      • LEVEL_ZERO

        public static final int LEVEL_ZERO
        Indicates the object is not rated.
        See Also:
        Constant Field Values
      • LEVEL_ONE

        public static final int LEVEL_ONE
        Indicates the object is rated with one star.
        See Also:
        Constant Field Values
      • LEVEL_TWO

        public static final int LEVEL_TWO
        Indicates the object is rated with two stars.
        See Also:
        Constant Field Values
      • LEVEL_THREE

        public static final int LEVEL_THREE
        Indicates the object is rated with three stars.
        See Also:
        Constant Field Values
      • LEVEL_FOUR

        public static final int LEVEL_FOUR
        Indicates the object is rated with four stars.
        See Also:
        Constant Field Values
      • LEVEL_FIVE

        public static final int LEVEL_FIVE
        Indicates the object is rated with five stars.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RatingAnnotationData

        public RatingAnnotationData()
        Creates a new instance of value LEVEL_ZERO.
      • RatingAnnotationData

        public RatingAnnotationData​(int value)
        Creates a new instance.
        Parameters:
        value - The rating value. One of the constants defined by this class.
      • RatingAnnotationData

        public RatingAnnotationData​(omero.model.LongAnnotation annotation)
        Creates a new instance.
        Parameters:
        annotation - The LongAnnotation object corresponding to this DataObject. Mustn't be null.