|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILiveValidator
An IValidator that supports live-mode validation of
Notifications.
Not intended to be implemented by clients.
ModelValidationService.newValidator(EvaluationMode),
EvaluationMode.LIVE| Method Summary | |
|---|---|
FilteredCollection.Filter |
getNotificationFilter()
Obtains a filter that is used to determine which notifications will be validated (passed on to constraints to check). |
void |
setNotificationFilter(FilteredCollection.Filter filter)
Sets the filter that is used to determine which notifications will be validated (passed on to constraints to check). |
IStatus |
validate(Notification notification)
Validates the specified EMF event. |
IStatus |
validate(Object object)
Validates an object. |
| Methods inherited from interface org.eclipse.emf.validation.service.IValidator |
|---|
addConstraintFilter, getClientData, getConstraintFilters, getEvaluationMode, isReportSuccesses, putClientData, removeConstraintFilter, setReportSuccesses, validate |
| Method Detail |
|---|
IStatus validate(Notification notification)
EMF event. This method is a
synonym for the inherited IValidator.validate(Object).
notification - the EMF event to validate
IValidator.validate(Object)IStatus validate(Object object)
validate in interface IValidatorobject - must be a Notification
severity of the result indicates whether
validation passed or (how badly it) failed. Normally, the result is
a multi-status whose children are
the results of individual constraint evaluations
ClassCastException - if object is not a
NotificationFilteredCollection.Filter getNotificationFilter()
setNotificationFilter(org.eclipse.emf.validation.util.FilteredCollection.Filter)void setNotificationFilter(FilteredCollection.Filter filter)
filter - the notification filter to usegetNotificationFilter()
|
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 | |||||||||