|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.internal.cfg.context.ConstraintMappingContextImplBase
org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl<C>
C - The type represented by this creational context.public final class TypeConstraintMappingContextImpl<C>
Constraint mapping creational context which allows to configure the class-level constraints for one bean.
| Field Summary |
|---|
| Fields inherited from class org.hibernate.validator.internal.cfg.context.ConstraintMappingContextImplBase |
|---|
beanClass, mapping |
| Constructor Summary | |
|---|---|
TypeConstraintMappingContextImpl(Class<?> beanClass,
ConstraintMappingContext mapping)
|
|
| Method Summary | ||
|---|---|---|
TypeConstraintMappingContext<C> |
constraint(ConstraintDef<?,?> definition)
Adds a new constraint. |
|
TypeConstraintMappingContext<C> |
defaultGroupSequence(Class<?>... defaultGroupSequence)
Defines the default group sequence for current type. |
|
|
defaultGroupSequenceProvider(Class<T> defaultGroupSequenceProviderClass)
Defines the default group sequence provider for the 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. |
|
| Methods inherited from class org.hibernate.validator.internal.cfg.context.ConstraintMappingContextImplBase |
|---|
method, property, type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.validator.cfg.context.TypeTarget |
|---|
type |
| Methods inherited from interface org.hibernate.validator.cfg.context.PropertyTarget |
|---|
property |
| Methods inherited from interface org.hibernate.validator.cfg.context.MethodTarget |
|---|
method |
| Constructor Detail |
|---|
public TypeConstraintMappingContextImpl(Class<?> beanClass,
ConstraintMappingContext mapping)
| Method Detail |
|---|
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 <T extends DefaultGroupSequenceProvider<? super C>> TypeConstraintMappingContext<C> defaultGroupSequenceProvider(Class<T> defaultGroupSequenceProviderClass)
TypeConstraintMappingContext
defaultGroupSequenceProvider in interface TypeConstraintMappingContext<C>defaultGroupSequenceProviderClass - The default group sequence provider class.
public TypeConstraintMappingContext<C> defaultGroupSequenceProviderClass(Class<? extends DefaultGroupSequenceProvider<? super C>> defaultGroupSequenceProviderClass)
TypeConstraintMappingContext
defaultGroupSequenceProviderClass in interface TypeConstraintMappingContext<C>defaultGroupSequenceProviderClass - The default group sequence provider class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||