public interface ConstraintViolation<T>
Modifier and Type | Method and Description |
---|---|
ConstraintDescriptor<?> |
getConstraintDescriptor()
Constraint metadata reported to fail.
|
Object |
getInvalidValue() |
Object |
getLeafBean()
If a bean constraint, the bean instance the constraint is applied on
If a property constraint, the bean instance hosting the property the
constraint is applied on
|
String |
getMessage() |
String |
getMessageTemplate() |
Path |
getPropertyPath() |
T |
getRootBean() |
Class<T> |
getRootBeanClass() |
String getMessage()
String getMessageTemplate()
T getRootBean()
Validator.validateValue(Class, String, Object, Class[])
Object getLeafBean()
Validator.validateValue(Class, String, Object, Class[])
Path getPropertyPath()
rootBean
.Object getInvalidValue()
ConstraintDescriptor<?> getConstraintDescriptor()
Copyright © 2018 JBoss by Red Hat. All rights reserved.