public class ValueContext<T,V> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ValueContext(T currentBean,
Class<T> currentBeanType,
Validatable validatable,
PathImpl propertyPath) |
protected ValueContext(T currentBean, Class<T> currentBeanType, Validatable validatable, PathImpl propertyPath)
public static <T,V> ValueContext<T,V> getLocalExecutionContext(T value, Validatable validatable, PathImpl propertyPath)
public static <T,V> ValueContext<T,V> getLocalExecutionContext(Class<T> type, Validatable validatable, PathImpl propertyPath)
public final PathImpl getPropertyPath()
public final Class<?> getCurrentGroup()
public final T getCurrentBean()
public Validatable getCurrentValidatable()
public Integer getParameterIndex()
public void setParameterIndex(Integer parameterIndex)
public String getParameterName()
public void setParameterName(String parameterName)
public final V getCurrentValidatedValue()
public final void setPropertyPath(PathImpl propertyPath)
public final void appendNode(String node)
public final void markCurrentPropertyAsIterable()
public final void setKey(Object key)
public final void setIndex(Integer index)
public final void setCurrentGroup(Class<?> currentGroup)
public final void setCurrentValidatedValue(V currentValue)
public final boolean validatingDefault()
public final ElementType getElementType()
public final void setElementType(ElementType elementType)
public final Type getTypeOfAnnotatedElement()
public final void setTypeOfAnnotatedElement(Type typeOfAnnotatedElement)
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved