インタフェース | 説明 |
---|---|
BootstrapConfiguration |
META-INF/validation.xml でユーザーが指定したデフォルトの設定を表します。 |
ClockProvider | |
Configuration<T extends Configuration<T>> |
設定情報を受け取り、適切なBean検証プロバイダの選択と適切な
ValidatorFactory の構築を行います。 |
ConstraintValidator<A extends Annotation,T> |
Defines the logic to validate a given constraint
A
for a given object type T . |
ConstraintValidatorContext |
Provides contextual data and operation when applying a given constraint validator.
|
ConstraintValidatorContext.ConstraintViolationBuilder |
ConstraintViolation builder allowing to optionally associate
the violation report to a sub path. |
ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext |
Represents a container element node whose context is
configurable (i.e. index, key and isInIterable)
and that is not necessarily a leaf node (i.e. subnodes can
be added).
|
ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext |
Represents a container element node whose context is known
(i.e. index, key and isInIterable)
and that is not necessarily a leaf node (i.e. subnodes can
be added).
|
ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder |
Represents refinement choices for a container element node.
|
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext |
Represents a node whose context is
configurable (i.e. index, key and isInIterable)
and that is a leaf node (i.e. no subnode can be added).
|
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext |
Represents a node whose context is known
(i.e. index, key and isInIterable)
and that is a leaf node (i.e. no subnode can be added).
|
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder |
Represents refinement choices for a node which is
in an iterable, e.g. array,
Iterable or Map . |
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext |
Represents a node whose context is
configurable (i.e. index, key and isInIterable)
and that is not necessarily a leaf node (i.e. subnodes can
be added).
|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext |
Represents a node whose context is known
(i.e. index, key and isInIterable)
and that is not necessarily a leaf node (i.e. subnodes can
be added).
|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder |
Represents refinement choices for a node which is
in an iterable, e.g. array,
Iterable or Map . |
ConstraintValidatorFactory |
Instantiates a
ConstraintValidator instance based off its class. |
ConstraintViolation<T> |
Describes a constraint violation.
|
MessageInterpolator |
Interpolates a given constraint violation message.
|
MessageInterpolator.Context |
Information related to the interpolation context.
|
ParameterNameProvider |
Provides names for method and constructor parameters.
|
Path |
Represents the navigation path from an object to another
in an object graph.
|
Path.BeanNode |
Node representing a bean.
|
Path.ConstructorNode |
Node representing a constructor.
|
Path.ContainerElementNode |
Node representing an element in a generic container such as
Optional ,
List or Map . |
Path.CrossParameterNode |
Node representing the element holding cross-parameter constraints
of a method or constructor.
|
Path.MethodNode |
Node representing a method.
|
Path.Node |
Represents an element of a navigation path.
|
Path.ParameterNode |
Node representing a parameter of a method or constructor.
|
Path.PropertyNode |
Node representing a property.
|
Path.ReturnValueNode |
Node representing the return value of a method or constructor.
|
Payload |
Payload type that can be attached to a given
constraint declaration.
|
TraversableResolver |
Contract determining if a property can be accessed by the Bean Validation provider.
|
ValidationProviderResolver |
Determines the list of Bean Validation providers available in the runtime environment
Bean Validation providers are identified by the presence of
META-INF/services/javax.validation.spi.ValidationProvider
files following the Service Provider pattern described
here. |
Validator |
Validates bean instances.
|
ValidatorContext |
Represents the context that is used to create
Validator
instances. |
ValidatorFactory |
Factory returning initialized
Validator instances. |
クラス | 説明 |
---|---|
Validation |
This class is the entry point for Bean Validation.
|
列挙型 | 説明 |
---|---|
ConstraintTarget |
Defines the constraint target.
|
ElementKind |
Enum of possible kinds of elements encountered in Bean Validation.
|
例外 | 説明 |
---|---|
ConstraintDeclarationException |
Exception raised if a constraint declaration is not legal.
|
ConstraintDefinitionException |
Exception raised if a constraint definition is not legal.
|
ConstraintViolationException |
Reports the result of constraint violations.
|
GroupDefinitionException |
Exception raised if a group definition is not legal.
|
NoProviderFoundException |
Exception raised if no Bean Validation provider could be found.
|
UnexpectedTypeException |
Exception raised in the case that the constraint validator resolution
cannot determine a suitable validator for a given type.
|
ValidationException |
Base exception of all Bean Validation "unexpected" problems.
|
注釈型 | 説明 |
---|---|
Constraint |
Marks an annotation as being a Bean Validation constraint.
|
GroupSequence |
Defines group sequence.
|
OverridesAttribute |
Marks an attribute as overriding the attribute of a composing constraint.
|
OverridesAttribute.List |
Defines several
OverridesAttribute annotations on the same element |
ReportAsSingleViolation |
A constraint annotation hosting this annotation will return the
composed annotation error report if any of the composing annotations fail.
|
Valid |
Marks a property, method parameter or method return type for validation cascading.
|
Validation
: Bean Validation自動実行のエントリポイントValidatorFactory
: 自動実行されるBean ValidationのエンジンValidator
: Beanを検証してメタデータにアクセスする制約ConstraintViolation
: 制約違反のレポートConstraint
: アノテーションを制約として設定するアノテーションConstraintValidator
: 指定された制約を検証するコードによって実装されるインタフェースReportAsSingleViolation
: 複合制約を単一の制約違反としてレポートするように指定しますValid
: 関連に検証中にカスケードされることをマークするアノテーションGroupSequence
:順番に検証されるべき一連のグループを定義しますCopyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.