org.apache.ojb.broker
Class PBLifeCycleEvent.Type

java.lang.Object
  extended by org.apache.ojb.broker.PBLifeCycleEvent.Type
Enclosing class:
PBLifeCycleEvent

public static class PBLifeCycleEvent.Type
extends java.lang.Object

Enum-like class for the event types.


Field Summary
static PBLifeCycleEvent.Type AFTER_DELETE
          Denotes an event that happens after the deletion of an object.
static PBLifeCycleEvent.Type AFTER_INSERT
          Denotes an event that happens after the insertion of an object.
static PBLifeCycleEvent.Type AFTER_LOOKUP
          Denotes an event that happens after the lookup of an object.
static PBLifeCycleEvent.Type AFTER_UPDATE
          Denotes an event that happens after the update of an object.
static PBLifeCycleEvent.Type BEFORE_DELETE
          Denotes an event that happens before the deletion of an object.
static PBLifeCycleEvent.Type BEFORE_INSERT
          Denotes an event that happens before the insertion of an object.
static PBLifeCycleEvent.Type BEFORE_UPDATE
          Denotes an event that happens before the update of an object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 int hashCode()
          
 java.lang.String toString()
          
 int typeId()
          Returns the type id.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE_INSERT

public static final PBLifeCycleEvent.Type BEFORE_INSERT
Denotes an event that happens before the insertion of an object.


BEFORE_UPDATE

public static final PBLifeCycleEvent.Type BEFORE_UPDATE
Denotes an event that happens before the update of an object.


AFTER_INSERT

public static final PBLifeCycleEvent.Type AFTER_INSERT
Denotes an event that happens after the insertion of an object.


AFTER_UPDATE

public static final PBLifeCycleEvent.Type AFTER_UPDATE
Denotes an event that happens after the update of an object.


BEFORE_DELETE

public static final PBLifeCycleEvent.Type BEFORE_DELETE
Denotes an event that happens before the deletion of an object.


AFTER_DELETE

public static final PBLifeCycleEvent.Type AFTER_DELETE
Denotes an event that happens after the deletion of an object.


AFTER_LOOKUP

public static final PBLifeCycleEvent.Type AFTER_LOOKUP
Denotes an event that happens after the lookup of an object.

Method Detail

equals

public final boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()

Overrides:
hashCode in class java.lang.Object

typeId

public final int typeId()
Returns the type id.

Returns:
The type id

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30