public class DefaultConstraintMapping extends Object implements ConstraintMapping
ConstraintMapping.| Constructor and Description |
|---|
DefaultConstraintMapping() |
| Modifier and Type | Method and Description |
|---|---|
ConstraintMappingContext |
getContext() |
<C> TypeConstraintMappingContext<C> |
type(Class<C> beanClass)
Starts defining constraints on the specified bean class.
|
public final <C> TypeConstraintMappingContext<C> type(Class<C> beanClass)
ConstraintMappingtype in interface ConstraintMappingC - The type to be configured.beanClass - The bean class on which to define constraints. All constraints defined after calling this method
are added to the bean of the type beanClass until the next call of type.public ConstraintMappingContext getContext()
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved