org.hibernate.validator.cfg.context
Interface TypeTarget

All Known Subinterfaces:
ParameterConstraintMappingContext, PropertyConstraintMappingContext, ReturnValueConstraintMappingContext, TypeConstraintMappingContext<C>
All Known Implementing Classes:
ParameterConstraintMappingContextImpl, PropertyConstraintMappingContextImpl, ReturnValueConstraintMappingContextImpl, TypeConstraintMappingContextImpl

public interface TypeTarget

Facet of a constraint mapping creational context which allows to the select the bean type to which the next operations shall apply.

Author:
Kevin Pollet - SERLI - (kevin.pollet@serli.com), Gunnar Morling

Method Summary
<C> TypeConstraintMappingContext<C>
type(Class<C> type)
          Selects the type to which the next operations shall apply.
 

Method Detail

type

<C> TypeConstraintMappingContext<C> type(Class<C> type)
Selects the type to which the next operations shall apply.

Type Parameters:
C - The type to select.
Parameters:
type - The type to select.
Returns:
A creational context representing the selected type.


Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved