Top Description Fields Constructors Methods
org.hibernate.validator.internal.cfg.context

pack-priv abstract Class ExecutableConstraintMappingContextImpl

extends Object
Class Inheritance
Known Direct Subclasses
org.hibernate.validator.internal.cfg.context.MethodConstraintMappingContextImpl, org.hibernate.validator.internal.cfg.context.ConstructorConstraintMappingContextImpl
Static Imports
org.hibernate.validator.internal.util.CollectionHelper.newArrayList

A constraint mapping creational context which allows to select the parameter or return value to which the next operations shall apply.
Authors
Kevin Pollet <[email protected]> (C) 2011 SERLI, Gunnar Morling

Field Summary

Modifier and TypeField and Description
protected final Callable
private CrossParameterConstraintMappingContextImpl
private static final Log
private final ParameterConstraintMappingContextImpl[]
private ReturnValueConstraintMappingContextImpl
protected final TypeConstraintMappingContextImpl<?>
typeContext

Deprecated as a consequence of TypeConstraintMappingContextImpl being deprecated.

Constructor Summary

AccessConstructor and Description
protected
ExecutableConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Callable callable)

Deprecated as a consequence of TypeConstraintMappingContextImpl being deprecated.

Method Summary

Modifier and TypeMethod and Description
public ConstrainedElement
build(ConstraintCreationContext constraintCreationContext)

public CrossParameterConstraintMappingContext
public Callable
private List<ConstrainedParameter>
getParameters(ConstraintCreationContext constraintCreationContext)

public TypeConstraintMappingContextImpl<?>
getTypeContext()

Deprecated as a consequence of TypeConstraintMappingContextImpl being deprecated.
public ParameterConstraintMappingContext
parameter(int index)

public ReturnValueConstraintMappingContext
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

callableback to summary
protected final Callable callable
crossParameterContextback to summary
private CrossParameterConstraintMappingContextImpl crossParameterContext
LOGback to summary
private static final Log LOG
parameterContextsback to summary
private final ParameterConstraintMappingContextImpl[] parameterContexts
returnValueContextback to summary
private ReturnValueConstraintMappingContextImpl returnValueContext
typeContextback to summary
protected final TypeConstraintMappingContextImpl<?> typeContext

Deprecated

as a consequence of TypeConstraintMappingContextImpl being deprecated. See corresponding docs for further information.

Constructor Detail

ExecutableConstraintMappingContextImplback to summary
protected ExecutableConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Callable callable)

Deprecated

as a consequence of TypeConstraintMappingContextImpl being deprecated. See corresponding docs for further information.

Method Detail

buildback to summary
public ConstrainedElement build(ConstraintCreationContext constraintCreationContext)
crossParameterback to summary
public CrossParameterConstraintMappingContext crossParameter()
getCallableback to summary
public Callable getCallable()
getParametersback to summary
private List<ConstrainedParameter> getParameters(ConstraintCreationContext constraintCreationContext)
getTypeContextback to summary
public TypeConstraintMappingContextImpl<?> getTypeContext()

Deprecated

as a consequence of TypeConstraintMappingContextImpl being deprecated. See corresponding docs for further information.

parameterback to summary
public ParameterConstraintMappingContext parameter(int index)
returnValueback to summary
public ReturnValueConstraintMappingContext returnValue()