org.hibernate.validator.cfg.context
Interface TypeConstraintMappingContext<C>
- Type Parameters:
C
- The type represented by this creational context.
- All Superinterfaces:
- Constrainable<TypeConstraintMappingContext<C>>, MethodTarget, PropertyTarget, TypeTarget
- All Known Implementing Classes:
- TypeConstraintMappingContextImpl
public interface TypeConstraintMappingContext<C>
- extends Constrainable<TypeConstraintMappingContext<C>>, TypeTarget, PropertyTarget, MethodTarget
Constraint mapping creational context representing a type. Allows place
class-level constraints on that type, define its default group sequence (and provider)
and to navigate to other constraint targets.
- Author:
- Kevin Pollet - SERLI - (kevin.pollet@serli.com), Gunnar Morling
Methods inherited from interface org.hibernate.validator.cfg.context.TypeTarget |
type |
defaultGroupSequence
TypeConstraintMappingContext<C> defaultGroupSequence(Class<?>... defaultGroupSequence)
- Defines the default group sequence for current type.
- Parameters:
defaultGroupSequence
- the default group sequence.
- Returns:
- The current creational context following the method chaining pattern.
defaultGroupSequenceProvider
<T extends DefaultGroupSequenceProvider<? super C>> TypeConstraintMappingContext<C> defaultGroupSequenceProvider(Class<T> defaultGroupSequenceProviderClass)
- Defines the default group sequence provider for the current type.
- Parameters:
defaultGroupSequenceProviderClass
- The default group sequence provider class.
- Returns:
- The current creational context following the method chaining pattern.
Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved