public final class PropertyConstraintMappingContextImpl extends Object implements PropertyConstraintMappingContext
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
beanClass |
protected ConstraintMappingContext |
mapping |
| Modifier and Type | Method and Description |
|---|---|
PropertyConstraintMappingContext |
constraint(ConstraintDef<?,?> definition)
Adds a new constraint.
|
PropertyConstraintMappingContext |
ignoreAnnotations()
Specifies that annotations specified on the configured type or property should be ignored.
|
MethodConstraintMappingContext |
method(String name,
Class<?>... parameterTypes) |
PropertyConstraintMappingContext |
property(String property,
ElementType elementType) |
<C> TypeConstraintMappingContext<C> |
type(Class<C> type) |
PropertyConstraintMappingContext |
valid()
Marks the current element (property, parameter etc.) as cascadable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypepropertymethodprotected final Class<?> beanClass
protected final ConstraintMappingContext mapping
public PropertyConstraintMappingContext constraint(ConstraintDef<?,?> definition)
Constrainableconstraint in interface Constrainable<PropertyConstraintMappingContext>definition - The constraint to add.public PropertyConstraintMappingContext ignoreAnnotations()
AnnotationProcessingOptionsignoreAnnotations in interface AnnotationProcessingOptions<PropertyConstraintMappingContext>public PropertyConstraintMappingContext valid()
Cascadablevalid in interface Cascadable<PropertyConstraintMappingContext>public <C> TypeConstraintMappingContext<C> type(Class<C> type)
public PropertyConstraintMappingContext property(String property, ElementType elementType)
public MethodConstraintMappingContext method(String name, Class<?>... parameterTypes)
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved