|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.cfg.context.impl.MethodConstraintMappingContextImpl
public class MethodConstraintMappingContextImpl
A constraint mapping creational context which allows to select the parameter or return value to which the next operations shall apply.
| Constructor Summary | |
|---|---|
MethodConstraintMappingContextImpl(java.lang.Class<?> beanClass,
java.lang.reflect.Method method,
ConstraintMappingContext mapping)
|
|
| Method Summary | |
|---|---|
ParameterConstraintMappingContext |
parameter(int index)
Changes the parameter for which added constraints apply. |
ReturnValueConstraintMappingContext |
returnValue()
Selects the current method's return value as the target for the next operations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodConstraintMappingContextImpl(java.lang.Class<?> beanClass,
java.lang.reflect.Method method,
ConstraintMappingContext mapping)
| Method Detail |
|---|
public ParameterConstraintMappingContext parameter(int index)
ParameterTarget
parameter in interface ParameterTargetindex - The parameter index.
public ReturnValueConstraintMappingContext returnValue()
ReturnValueTarget
returnValue in interface ReturnValueTarget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||