@Target(value={METHOD,FIELD,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(value=RUNTIME)
@Repeatable(value=ConvertGroup.List.class)
@Documented
public @interface ConvertGroup
from to group to during cascading.
Can be used everywhere Valid is used and must be on an element
annotated with Valid.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<?> |
to
The target group of this conversion.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?> |
from
The source group of this conversion.
|