Class PercentageOption

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<FreeColObject>, ObjectWithId, Option<java.lang.Integer>

    public class PercentageOption
    extends IntegerOption
    Represents an option where the result is a value between 0 and 100.
    • Field Detail

      • logger

        private static final java.util.logging.Logger logger
    • Constructor Detail

      • PercentageOption

        public PercentageOption​(Specification specification)
        Creates a new PercentageOption.
        Parameters:
        specification - The Specification to refer to.
      • PercentageOption

        public PercentageOption​(java.lang.String id,
                                Specification specification)
        Creates a new PercentageOption.
        Parameters:
        id - The object identifier.
        specification - The Specification to refer to.