agg.parser
Class CriticalPairEvent

java.lang.Object
  extended by java.util.EventObject
      extended by agg.parser.ParserEvent
          extended by agg.parser.ParserMessageEvent
              extended by agg.parser.CriticalPairEvent
All Implemented Interfaces:
java.io.Serializable

public class CriticalPairEvent
extends ParserMessageEvent

A message generated during critical pair analysis.

See Also:
Serialized Form

Field Summary
static int CRITICAL
           
static int HIDE_ENTRY
           
static int NONRELEVANT
           
static int REMOVE_ENTRY
           
static int REMOVE_RELATION_ENTRY
           
static int REMOVE_RULE_ENTRY
           
static int SHOW_ENTRY
           
static int UNCRITICAL
           
 
Fields inherited from class agg.parser.ParserEvent
FINISHED, message, PAIR_FINISHED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CriticalPairEvent(ExcludePairContainer source, Rule first, Rule second)
          Constructs a new object informing, that the state of the rule pair (first, second) has changed.
CriticalPairEvent(ExcludePairContainer source, Rule first, Rule second, int key)
           
CriticalPairEvent(ExcludePairContainer source, Rule first, Rule second, int key, java.lang.String message)
           
CriticalPairEvent(ExcludePairContainer source, Rule first, Rule second, java.lang.String message)
          Constructs a new object informing, that the state of the rule pair (first, second) has changed.
 
Method Summary
 Rule getFirstRule()
          returns the first rule of the changed pair
 int getKey()
           
 Rule getSecondRule()
          returns the second rule of the changed pair
 
Methods inherited from class agg.parser.ParserEvent
getMessage, setMessage
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCRITICAL

public static final int UNCRITICAL
See Also:
Constant Field Values

CRITICAL

public static final int CRITICAL
See Also:
Constant Field Values

NONRELEVANT

public static final int NONRELEVANT
See Also:
Constant Field Values

SHOW_ENTRY

public static final int SHOW_ENTRY
See Also:
Constant Field Values

HIDE_ENTRY

public static final int HIDE_ENTRY
See Also:
Constant Field Values

REMOVE_RULE_ENTRY

public static final int REMOVE_RULE_ENTRY
See Also:
Constant Field Values

REMOVE_RELATION_ENTRY

public static final int REMOVE_RELATION_ENTRY
See Also:
Constant Field Values

REMOVE_ENTRY

public static final int REMOVE_ENTRY
See Also:
Constant Field Values
Constructor Detail

CriticalPairEvent

public CriticalPairEvent(ExcludePairContainer source,
                         Rule first,
                         Rule second)
Constructs a new object informing, that the state of the rule pair (first, second) has changed.


CriticalPairEvent

public CriticalPairEvent(ExcludePairContainer source,
                         Rule first,
                         Rule second,
                         java.lang.String message)
Constructs a new object informing, that the state of the rule pair (first, second) has changed.


CriticalPairEvent

public CriticalPairEvent(ExcludePairContainer source,
                         Rule first,
                         Rule second,
                         int key)

CriticalPairEvent

public CriticalPairEvent(ExcludePairContainer source,
                         Rule first,
                         Rule second,
                         int key,
                         java.lang.String message)
Method Detail

getFirstRule

public Rule getFirstRule()
returns the first rule of the changed pair


getSecondRule

public Rule getSecondRule()
returns the second rule of the changed pair


getKey

public int getKey()
Overrides:
getKey in class ParserMessageEvent