Package javax.validation.groups

A group defines a subset of constraints.


Interface Summary
Default Default Bean Validation group.

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 group is passed along. If no group is explicitly passed along, the Default group is used.

Submit a bug or feature

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

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.