org.neodatis.odb.core.server.connection
Class ConnectionAction

java.lang.Object
  extended by org.neodatis.odb.core.server.connection.ConnectionAction

public class ConnectionAction
extends java.lang.Object

A simple class with some constants to describe what a connection is doing

Author:
osmadja

Field Summary
static int ACTION_CLOSE
           
static java.lang.String ACTION_CLOSE_LABEL
           
static int ACTION_COMMIT
           
static java.lang.String ACTION_COMMIT_LABEL
           
static int ACTION_CONNECT
           
static java.lang.String ACTION_CONNECT_LABEL
           
static int ACTION_DELETE
           
static java.lang.String ACTION_DELETE_LABEL
           
static int ACTION_INSERT
           
static java.lang.String ACTION_INSERT_LABEL
           
protected static java.lang.String[] ACTION_LABELS
           
static int ACTION_NO_ACTION
           
static java.lang.String ACTION_NO_ACTION_LABEL
           
static int ACTION_ROLLBACK
           
static java.lang.String ACTION_ROLLBACK_LABEL
           
static int ACTION_SELECT
           
static java.lang.String ACTION_SELECT_LABEL
           
static int ACTION_UPDATE
           
static java.lang.String ACTION_UPDATE_LABEL
           
 
Constructor Summary
ConnectionAction()
           
 
Method Summary
static java.lang.String getActionLabel(int action)
           
static int getNumberOfActions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_NO_ACTION

public static final int ACTION_NO_ACTION
See Also:
Constant Field Values

ACTION_NO_ACTION_LABEL

public static final java.lang.String ACTION_NO_ACTION_LABEL
See Also:
Constant Field Values

ACTION_CONNECT

public static final int ACTION_CONNECT
See Also:
Constant Field Values

ACTION_CONNECT_LABEL

public static final java.lang.String ACTION_CONNECT_LABEL
See Also:
Constant Field Values

ACTION_INSERT

public static final int ACTION_INSERT
See Also:
Constant Field Values

ACTION_INSERT_LABEL

public static final java.lang.String ACTION_INSERT_LABEL
See Also:
Constant Field Values

ACTION_UPDATE

public static final int ACTION_UPDATE
See Also:
Constant Field Values

ACTION_UPDATE_LABEL

public static final java.lang.String ACTION_UPDATE_LABEL
See Also:
Constant Field Values

ACTION_DELETE

public static final int ACTION_DELETE
See Also:
Constant Field Values

ACTION_DELETE_LABEL

public static final java.lang.String ACTION_DELETE_LABEL
See Also:
Constant Field Values

ACTION_SELECT

public static final int ACTION_SELECT
See Also:
Constant Field Values

ACTION_SELECT_LABEL

public static final java.lang.String ACTION_SELECT_LABEL
See Also:
Constant Field Values

ACTION_COMMIT

public static final int ACTION_COMMIT
See Also:
Constant Field Values

ACTION_COMMIT_LABEL

public static final java.lang.String ACTION_COMMIT_LABEL
See Also:
Constant Field Values

ACTION_CLOSE

public static final int ACTION_CLOSE
See Also:
Constant Field Values

ACTION_CLOSE_LABEL

public static final java.lang.String ACTION_CLOSE_LABEL
See Also:
Constant Field Values

ACTION_ROLLBACK

public static final int ACTION_ROLLBACK
See Also:
Constant Field Values

ACTION_ROLLBACK_LABEL

public static final java.lang.String ACTION_ROLLBACK_LABEL
See Also:
Constant Field Values

ACTION_LABELS

protected static final java.lang.String[] ACTION_LABELS
Constructor Detail

ConnectionAction

public ConnectionAction()
Method Detail

getNumberOfActions

public static int getNumberOfActions()

getActionLabel

public static java.lang.String getActionLabel(int action)