# Package javax.validation.groups

A group defines a subset of constraints.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Default | Default Bean Validation group.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  ConvertGroup | Converts group `from` to group `to` during cascading.
  ConvertGroup.List | Defines several `ConvertGroup` annotations on the same element.

## Package javax.validation.groups Description

A group defines a subset of constraints. Instead of validating all constraints for a given object graph, only a subset is validated depending on the group targeted.

Each constraint declaration defines the list of groups it belongs to. If no group is explicitly declared, a constraint belongs to the `Default` group.

When applying validation, the list of target groups is passed along. If no group is explicitly passed along, the `javax.validation.groups.Default` group is used.

During cascading, groups can be converted from one to another by the use of `ConvertGroup`

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.