public class NotFilter extends LogicalOperationFilterImpl
LogicalOperationFilter
and implements the not-operator.
Not applies only for one EventFilter
so the NotFilter
can only contain one operand.Constructor and Description |
---|
NotFilter() |
NotFilter(EventFilter subTypeFilterTree)
The standard constructor
|
Modifier and Type | Method and Description |
---|---|
NotFilter |
clone() |
boolean |
matchesFor(org.eclipse.emf.common.notify.Notification event)
Tests if the incoming
Notification matches the intern specification |
java.lang.String |
toString() |
addOperand, addOperands, clearOperands, cloneContents, equals, getFilterCriterion, getOperands, hashCode, isNegated, setNegated
expandNewAndOldValueCollections
public NotFilter()
public NotFilter(EventFilter subTypeFilterTree)
subTypeFilterTree
- the filter to negatepublic boolean matchesFor(org.eclipse.emf.common.notify.Notification event)
EventFilter
Notification
matches the intern specificationevent
- the Notification
to controlNotification
matches the intern specificationpublic NotFilter clone()
clone
in interface EventFilter
clone
in class AbstractEventFilter
public java.lang.String toString()
toString
in class java.lang.Object