Class MaxLongConstraintValidator

    • Constructor Detail

      • MaxLongConstraintValidator

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

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