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 . |
javax.validation.ConstraintValidatorFactory |
getConstraintValidatorFactory()
Get the
ConstraintValidatorFactory . |
Constructor<?> |
getConstructor() |
Group |
getCurrentGroup()
Get the current
Group . |
Class<?> |
getCurrentOwner()
Get the current owning class.
|
javax.validation.ElementKind |
getElementKind() |
Groups |
getGroups()
Get the groups of this
GroupValidationContext . |
javax.validation.MessageInterpolator |
getMessageResolver()
Get the message resolver.
|
Method |
getMethod() |
javax.validation.ParameterNameProvider |
getParameterNameProvider() |
Object[] |
getParameters() |
PathImpl |
getPropertyPath()
Get the property path.
|
Object |
getReturnValue() |
MetaBean |
getRootMetaBean()
Get the root
MetaBean . |
javax.validation.TraversableResolver |
getTraversableResolver()
Get the
TraversableResolver . |
Object |
getValidatedValue()
Get the value being validated.
|
void |
moveDown(javax.validation.Path.Node node) |
void |
setConstraintValidation(ConstraintValidation<?> constraint)
Set the
ConstraintValidation . |
void |
setConstructor(Constructor<?> method) |
void |
setCurrentGroup(Group group)
Set the current
Group . |
void |
setCurrentGroups(Groups groups) |
void |
setCurrentOwner(Class<?> currentOwner)
Set the current owning class.
|
void |
setFixedValue(Object value)
Set a fixed value for the context.
|
void |
setKind(javax.validation.ElementKind type) |
void |
setMethod(Method method) |
void |
setParameters(Object[] parameters) |
void |
setReturnValue(Object returnValue) |
collectValidated, getAccess, getBean, getListener, getMetaBean, getMetaProperty, getPropertyName, getPropertyValue, getPropertyValue, moveDown, moveDown, moveUp, setBean, setBean, setCurrentIndex, setCurrentKey, setMetaBean, setMetaProperty
Groups getGroups()
GroupValidationContext
.void setCurrentGroups(Groups groups)
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
javax.validation.ConstraintValidatorFactory getConstraintValidatorFactory()
ConstraintValidatorFactory
.ConstraintValidatorFactory
boolean collectValidated(javax.validation.ConstraintValidator<?,?> constraint)
constraint
- Class<?> getCurrentOwner()
void setCurrentOwner(Class<?> currentOwner)
currentOwner
- to setvoid setKind(javax.validation.ElementKind type)
javax.validation.ElementKind getElementKind()
Object getReturnValue()
Object[] getParameters()
void setParameters(Object[] parameters)
void setReturnValue(Object returnValue)
javax.validation.ParameterNameProvider getParameterNameProvider()
void setMethod(Method method)
Method getMethod()
void setConstructor(Constructor<?> method)
Constructor<?> getConstructor()
void moveDown(javax.validation.Path.Node node)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.