Class RatingAnnotationWrapper

    • 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 interface RatingAnnotation
        Returns:
        See above.
      • setRating

        public void setRating​(int value)
        Sets the rating value.
        Specified by:
        setRating in interface RatingAnnotation
        Parameters:
        value - The value to set. Must be one of the constants defined by this class.