interface ConstraintFactory<T extends Constraint>
Constructs a constraint
Type Params | Return Type | Name and description |
---|---|---|
|
abstract T |
build(java.lang.Class owner, java.lang.String property, java.lang.Object constrainingValue) Builds a constraint |
|
abstract java.lang.String |
getName()
|
|
abstract java.lang.Class<T> |
getType()
|
|
abstract boolean |
supports(java.lang.Class targetType) The target type this factory supports |
Builds a constraint
owner
- The ownerproperty
- The propertyconstrainingValue
- The constrainting value
The target type this factory supports
targetType
- The target type