public class ClassFilter extends AbstractEventFilter
notifier
's class
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EClass |
wantedClass |
Constructor and Description |
---|
ClassFilter(org.eclipse.emf.ecore.EClass clazz,
boolean negated) |
Modifier and Type | Method and Description |
---|---|
ClassFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getFilterCriterion()
Returns the unique property for an
AbstractEventFilter object |
org.eclipse.emf.ecore.EClass |
getWantedClass() |
int |
hashCode() |
protected boolean |
matches(org.eclipse.emf.ecore.EClass cls) |
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 ClassFilter(org.eclipse.emf.ecore.EClass clazz, boolean negated)
public org.eclipse.emf.ecore.EClass getWantedClass()
public int hashCode()
hashCode
in class AbstractEventFilter
public boolean equals(java.lang.Object obj)
equals
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 specificationprotected boolean matches(org.eclipse.emf.ecore.EClass cls)
public java.lang.String toString()
toString
in class java.lang.Object
public ClassFilter clone()
clone
in interface EventFilter
clone
in class AbstractEventFilter
public java.lang.Object getFilterCriterion()
AbstractEventFilter
AbstractEventFilter
objectgetFilterCriterion
in interface EventFilter
getFilterCriterion
in class AbstractEventFilter