public class ValueContext<T,V> extends Object
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 final Object getCurrentValidatedValue()
ValidatedValueUnwrapper
has been set, the value will be
retrieved via that handler.public final void setPropertyPath(PathImpl propertyPath)
public final void appendNode(Cascadable node)
public final void appendBeanNode()
public final void appendCrossParameterNode()
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()
ValidatedValueUnwrapper
has
been set, the type will be retrieved via that handler.public final void setTypeOfAnnotatedElement(Type typeOfAnnotatedElement)
public void setValidatedValueHandler(ValidatedValueUnwrapper<? super V> handler)
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved