Class CallSurveyRatingScale


  • public final class CallSurveyRatingScale
    extends Object
    Rate scale for Call Survey scores.
    • Constructor Summary

      Constructors 
      Constructor Description
      CallSurveyRatingScale()
      Creates a new instance of CallSurveyRatingScale
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void finalize()
      Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
      int getLowerBound()
      Inclusive lower bound of the rating value 0 to 100 (default 1)
      int getLowScoreThreshold()
      Gets the threshold value when the score is lower or equals (inclusive) than will be considered a bad experience (default 3)
      int getUpperBound()
      Inclusive upper bound of the rating value 0 to 100 (default 5)
      CallSurveyRatingScale setLowerBound​(int value)
      Inclusive lower bound of the rating value 0 to 100 (default 1)
      CallSurveyRatingScale setLowScoreThreshold​(int value)
      Sets the threshold value when the score is lower or equals (inclusive) than will be considered a bad experience (default 3)
      CallSurveyRatingScale setUpperBound​(int value)
      Inclusive upper bound of the rating value 0 to 100 (default 5)
      • Methods inherited from class Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CallSurveyRatingScale

        public CallSurveyRatingScale()
        Creates a new instance of CallSurveyRatingScale
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • getLowerBound

        public int getLowerBound()
        Inclusive lower bound of the rating value 0 to 100 (default 1)
      • setLowerBound

        public CallSurveyRatingScale setLowerBound​(int value)
        Inclusive lower bound of the rating value 0 to 100 (default 1)
        Parameters:
        value - The new value.
      • getUpperBound

        public int getUpperBound()
        Inclusive upper bound of the rating value 0 to 100 (default 5)
      • setUpperBound

        public CallSurveyRatingScale setUpperBound​(int value)
        Inclusive upper bound of the rating value 0 to 100 (default 5)
        Parameters:
        value - The new value.
      • getLowScoreThreshold

        public int getLowScoreThreshold()
        Gets the threshold value when the score is lower or equals (inclusive) than will be considered a bad experience (default 3)
      • setLowScoreThreshold

        public CallSurveyRatingScale setLowScoreThreshold​(int value)
        Sets the threshold value when the score is lower or equals (inclusive) than will be considered a bad experience (default 3)
        Parameters:
        value - The new value.