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