@Target(value=TYPE_USE)
@Retention(value=RUNTIME)
public static @interface Setting.Constrain.MinLength
For example, a string annotated with MinLength(5) must be 5 or more characters long. "ABCD" would not be allowed, but "ABCDE" would be.
MaxLength| Modifier and Type | Required Element and Description |
|---|---|
int |
value
Returns the minimum length allowed.
|
public abstract int value
MinLength