jeops
Class ConflictSetEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jeops.ConflictSetEvent

public class ConflictSetEvent
extends java.util.EventObject

A semantic event that indicates that an element was either added to or removed from a conflict set.

Version:
0.01 08 Jun 2000
Author:
Carlos Figueira Filho (csff@di.ufpe.br)
See Also:
Serialized Form

Constructor Summary
ConflictSetEvent(AbstractKnowledgeBase source, ConflictSetElement element)
          Class constructor.
 
Method Summary
 ConflictSetElement getElement()
          Returns the element that was added/removed.
 AbstractKnowledgeBase getKnowledgeBase()
          Returns the knowledge base that added or removed the element.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConflictSetEvent

public ConflictSetEvent(AbstractKnowledgeBase source,
                        ConflictSetElement element)
Class constructor.
Parameters:
source - the knowledge base that added or removed the element.
element - the element that was added or removed.
Method Detail

getKnowledgeBase

public AbstractKnowledgeBase getKnowledgeBase()
Returns the knowledge base that added or removed the element.
Returns:
the knowledge base that added or removed the element.

getElement

public ConflictSetElement getElement()
Returns the element that was added/removed.
Returns:
the element that was added/removed.