|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConstraintViolation<T>
Describe a constraint violation. This object exposes the constraint violation context as well as the message describing the violation.
Method Summary | |
---|---|
ConstraintDescriptor<?> |
getConstraintDescriptor()
Constraint metadata reported to fail. |
java.lang.Object |
getInvalidValue()
|
java.lang.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 |
java.lang.String |
getMessage()
|
java.lang.String |
getMessageTemplate()
|
Path |
getPropertyPath()
|
T |
getRootBean()
|
java.lang.Class<T> |
getRootBeanClass()
|
Method Detail |
---|
java.lang.String getMessage()
java.lang.String getMessageTemplate()
T getRootBean()
Validator.validateValue(Class, String, Object, Class[])
java.lang.Class<T> getRootBeanClass()
java.lang.Object getLeafBean()
Validator.validateValue(Class, String, Object, Class[])
Path getPropertyPath()
rootBean
.java.lang.Object getInvalidValue()
ConstraintDescriptor<?> getConstraintDescriptor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41