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, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
type
property
method
public TypeConstraintMappingContextImpl(Class<?> beanClass, ConstraintMappingContext mapping)
public TypeConstraintMappingContext<C> constraint(ConstraintDef<?,?> definition)
Constrainable
constraint
in interface Constrainable<TypeConstraintMappingContext<C>>
definition
- The constraint to add.public TypeConstraintMappingContext<C> ignoreAnnotations()
AnnotationProcessingOptions
ignoreAnnotations
in interface AnnotationProcessingOptions<TypeConstraintMappingContext<C>>
public TypeConstraintMappingContext<C> ignoreAllAnnotations()
TypeConstraintMappingContext
ignoreAllAnnotations
in interface TypeConstraintMappingContext<C>
public TypeConstraintMappingContext<C> defaultGroupSequence(Class<?>... defaultGroupSequence)
TypeConstraintMappingContext
defaultGroupSequence
in interface TypeConstraintMappingContext<C>
defaultGroupSequence
- the default group sequence.public TypeConstraintMappingContext<C> defaultGroupSequenceProviderClass(Class<? extends DefaultGroupSequenceProvider<? super C>> defaultGroupSequenceProviderClass)
TypeConstraintMappingContext
defaultGroupSequenceProviderClass
in interface TypeConstraintMappingContext<C>
defaultGroupSequenceProviderClass
- The default group sequence provider class.Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved