Annotation Interface ConvertGroup


Converts group from to group to during cascading.

Can be used everywhere Valid is used and must be on an element annotated with Valid.

Since:
1.1
Author:
Emmanuel Bernard
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Defines several ConvertGroup annotations on the same element.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The target group of this conversion.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The source group of this conversion.
  • Element Details

    • to

      Class<?> to
      The target group of this conversion.
      Returns:
      the target group of this conversion
    • from

      Class<?> from
      The source group of this conversion.
      Returns:
      the source group of this conversion
      Default:
      jakarta.validation.groups.Default.class