@Deprecated public interface MethodConstraintViolation<T> extends ConstraintViolation<T>
MethodValidator
Modifier and Type | Interface and Description |
---|---|
static class |
MethodConstraintViolation.Kind
Deprecated.
Will by replaced by equivalent functionality defined by the
Bean Validation 1.1 API as of Hibernate Validator 5.
|
Modifier and Type | Method and Description |
---|---|
MethodConstraintViolation.Kind |
getKind()
Deprecated.
Returns the kind of this method constraint violation.
|
Method |
getMethod()
Deprecated.
Returns the method during which's validation this constraint violation
occurred.
|
Integer |
getParameterIndex()
Deprecated.
Returns the index of the parameter holding the constraint which caused
this constraint violation.
|
String |
getParameterName()
Deprecated.
Returns the name of the parameter holding the constraint which caused
this constraint violation.
|
getConstraintDescriptor, getInvalidValue, getLeafBean, getMessage, getMessageTemplate, getPropertyPath, getRootBean, getRootBeanClass
Method getMethod()
Integer getParameterIndex()
MethodConstraintViolation.Kind.PARAMETER
.String getParameterName()
Returns the name of the parameter holding the constraint which caused this constraint violation.
Currently a synthetic name following the form "arg" + index
will be returned, e.g. "arg0"
. In future versions it might
be possible to specify real parameter names, e.g. using an
annotation-based approach around javax.inject.Named
.
MethodConstraintViolation.Kind.PARAMETER
.MethodConstraintViolation.Kind getKind()
Copyright © 2018 JBoss by Red Hat. All rights reserved.