|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.PBLifeCycleEvent.Type
public static class PBLifeCycleEvent.Type
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. |
| Constructor Summary | |
|---|---|
protected |
PBLifeCycleEvent.Type(int type)
Creates a new instance. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
int |
typeId()
Returns the type id. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PBLifeCycleEvent.Type BEFORE_INSERT
public static final PBLifeCycleEvent.Type BEFORE_UPDATE
public static final PBLifeCycleEvent.Type AFTER_INSERT
public static final PBLifeCycleEvent.Type AFTER_UPDATE
public static final PBLifeCycleEvent.Type BEFORE_DELETE
public static final PBLifeCycleEvent.Type AFTER_DELETE
public static final PBLifeCycleEvent.Type AFTER_LOOKUP
| Constructor Detail |
|---|
protected PBLifeCycleEvent.Type(int type)
type - The type value| Method Detail |
|---|
public final boolean equals(Object obj)
equals in class Objectpublic final int hashCode()
hashCode in class Objectpublic final int typeId()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||