org.hibernate.validator.engine
Class LocalExecutionContext<T,V>
java.lang.Object
org.hibernate.validator.engine.LocalExecutionContext<T,V>
public class LocalExecutionContext<T,V>
- extends java.lang.Object
An instance of this class is used to collect all the relevant information for validating a single entity/bean.
- Author:
- Hardy Ferentschik
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalExecutionContext
public LocalExecutionContext(T currentBean,
java.lang.Class<T> currentBeanType)
getLocalExecutionContext
public static <T,V> LocalExecutionContext<T,V> getLocalExecutionContext(T value)
getLocalExecutionContext
public static <T,V> LocalExecutionContext<T,V> getLocalExecutionContext(java.lang.Class<T> type)
getPropertyPath
public PathImpl getPropertyPath()
getCurrentGroup
public java.lang.Class<?> getCurrentGroup()
getCurrentBean
public T getCurrentBean()
getCurrentBeanType
public java.lang.Class<T> getCurrentBeanType()
getCurrentValidatedValue
public V getCurrentValidatedValue()
setPropertyPath
public void setPropertyPath(PathImpl propertyPath)
setCurrentGroup
public void setCurrentGroup(java.lang.Class<?> currentGroup)
setCurrentValidatedValue
public void setCurrentValidatedValue(V currentValue)
markCurrentPropertyAsIterable
public void markCurrentPropertyAsIterable()
validatingDefault
public boolean validatingDefault()
getElementType
public java.lang.annotation.ElementType getElementType()
setElementType
public void setElementType(java.lang.annotation.ElementType elementType)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2007-2009. All Rights Reserved.