|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.eventmanager.filters.AbstractEventFilter
org.eclipse.ocl.examples.eventmanager.filters.StructuralFeatureFilter
public class StructuralFeatureFilter
Matches a feature.
| Constructor Summary | |
|---|---|
StructuralFeatureFilter(org.eclipse.emf.ecore.EStructuralFeature feature,
boolean negated)
The standard constructor |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.eclipse.ocl.examples.eventmanager.filters.AbstractEventFilter |
|---|
expandNewAndOldValueCollections, isNegated, setNegated |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StructuralFeatureFilter(org.eclipse.emf.ecore.EStructuralFeature feature,
boolean negated)
negated - set AbstractEventFilter.isNegated()passes - the feature to match| Method Detail |
|---|
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
feature of the filter
featurepublic boolean equals(java.lang.Object obj)
equals in class AbstractEventFilterpublic int hashCode()
hashCode in class AbstractEventFilterpublic boolean matchesFor(org.eclipse.emf.common.notify.Notification event)
EventFilterNotification matches the intern specification
event - the Notification to control
Notification matches the intern specificationpublic StructuralFeatureFilter clone()
clone in interface EventFilterclone in class AbstractEventFilterpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object getFilterCriterion()
AbstractEventFilterAbstractEventFilter object
getFilterCriterion in interface EventFiltergetFilterCriterion in class AbstractEventFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||