ナビゲーション・リンクをスキップ

パッケージ javax.validation.groups

A group defines a subset of constraints.

参照先: 説明

パッケージjavax.validation.groupsの説明

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 © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.