org.eclipse.ocl.examples.eventmanager.framework
Class FilterTableEntry

java.lang.Object
  extended by org.eclipse.ocl.examples.eventmanager.framework.FilterTableEntry

public class FilterTableEntry
extends java.lang.Object

This class contains all registrations that are associated with a single filter criterion in an TableForEventFilter. There are two types of Registrations}:

The registrations are stored keyed by the set of tables in which the Registration is registered. With this, an intersection of the positive registrations in those tables can be performed, restricted to the registrations that are registered for the same set of tables.

Author:
Daniel Vocke (D044825)

Method Summary
 void addNegatedRegistrations(org.eclipse.ocl.examples.eventmanager.framework.Registration registration)
           
 void addRegistrations(org.eclipse.ocl.examples.eventmanager.framework.Registration registration)
           
 Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration> getNoSet(int bitSetForTableCombination)
           
 Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration>[] getNoSets()
          The explicit "no" registrations, as an array where each element corresponds to one bit set that describes in which tables the registration is registered.
 Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration> getYesSet(int bitSetForTableCombination)
           
 Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration>[] getYesSets()
          The explicit "yes" registrations, as an array where each element corresponds to one bit set that describes in which tables the registration is registered.
 void remove(org.eclipse.ocl.examples.eventmanager.framework.Registration registration)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addRegistrations

public void addRegistrations(org.eclipse.ocl.examples.eventmanager.framework.Registration registration)

addNegatedRegistrations

public void addNegatedRegistrations(org.eclipse.ocl.examples.eventmanager.framework.Registration registration)

remove

public void remove(org.eclipse.ocl.examples.eventmanager.framework.Registration registration)

getYesSet

public Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration> getYesSet(int bitSetForTableCombination)

getNoSet

public Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration> getNoSet(int bitSetForTableCombination)

getYesSets

public Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration>[] getYesSets()
The explicit "yes" registrations, as an array where each element corresponds to one bit set that describes in which tables the registration is registered. Clients must not modify the array returned!


getNoSets

public Bag<org.eclipse.ocl.examples.eventmanager.framework.Registration>[] getNoSets()
The explicit "no" registrations, as an array where each element corresponds to one bit set that describes in which tables the registration is registered. Clients must not modify the array returned!