org.jpox.state
Class ActivityState

java.lang.Object
  extended byorg.jpox.state.ActivityState

public class ActivityState
extends java.lang.Object

Activity states. It defines datastore activities in smaller steps

Since:
1.1
Version:
$Revision: 1.3 $

Field Summary
static ActivityState INSERTING
          INSERTING - inserting
static ActivityState INSERTING_CALLBACKS
          INSERTING CALLBACKS - running callbacks after insert
static ActivityState INSERTING_UPDATE
          INSERTING UPDATE - running updates after insert
static ActivityState NONE
          NONE -- doing nothing
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is "equal to" this one.
static ActivityState getActivityState(java.lang.String value)
          Obtain the ActivityState for the given name by value
 int getType()
          Accessor for the type.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSERTING

public static final ActivityState INSERTING
INSERTING - inserting


INSERTING_CALLBACKS

public static final ActivityState INSERTING_CALLBACKS
INSERTING CALLBACKS - running callbacks after insert


INSERTING_UPDATE

public static final ActivityState INSERTING_UPDATE
INSERTING UPDATE - running updates after insert


NONE

public static final ActivityState NONE
NONE -- doing nothing

Method Detail

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.

Parameters:
o - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.

getType

public int getType()
Accessor for the type.

Returns:
Type

getActivityState

public static ActivityState getActivityState(java.lang.String value)
Obtain the ActivityState for the given name by value

Parameters:
value - the search name
Returns:
the ActivityState for the value or ActivityState.NONE if not found


Copyright © -2007 . All Rights Reserved.