|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.cfg.context.impl.ConstraintMappingContextImplBase
org.hibernate.validator.cfg.context.impl.PropertyConstraintMappingContextImpl
public final class PropertyConstraintMappingContextImpl
Constraint mapping creational context which allows to configure the constraints for one bean property.
| Field Summary |
|---|
| Fields inherited from class org.hibernate.validator.cfg.context.impl.ConstraintMappingContextImplBase |
|---|
beanClass, mapping |
| Constructor Summary | |
|---|---|
PropertyConstraintMappingContextImpl(java.lang.Class<?> beanClass,
java.lang.reflect.Member member,
ConstraintMappingContext mapping)
|
|
| Method Summary | |
|---|---|
PropertyConstraintMappingContext |
constraint(ConstraintDef<?,?> definition)
Adds a new constraint. |
PropertyConstraintMappingContext |
valid()
Marks the current element (property, parameter etc.) as cascadable. |
| Methods inherited from class org.hibernate.validator.cfg.context.impl.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 PropertyConstraintMappingContextImpl(java.lang.Class<?> beanClass,
java.lang.reflect.Member member,
ConstraintMappingContext mapping)
| Method Detail |
|---|
public PropertyConstraintMappingContext constraint(ConstraintDef<?,?> definition)
Constrainable
constraint in interface Constrainable<PropertyConstraintMappingContext>definition - The constraint to add.
public PropertyConstraintMappingContext valid()
Cascadable
valid in interface Cascadable<PropertyConstraintMappingContext>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||