Interface TypeConstraintMappingContext<C>
- Type Parameters:
C- The type represented by this creational context.
- All Superinterfaces:
AnnotationIgnoreOptions<TypeConstraintMappingContext<C>>, Constrainable<TypeConstraintMappingContext<C>>, ConstraintDefinitionTarget, ConstraintMappingTarget, ConstructorTarget, MethodTarget, PropertyTarget, TypeTarget
public interface TypeConstraintMappingContext<C>
extends Constrainable<TypeConstraintMappingContext<C>>, ConstraintMappingTarget, PropertyTarget, MethodTarget, ConstructorTarget, AnnotationIgnoreOptions<TypeConstraintMappingContext<C>>
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 <kevin.pollet@serli.com> (C) 2011 SERLI, Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptiondefaultGroupSequence(Class<?>... defaultGroupSequence) Defines the default group sequence for current type.defaultGroupSequenceProviderClass(Class<? extends DefaultGroupSequenceProvider<? super C>> defaultGroupSequenceProviderClass) Defines the default group sequence provider for the current type.Defines that all annotations for this type should be ignored.Methods inherited from interface AnnotationIgnoreOptions
ignoreAnnotationsMethods inherited from interface Constrainable
constraintMethods inherited from interface ConstraintDefinitionTarget
constraintDefinitionMethods inherited from interface ConstructorTarget
constructorMethods inherited from interface MethodTarget
methodMethods inherited from interface PropertyTarget
field, getterMethods inherited from interface TypeTarget
type
-
Method Details
-
ignoreAllAnnotations
TypeConstraintMappingContext<C> ignoreAllAnnotations()Defines that all annotations for this type should be ignored.- Returns:
- The current creational context following the method chaining pattern.
-
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.
-
defaultGroupSequenceProviderClass
TypeConstraintMappingContext<C> defaultGroupSequenceProviderClass(Class<? extends DefaultGroupSequenceProvider<? super C>> 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.
-