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 appendCollectionElementNode()
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 getDeclaredTypeOfValidatedElement()
ValidatedValueUnwrapper
has
been set, the type will be retrieved via that handler.public final void setDeclaredTypeOfValidatedElement(Type declaredTypeOfValidatedElement)
public void setValidatedValueHandler(ValidatedValueUnwrapper<V> handler)
public ValidatedValueUnwrapper<V> getValidatedValueHandler()
public UnwrapMode getUnwrapMode()
public void setUnwrapMode(UnwrapMode unwrapMode)
Copyright © 2017 JBoss by Red Hat. All rights reserved.