public class StructuralFeatureFilter extends AbstractEventFilter
feature
.Constructor and Description |
---|
StructuralFeatureFilter(org.eclipse.emf.ecore.EStructuralFeature feature,
boolean negated)
The standard constructor
|
Modifier and Type | Method and Description |
---|---|
StructuralFeatureFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
org.eclipse.emf.ecore.EStructuralFeature |
getFeature()
Gives the
feature of the filter |
java.lang.Object |
getFilterCriterion()
Returns the unique property for an
AbstractEventFilter object |
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, setNegated
public StructuralFeatureFilter(org.eclipse.emf.ecore.EStructuralFeature feature, boolean negated)
negated
- set AbstractEventFilter.isNegated()
feature
- the feature
to matchpublic org.eclipse.emf.ecore.EStructuralFeature getFeature()
feature
of the filterfeature
public boolean equals(java.lang.Object obj)
equals
in class AbstractEventFilter
public int hashCode()
hashCode
in class AbstractEventFilter
public boolean matchesFor(org.eclipse.emf.common.notify.Notification event)
EventFilter
Notification
matches the intern specificationevent
- the Notification
to controlNotification
matches the intern specificationpublic StructuralFeatureFilter clone()
clone
in interface EventFilter
clone
in class AbstractEventFilter
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getFilterCriterion()
AbstractEventFilter
AbstractEventFilter
objectgetFilterCriterion
in interface EventFilter
getFilterCriterion
in class AbstractEventFilter