Class MaxShortConstraintValidator

    • Constructor Detail

      • MaxShortConstraintValidator

        public MaxShortConstraintValidator​(long maxValue,
                                           boolean inclusive)
        Creates the default instance of MaxShortConstraintValidator with the specified parameters.
        Parameters:
        maxValue - the supported max value.
        inclusive - whether the specified minimum is inclusive or exclusive.
      • MaxShortConstraintValidator

        public MaxShortConstraintValidator​(String maxValue,
                                           boolean inclusive)
        Creates the default instance of MaxShortConstraintValidator with the specified parameters.
        Parameters:
        maxValue - the supported max value.
        inclusive - whether the specified minimum is inclusive or exclusive.