|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.eventmanager.framework.TableForEventFilter
org.eclipse.ocl.examples.eventmanager.framework.TableForEventTypeFilter
public class TableForEventTypeFilter
The EventTypeFilterTable manages all Registrations containing EventTypeFilter
.
org.eclipse.ocl.examples.eventmanager.framework.TableForEventFilter.tc.moin.repository.events.framework.EventFilterTable
Field Summary |
---|
Fields inherited from class org.eclipse.ocl.examples.eventmanager.framework.TableForEventFilter |
---|
filterCriteriaByRegistration, tableEntryByFilterCriterion |
Constructor Summary | |
---|---|
TableForEventTypeFilter(int numberOfFilterTables)
|
Method Summary | |
---|---|
java.lang.Object |
getAffectedObject(org.eclipse.emf.common.notify.Notification event)
This method encapsulates the knowledge which information that is contained by the passed event is of interest in the context of the current EventFilterTable. |
java.lang.Class<EventTypeFilter> |
getIdentifier()
Each type of TableForEventFilter is directly associated to a
filter type, but some MoinEventFilters support additional
modifiers that affect the filtering ( for example the
includeCompositions flag on InstanceFilterTable
or the includeSubclasses flag on ClassFilter ). |
Methods inherited from class org.eclipse.ocl.examples.eventmanager.framework.TableForEventFilter |
---|
criterionToString, getCompleteNoBag, isEmpty, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableForEventTypeFilter(int numberOfFilterTables)
Method Detail |
---|
public java.lang.Object getAffectedObject(org.eclipse.emf.common.notify.Notification event)
TableForEventFilter
getAffectedObject
in class TableForEventFilter
event
- the affected event
List
of Interfaces
which contains all implemented Interfaces
of the event and all of its super types.public java.lang.Class<EventTypeFilter> getIdentifier()
TableForEventFilter
TableForEventFilter
is directly associated to a
filter type, but some MoinEventFilters
support additional
modifiers that affect the filtering ( for example the
includeCompositions
flag on InstanceFilterTable
or the includeSubclasses
flag on ClassFilter
).
In those cases, there will be more than one instance of the
EventFilterTable and in order to be able to determine the right instance
for a given MoinEventFilter
, both, the
MoinEventFilter
and the EventFilterTable
must
implement a getIdentifier()
method. The default
implementation simply returns its Class
, but filters and their
tables which support modifying flags return a List
containing the
Class
and all modifiers.
getIdentifier
in class TableForEventFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |