public interface GroupValidationContext<T> extends ValidationContext<ConstraintValidationListener<T>>
ValidationContext
extension. Modifier and Type | Method and Description |
---|---|
boolean |
collectValidated(javax.validation.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 . |
javax.validation.MessageInterpolator |
getMessageResolver()
Get the message resolver.
|
PathImpl |
getPropertyPath()
Get the property path.
|
MetaBean |
getRootMetaBean()
Get the root
MetaBean . |
javax.validation.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.
|
collectValidated, getAccess, getBean, getListener, getMetaBean, getMetaProperty, getPropertyName, getPropertyValue, getPropertyValue, moveDown, moveUp, setBean, setBean, setCurrentIndex, setCurrentKey, setMetaBean, setMetaProperty
Groups getGroups()
GroupValidationContext
.void setConstraintValidation(ConstraintValidation<?> constraint)
ConstraintValidation
.constraint
- to setConstraintValidation<?> getConstraintValidation()
ConstraintValidation
.ConstraintValidation
Object getValidatedValue()
void setFixedValue(Object value)
value
- to setjavax.validation.MessageInterpolator getMessageResolver()
MessageInterpolator
javax.validation.TraversableResolver getTraversableResolver()
TraversableResolver
.TraversableResolver
boolean collectValidated(javax.validation.ConstraintValidator<?,?> constraint)
constraint
- Class<?> getCurrentOwner()
void setCurrentOwner(Class<?> currentOwner)
currentOwner
- to setCopyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.