|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConstraintFilter
Interface implemented by clients who wish to define a constraint filter on their validator.
IValidator.addConstraintFilter(IConstraintFilter)
Field Summary | |
---|---|
static IConstraintFilter |
IDENTITY_INSTANCE
A shared filter instance that doesn't filter out any constraints (all pass through). |
Method Summary | |
---|---|
boolean |
accept(IConstraintDescriptor constraint,
EObject target)
Determines whether a given constraint and
target pair are accepted by this filter. |
Field Detail |
---|
static final IConstraintFilter IDENTITY_INSTANCE
Method Detail |
---|
boolean accept(IConstraintDescriptor constraint, EObject target)
constraint
and
target
pair are accepted by this filter. This is
applicable to both batch and live validation modes.
constraint
- descriptor of a constraint to consider for filteringtarget
- the object on which the constraint
would
be validated
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |