Class Validation.ListRange
- java.lang.Object
-
- rocks.xmpp.extensions.data.validate.model.Validation.ListRange
-
- Enclosing class:
- Validation
public static final class Validation.ListRange extends Object
For "list-multi", validation can indicate that a minimum and maximum number of options should be selected and/or entered. This selection range MAY be combined with the other methods to provide more flexibility.- See Also:
- 3.3 Selection Ranges in "list-multi"
-
-
Constructor Summary
Constructors Constructor Description ListRange(int min, int max)
Creates a list range for multi-text fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getMax()
Gets the maximum allowable number of selected/entered values.Integer
getMin()
Gets the minimum allowable number of selected/entered values.int
hashCode()
-
-
-
Method Detail
-
getMin
public final Integer getMin()
Gets the minimum allowable number of selected/entered values.- Returns:
- The minimum allowable number of selected/entered values.
-
getMax
public final Integer getMax()
Gets the maximum allowable number of selected/entered values.- Returns:
- The maximum allowable number of selected/entered values.
-
-