|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupValidationContext<T>
Description: JSR-303 ValidationContext
extension.
Method Summary | |
---|---|
boolean |
collectValidated(ConstraintValidator<?,?> constraint)
Accumulate a validated constraint. |
ConstraintValidation<?> |
getConstraintValidation()
Get the ConstraintValidation . |
Group |
getCurrentGroup()
Get the current Group . |
Class<?> |
getCurrentOwner()
Get the current owning class. |
Groups |
getGroups()
Get the groups of this GroupValidationContext . |
MessageInterpolator |
getMessageResolver()
Get the message resolver. |
PathImpl |
getPropertyPath()
Get the property path. |
MetaBean |
getRootMetaBean()
Get the root MetaBean . |
TraversableResolver |
getTraversableResolver()
Get the TraversableResolver . |
Object |
getValidatedValue()
Get the value being validated. |
void |
setConstraintValidation(ConstraintValidation<?> constraint)
Set the ConstraintValidation . |
void |
setCurrentGroup(Group group)
Set the current Group . |
void |
setCurrentOwner(Class<?> currentOwner)
Set the current owning class. |
void |
setFixedValue(Object value)
Set a fixed value for the context. |
Methods inherited from interface org.apache.bval.model.ValidationContext |
---|
collectValidated, getAccess, getBean, getListener, getMetaBean, getMetaProperty, getPropertyName, getPropertyValue, getPropertyValue, moveDown, moveUp, setBean, setBean, setCurrentIndex, setCurrentKey, setMetaBean, setMetaProperty |
Method Detail |
---|
Groups getGroups()
GroupValidationContext
.
void setCurrentGroup(Group group)
Group
.
group
- to setGroup getCurrentGroup()
Group
.
PathImpl getPropertyPath()
PathImpl
MetaBean getRootMetaBean()
MetaBean
.
MetaBean
void setConstraintValidation(ConstraintValidation<?> constraint)
ConstraintValidation
.
constraint
- to setConstraintValidation<?> getConstraintValidation()
ConstraintValidation
.
ConstraintValidation
Object getValidatedValue()
void setFixedValue(Object value)
value
- to setMessageInterpolator getMessageResolver()
MessageInterpolator
TraversableResolver getTraversableResolver()
TraversableResolver
.
TraversableResolver
boolean collectValidated(ConstraintValidator<?,?> constraint)
constraint
-
Class<?> getCurrentOwner()
void setCurrentOwner(Class<?> currentOwner)
currentOwner
- to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |