Protege 2.1

edu.stanford.smi.protege.event
Class InstanceEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byedu.stanford.smi.protege.util.AbstractEvent
          extended byedu.stanford.smi.protege.event.InstanceEvent
All Implemented Interfaces:
Serializable

public class InstanceEvent
extends AbstractEvent

Event generated when an instance changes.

Author:
Ray Fergerson
See Also:
Serialized Form

Field Summary
static int DIRECT_TYPE_ADDED
           
static int DIRECT_TYPE_REMOVED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InstanceEvent(Instance instance, int type, Object cls)
           
 
Method Summary
 Cls getCls()
           
 
Methods inherited from class edu.stanford.smi.protege.util.AbstractEvent
equals, equals, getArgument, getArgument1, getArgument2, getArgument3, getEventType, getSource, setKnowledgeBase, setSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIRECT_TYPE_ADDED

public static final int DIRECT_TYPE_ADDED
See Also:
Constant Field Values

DIRECT_TYPE_REMOVED

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

InstanceEvent

public InstanceEvent(Instance instance,
                     int type,
                     Object cls)
Method Detail

getCls

public Cls getCls()

Protege 2.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.