Class Validation.ValidationMethod.Range

    • Constructor Detail

      • Range

        public Range​(String min,
                     String max)
        Creates a range validation.
        Parameters:
        min - The minimum value allowed. The value depends on the datatype in use.
        max - The maximum value allowed. The value depends on the datatype in use.
    • Method Detail

      • getMin

        public final String getMin()
        Gets the minimum value allowed.
        Returns:
        The minimum.
      • getMax

        public final String getMax()
        Gets the maximum value allowed.
        Returns:
        The maximum.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object