Top Description Inners Methods
javax.validation.groups

public @Interface ConvertGroup

extends Annotation
Annotations
@Target:METHOD, FIELD, CONSTRUCTOR, PARAMETER, TYPE_USE
@Retention:RUNTIME
@Repeatable:List
@Documented
Static Imports
java.lang.annotation.ElementType.CONSTRUCTOR, .ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .ElementType.TYPE_USE, .RetentionPolicy.RUNTIME

Converts group from to group to during cascading.

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

Author
Emmanuel Bernard
Since
1.1

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static @interface
ConvertGroup.List

Defines several ConvertGroup annotations on the same element.

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

the source group of this conversion
from
()

The source group of this conversion.

public Class<?>

Returns:

the target group of this conversion
to
()

The target group of this conversion.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

fromback to summary
public Class<?> from()

The source group of this conversion.

Returns:Class<?>

the source group of this conversion

toback to summary
public Class<?> to()

The target group of this conversion.

Returns:Class<?>

the target group of this conversion

javax.validation.groups back to summary

public @Interface ConvertGroup.List

extends Annotation
Annotations
@Target:METHOD, FIELD, CONSTRUCTOR, PARAMETER, TYPE_USE
@Retention:RUNTIME
@Documented

Defines several ConvertGroup annotations on the same element.

Method Summary

Modifier and TypeMethod and Description
public ConvertGroup[]
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public ConvertGroup[] value()