|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.data.validator.BeanValidator.SimpleContext
protected static class BeanValidator.SimpleContext
Simple implementation of a message interpolator context that returns fixed values.
Constructor Summary | |
---|---|
BeanValidator.SimpleContext(java.lang.Object value,
javax.validation.metadata.ConstraintDescriptor<?> descriptor)
Create a simple immutable message interpolator context. |
Method Summary | |
---|---|
javax.validation.metadata.ConstraintDescriptor<?> |
getConstraintDescriptor()
|
java.lang.Object |
getValidatedValue()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanValidator.SimpleContext(java.lang.Object value, javax.validation.metadata.ConstraintDescriptor<?> descriptor)
value
- value being validateddescriptor
- ConstraintDescriptor corresponding to the constraint being
validatedMethod Detail |
---|
public javax.validation.metadata.ConstraintDescriptor<?> getConstraintDescriptor()
getConstraintDescriptor
in interface javax.validation.MessageInterpolator.Context
public java.lang.Object getValidatedValue()
getValidatedValue
in interface javax.validation.MessageInterpolator.Context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |