T
- the constraint typepublic interface ConstraintFactory<T>
SchemaBuilder
,
Constraint
Modifier and Type | Method and Description |
---|---|
T |
createConstraint(Object arg,
Definition<?> context)
Create a constraint from the given argument.
|
T createConstraint(Object arg, Definition<?> context)
arg
- the argument describing the constraintcontext
- the constraint context it is added toBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a