パッケージ | 説明 |
---|---|
javax.validation |
Bean Validation APIのトップレベルのパッケージです。
|
javax.validation.executable |
実行可能なバリデーションの制御と実行に関連するパッケージです。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Set<ConstraintViolation<?>> |
ConstraintViolationException.getConstraintViolations()
Returns the set of constraint violations reported during a validation.
|
<T> Set<ConstraintViolation<T>> |
Validator.validate(T object,
Class<?>... groups)
Validates all constraints on
object . |
<T> Set<ConstraintViolation<T>> |
Validator.validateProperty(T object,
String propertyName,
Class<?>... groups)
Validates all constraints placed on the property of
object
named propertyName . |
<T> Set<ConstraintViolation<T>> |
Validator.validateValue(Class<T> beanType,
String propertyName,
Object value,
Class<?>... groups)
Validates all constraints placed on the property named
propertyName
of the class beanType would the property value be value . |
コンストラクタと説明 |
---|
ConstraintViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report.
|
ConstraintViolationException(String message,
Set<? extends ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report.
|
修飾子とタイプ | メソッドと説明 |
---|---|
<T> Set<ConstraintViolation<T>> |
ExecutableValidator.validateConstructorParameters(Constructor<? extends T> constructor,
Object[] parameterValues,
Class<?>... groups)
Validates all constraints placed on the parameters of the given constructor.
|
<T> Set<ConstraintViolation<T>> |
ExecutableValidator.validateConstructorReturnValue(Constructor<? extends T> constructor,
T createdObject,
Class<?>... groups)
Validates all return value constraints of the given constructor.
|
<T> Set<ConstraintViolation<T>> |
ExecutableValidator.validateParameters(T object,
Method method,
Object[] parameterValues,
Class<?>... groups)
Validates all constraints placed on the parameters of the given method.
|
<T> Set<ConstraintViolation<T>> |
ExecutableValidator.validateReturnValue(T object,
Method method,
Object returnValue,
Class<?>... groups)
Validates all return value constraints of the given method.
|
Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.