Supported types are:
CharSequence (length of character sequence is evaluated)Collection (collection size is evaluated)Map (map size is evaluated)
null elements are considered valid.
| Modifier and Type | Class and Description |
|---|---|
| public static @interface |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public int | |
| public String | |
| public int | |
| public Class |
| groups | back to summary |
|---|---|
| public Class | |
| max | back to summary |
|---|---|
public int max()
| |
| message | back to summary |
|---|---|
| public String message() | |
| min | back to summary |
|---|---|
public int min()
| |
| payload | back to summary |
|---|---|
| public Class | |
Size annotations on the same element.
Size
| Modifier and Type | Method and Description |
|---|---|
| public Size[] |
| value | back to summary |
|---|---|
| public Size[] value() | |