パッケージ | 説明 |
---|---|
jakarta.validation | Jakarta Bean Validation API の最上位パッケージ。 |
jakarta.validation.executable | 実行可能検証の制御と実行に関連するパッケージ。 |
修飾子と型 | メソッドと説明 |
---|---|
SetSE<ConstraintViolation<?>> | ConstraintViolationException.getConstraintViolations() 検証中に報告された制約違反のセットを返します。 |
<T> SetSE<ConstraintViolation<T>> | Validator.validate(T object, ClassSE<?>... groups) object のすべての制約を検証します。 |
<T> SetSE<ConstraintViolation<T>> | Validator.validateProperty(T object, StringSE propertyName, ClassSE<?>... groups) propertyName という名前の object のプロパティに配置されたすべての制約を検証します。 |
<T> SetSE<ConstraintViolation<T>> | Validator.validateValue(ClassSE<T> beanType, StringSE propertyName, ObjectSE value, ClassSE<?>... groups) プロパティ値が value であるクラス beanType の propertyName という名前のプロパティに配置されたすべての制約を検証します。 |
コンストラクターと説明 |
---|
ConstraintViolationException(SetSE<? extends ConstraintViolation<?>> constraintViolations) 制約違反レポートを作成します。 |
ConstraintViolationException(StringSE message, SetSE<? extends ConstraintViolation<?>> constraintViolations) 制約違反レポートを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
<T> SetSE<ConstraintViolation<T>> | ExecutableValidator.validateConstructorParameters(ConstructorSE<? extends T> constructor, ObjectSE[] parameterValues, ClassSE<?>... groups) 指定されたコンストラクターのパラメーターに設定されたすべての制約を検証します。 |
<T> SetSE<ConstraintViolation<T>> | ExecutableValidator.validateConstructorReturnValue(ConstructorSE<? extends T> constructor, T createdObject, ClassSE<?>... groups) 指定されたコンストラクターのすべての戻り値の制約を検証します。 |
<T> SetSE<ConstraintViolation<T>> | ExecutableValidator.validateParameters(T object, MethodSE method, ObjectSE[] parameterValues, ClassSE<?>... groups) 指定されたメソッドのパラメーターに設定されたすべての制約を検証します。 |
<T> SetSE<ConstraintViolation<T>> | ExecutableValidator.validateReturnValue(T object, MethodSE method, ObjectSE returnValue, ClassSE<?>... groups) 指定されたメソッドの戻り値の制約をすべて検証します。 |
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.