public class ContainmentFilter extends AbstractEventFilter
Notification.getFeature() is an EReference and
EReference.isContainment() is true, or if the
Notification.getNotifier() is not an EObject, so it might be
a ResourceSet or a Resource.| Constructor and Description |
|---|
ContainmentFilter(boolean negated) |
| Modifier and Type | Method and Description |
|---|---|
ContainmentFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getFilterCriterion()
This method will only returns true, the logic is moved to the
EventManagerTableBased |
int |
hashCode() |
boolean |
matchesFor(org.eclipse.emf.common.notify.Notification event)
Tests if the incoming
Notification matches the intern specification |
java.lang.String |
toString() |
expandNewAndOldValueCollections, isNegated, setNegatedpublic boolean matchesFor(org.eclipse.emf.common.notify.Notification event)
EventFilterNotification matches the intern specificationevent - the Notification to controlNotification matches the intern specificationpublic int hashCode()
hashCode in class AbstractEventFilterpublic boolean equals(java.lang.Object obj)
equals in class AbstractEventFilterpublic ContainmentFilter clone()
clone in interface EventFilterclone in class AbstractEventFilterpublic java.lang.Object getFilterCriterion()
EventManagerTableBasedgetFilterCriterion in interface EventFiltergetFilterCriterion in class AbstractEventFilterAbstractEventFilter.getFilterCriterion()public java.lang.String toString()
toString in class java.lang.Object