Annotation Type MinSize

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      Returns the min items count.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean inclusive
      Specifies whether the specified minimum is inclusive or exclusive.
      boolean off
      Allows disabling the validation rule if this rule is inherited from super class.
    • Element Detail

      • value

        int value
        Returns the min items count.
        Returns:
        the min items count
      • off

        boolean off
        Allows disabling the validation rule if this rule is inherited from super class.

        By default, disable is off.

        Returns:
        true if the validation must be disabled.
        Default:
        false
      • inclusive

        boolean inclusive
        Specifies whether the specified minimum is inclusive or exclusive. By default, it is inclusive.
        Returns:
        true if the value must be lower or equal to the specified minimum, false if the value must be lower
        Default:
        true