Top Constructors Methods
org.hibernate.validator.internal.engine.valuecontext

public final Class ValueContexts

extends Object
Class Inheritance
Imports
org.hibernate.validator.internal.engine.path.PathImpl, org.hibernate.validator.internal.metadata.aggregated.BeanMetaData, org.hibernate.validator.internal.metadata.facets.Validatable, org.hibernate.validator.internal.util.ExecutableParameterNameProvider

Author
Marko Bekhta

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T, V> BeanValueContext<T, V>
getLocalExecutionContextForBean(ExecutableParameterNameProvider parameterNameProvider, T value, BeanMetaData<?> currentBeanMetaData, PathImpl propertyPath)

public static <T, V> ValueContext<T, V>
getLocalExecutionContextForExecutable(ExecutableParameterNameProvider parameterNameProvider, T value, Validatable validatable, PathImpl propertyPath)

Creates a value context for validating an executable.

public static <T, V> BeanValueContext<T, V>
getLocalExecutionContextForValueValidation(ExecutableParameterNameProvider parameterNameProvider, BeanMetaData<?> currentBeanMetaData, PathImpl propertyPath)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ValueContextsback to summary
private ValueContexts()

Method Detail

getLocalExecutionContextForBeanback to summary
public static <T, V> BeanValueContext<T, V> getLocalExecutionContextForBean(ExecutableParameterNameProvider parameterNameProvider, T value, BeanMetaData<?> currentBeanMetaData, PathImpl propertyPath)
Annotations
@SuppressWarnings:unchecked
getLocalExecutionContextForExecutableback to summary
public static <T, V> ValueContext<T, V> getLocalExecutionContextForExecutable(ExecutableParameterNameProvider parameterNameProvider, T value, Validatable validatable, PathImpl propertyPath)

Creates a value context for validating an executable. Can be applied to both parameter and return value validation. Does not require a bean metadata information.

getLocalExecutionContextForValueValidationback to summary
public static <T, V> BeanValueContext<T, V> getLocalExecutionContextForValueValidation(ExecutableParameterNameProvider parameterNameProvider, BeanMetaData<?> currentBeanMetaData, PathImpl propertyPath)
Annotations
@SuppressWarnings:unchecked