Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.3.5 generated on August 31 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## kodo.event
Class InstanceLifecycleEvent

    java.lang.Object
      |
      +--java.util.EventObject
            |
            +--kodo.event.InstanceLifecycleEvent

All Implemented Interfaces:
  Serializable

public class InstanceLifecycleEvent
extends EventObject

Lifecycle event on a persistent instance. The event source is the persistence capable instance whose state has changed.

Events correlate to `InstanceCallbacks` callback methods. Additional events for create (makePersistent ()), and dirty are included.

Since:
  3.3
See Also:
  Serialized Form

Field Summary
`static int` | `CLEAR` Event type when an instance is loaded (analagous to `InstanceCallbacks#preClear`).
`static int` | `CREATE` Event type when an instance is made persistent
`static int` | `DELETE` Event type when an instance is loaded (analagous to `InstanceCallbacks#preDelete`).
`static int` | `DIRTY` Event type when an instance is dirtied for the first time.
`static int` | `LOAD` Event type when an instance is loaded (analagous to `InstanceCallbacks#postLoad`).
`static int` | `STORE` Event type when an instance is loaded (analagous to `InstanceCallbacks#preStore`).

Fields inherited from class java.util.EventObject
`source`

Constructor Summary
`InstanceLifecycleEvent(Object pc, int type)`

Method Summary
`int` | `getEventType()`

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

### CREATE

    public static final int CREATE

  Event type when an instance is made persistent

### LOAD

    public static final int LOAD

  Event type when an instance is loaded (analagous to `InstanceCallbacks#postLoad`).

### STORE

    public static final int STORE

  Event type when an instance is loaded (analagous to `InstanceCallbacks#preStore`).

### CLEAR

    public static final int CLEAR

  Event type when an instance is loaded (analagous to `InstanceCallbacks#preClear`).

### DELETE

    public static final int DELETE

  Event type when an instance is loaded (analagous to `InstanceCallbacks#preDelete`).

### DIRTY

    public static final int DIRTY

  Event type when an instance is dirtied for the first time.

Constructor Detail

### InstanceLifecycleEvent

    public InstanceLifecycleEvent(Object pc,
                                  int type)

Method Detail

### getEventType

    public int getEventType()

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.3.5 generated on August 31 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.