Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protege.event
Class InstanceEvent

    java.lang.Object
      java.util.EventObject
          edu.stanford.smi.protege.util.SessionEvent
              edu.stanford.smi.protege.util.AbstractEvent
                  edu.stanford.smi.protege.event.InstanceEvent

All Implemented Interfaces:
  Event, Localizable, 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()`
`Instance` | `getInstance()`
`boolean` | `isDeletingInstanceEvent()`

Methods inherited from class edu.stanford.smi.protege.util.AbstractEvent
`equals, equals, getArgument, getArgument1, getArgument2, getArgument3, getEventType, getSource, getTimeStamp, getUserName, hashCode, isReplacementEvent, localize, setReplacementEvent, setSource, setTimeStamp, toString`

Methods inherited from class edu.stanford.smi.protege.util.SessionEvent
`getSession, isHiddenByTransaction, setHiddenByTransaction`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, 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

### getInstance

    public Instance getInstance()

### getCls

    public Cls getCls()

### isDeletingInstanceEvent

    public boolean isDeletingInstanceEvent()

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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