Class IntegerPropertyDefinition.Builder

    • Method Detail

      • setLowerLimit

        public void setLowerLimit​(int lowerLimit)
        Set the lower limit.
        Parameters:
        lowerLimit - The new lower limit (must be >= 0).
        Throws:
        IllegalArgumentException - If a negative lower limit was specified or the lower limit is greater than the upper limit.
      • setUpperLimit

        public void setUpperLimit​(Integer upperLimit)
        Set the upper limit.
        Parameters:
        upperLimit - The new upper limit or null if there is no upper limit.
      • setAllowUnlimited

        public void setAllowUnlimited​(boolean allowUnlimited)
        Specify whether this property definition will allow unlimited values (default is false).
        Parameters:
        allowUnlimited - true if the property will allow unlimited values, or false otherwise.