|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.bval.BeanValidationContext<ConstraintValidationListener<T>>
org.apache.bval.jsr303.GroupValidationContextImpl<T>
final class GroupValidationContextImpl<T>
Description: instance per validation process, not thread-safe
| Field Summary |
|---|
| Fields inherited from class org.apache.bval.BeanValidationContext |
|---|
validatedObjects |
| Constructor Summary | |
|---|---|
GroupValidationContextImpl(ConstraintValidationListener<T> listener,
MessageInterpolator aMessageResolver,
TraversableResolver traversableResolver,
MetaBean rootMetaBean)
Create a new GroupValidationContextImpl instance. |
|
| Methods inherited from class org.apache.bval.BeanValidationContext |
|---|
getAccess, getBean, getListener, getMeta, getMetaBean, getMetaProperty, getPropertyName, getPropertyValue, getPropertyValue, isFixed, isValidated, resetValidated, setBean, setBean, setFixed, setFixedValue, setListener, setMetaBean, setMetaProperty, setPropertyValue, toString, unknownValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.bval.jsr303.GroupValidationContext |
|---|
setFixedValue |
| Methods inherited from interface org.apache.bval.model.ValidationContext |
|---|
getAccess, getBean, getListener, getMetaBean, getMetaProperty, getPropertyName, getPropertyValue, getPropertyValue, setBean, setBean, setMetaBean, setMetaProperty |
| Constructor Detail |
|---|
public GroupValidationContextImpl(ConstraintValidationListener<T> listener,
MessageInterpolator aMessageResolver,
TraversableResolver traversableResolver,
MetaBean rootMetaBean)
listener - aMessageResolver - traversableResolver - rootMetaBean - | Method Detail |
|---|
public void setCurrentIndex(Integer index)
setCurrentIndex in interface ValidationContext<ConstraintValidationListener<T>>setCurrentIndex in class BeanValidationContext<ConstraintValidationListener<T>>public void setCurrentKey(Object key)
setCurrentKey in interface ValidationContext<ConstraintValidationListener<T>>setCurrentKey in class BeanValidationContext<ConstraintValidationListener<T>>
public void moveDown(MetaProperty prop,
AccessStrategy access)
moveDown in interface ValidationContext<ConstraintValidationListener<T>>moveDown in class BeanValidationContext<ConstraintValidationListener<T>>
public void moveUp(Object bean,
MetaBean metaBean)
moveUp in interface ValidationContext<ConstraintValidationListener<T>>moveUp in class BeanValidationContext<ConstraintValidationListener<T>>public boolean collectValidated()
collectValidated in interface ValidationContext<ConstraintValidationListener<T>>collectValidated in class BeanValidationContext<ConstraintValidationListener<T>>public boolean collectValidated(ConstraintValidator<?,?> constraint)
collectValidated in interface GroupValidationContext<T>public void resetValidatedConstraints()
public PathImpl getPropertyPath()
getPropertyPath in interface GroupValidationContext<T>public MetaBean getRootMetaBean()
MetaBean.
getRootMetaBean in interface GroupValidationContext<T>MetaBeanpublic void setGroups(Groups groups)
groups - public Groups getGroups()
GroupValidationContext.
getGroups in interface GroupValidationContext<T>public Group getCurrentGroup()
Group.
getCurrentGroup in interface GroupValidationContext<T>public void setCurrentGroup(Group currentGroup)
Group.
setCurrentGroup in interface GroupValidationContext<T>currentGroup - to setpublic void setConstraintValidation(ConstraintValidation<?> constraint)
ConstraintValidation.
setConstraintValidation in interface GroupValidationContext<T>constraint - to setpublic ConstraintValidation<?> getConstraintValidation()
ConstraintValidation.
getConstraintValidation in interface GroupValidationContext<T>ConstraintValidationpublic ConstraintDescriptor<?> getConstraintDescriptor()
getConstraintDescriptor in interface MessageInterpolator.Contextpublic Object getValidatedValue()
getValidatedValue in interface MessageInterpolator.ContextgetValidatedValue in interface GroupValidationContext<T>public MessageInterpolator getMessageResolver()
getMessageResolver in interface GroupValidationContext<T>MessageInterpolatorpublic TraversableResolver getTraversableResolver()
TraversableResolver.
getTraversableResolver in interface GroupValidationContext<T>TraversableResolverpublic Class<?> getCurrentOwner()
getCurrentOwner in interface GroupValidationContext<T>public void setCurrentOwner(Class<?> currentOwner)
setCurrentOwner in interface GroupValidationContext<T>currentOwner - to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||