Interface TypeTarget
- All Known Subinterfaces:
ConstraintDefinitionContext<A>
,ConstraintMappingTarget
,ContainerElementConstraintMappingContext
,CrossParameterConstraintMappingContext
,ParameterConstraintMappingContext
,PropertyConstraintMappingContext
,ReturnValueConstraintMappingContext
,TypeConstraintMappingContext<C>
- All Known Implementing Classes:
ContainerElementConstraintMappingContextImpl
,TypeConstraintMappingContextImpl
public interface TypeTarget
Facet of a constraint mapping creational context which allows to select the bean
type to which the next operations shall apply.
- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI, Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescription<C> TypeConstraintMappingContext<C>
Selects the type to which the next operations shall apply.
-
Method Details
-
type
Selects the type to which the next operations shall apply. A given type may only be configured once.- Type Parameters:
C
- The type to select.- Parameters:
type
- The type to select.- Returns:
- A creational context representing the selected type.
-