public interface Constrainable<C extends Constrainable<C>>
Modifier and Type | Method and Description |
---|---|
C |
constraint(ConstraintDef<?,?> definition)
Adds a new constraint.
|
C constraint(ConstraintDef<?,?> definition)
definition
- The constraint to add.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.