C - The type represented by this creational context.public final class TypeConstraintMappingContextImpl<C> extends ConstraintMappingContextImplBase implements TypeConstraintMappingContext<C>
beanClass, mapping| Constructor and Description |
|---|
TypeConstraintMappingContextImpl(Class<?> beanClass,
ConstraintMappingContext mapping) |
| Modifier and Type | Method and Description |
|---|---|
TypeConstraintMappingContext<C> |
constraint(ConstraintDef<?,?> definition)
Adds a new constraint.
|
TypeConstraintMappingContext<C> |
defaultGroupSequence(Class<?>... defaultGroupSequence)
Defines the default group sequence for current type.
|
TypeConstraintMappingContext<C> |
defaultGroupSequenceProviderClass(Class<? extends DefaultGroupSequenceProvider<? super C>> defaultGroupSequenceProviderClass)
Defines the default group sequence provider for the current type.
|
TypeConstraintMappingContext<C> |
ignoreAllAnnotations()
Defines that all annotations for this type should be ignored.
|
TypeConstraintMappingContext<C> |
ignoreAnnotations()
Specifies that annotations specified on the configured type or property should be ignored.
|
method, property, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypepropertymethodpublic TypeConstraintMappingContextImpl(Class<?> beanClass, ConstraintMappingContext mapping)
public TypeConstraintMappingContext<C> constraint(ConstraintDef<?,?> definition)
Constrainableconstraint in interface Constrainable<TypeConstraintMappingContext<C>>definition - The constraint to add.public TypeConstraintMappingContext<C> ignoreAnnotations()
AnnotationProcessingOptionsignoreAnnotations in interface AnnotationProcessingOptions<TypeConstraintMappingContext<C>>public TypeConstraintMappingContext<C> ignoreAllAnnotations()
TypeConstraintMappingContextignoreAllAnnotations in interface TypeConstraintMappingContext<C>public TypeConstraintMappingContext<C> defaultGroupSequence(Class<?>... defaultGroupSequence)
TypeConstraintMappingContextdefaultGroupSequence in interface TypeConstraintMappingContext<C>defaultGroupSequence - the default group sequence.public TypeConstraintMappingContext<C> defaultGroupSequenceProviderClass(Class<? extends DefaultGroupSequenceProvider<? super C>> defaultGroupSequenceProviderClass)
TypeConstraintMappingContextdefaultGroupSequenceProviderClass in interface TypeConstraintMappingContext<C>defaultGroupSequenceProviderClass - The default group sequence provider class.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved