public class ValueContext<T,V> extends Object
Modifier and Type | Method and Description |
---|---|
void |
appendBeanNode() |
void |
appendCrossParameterNode() |
void |
appendNode(Cascadable node) |
T |
getCurrentBean() |
Class<T> |
getCurrentBeanType() |
Class<?> |
getCurrentGroup() |
Validatable |
getCurrentValidatable() |
V |
getCurrentValidatedValue() |
ElementType |
getElementType() |
static <T,V> ValueContext<T,V> |
getLocalExecutionContext(Class<T> type,
Validatable validatable,
PathImpl propertyPath) |
static <T,V> ValueContext<T,V> |
getLocalExecutionContext(T value,
Validatable validatable,
PathImpl propertyPath) |
PathImpl |
getPropertyPath() |
Type |
getTypeOfAnnotatedElement() |
void |
markCurrentPropertyAsIterable() |
void |
setCurrentGroup(Class<?> currentGroup) |
void |
setCurrentValidatedValue(V currentValue) |
void |
setElementType(ElementType elementType) |
void |
setIndex(Integer index) |
void |
setKey(Object key) |
void |
setPropertyPath(PathImpl propertyPath) |
void |
setTypeOfAnnotatedElement(Type typeOfAnnotatedElement) |
String |
toString() |
boolean |
validatingDefault() |
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 V getCurrentValidatedValue()
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()
public final void setTypeOfAnnotatedElement(Type typeOfAnnotatedElement)
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved