be.SIRAPRISE.client
Class TransactionMode

java.lang.Object
  extended by be.SIRAPRISE.client.TransactionMode

public class TransactionMode
extends java.lang.Object

Author:
Erwin

Field Summary
static TransactionMode READONLY
           
static TransactionMode UPDATE
           
 
Method Summary
static TransactionMode getTransactionMode(boolean readOnly)
          Gets The appropriate TransactionMode object for the given read-only setting
 boolean isReadOnly()
          Gets the readOnly status of this transaction mode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READONLY

public static final TransactionMode READONLY

UPDATE

public static final TransactionMode UPDATE
Method Detail

getTransactionMode

public static TransactionMode getTransactionMode(boolean readOnly)
Gets The appropriate TransactionMode object for the given read-only setting

Parameters:
readOnly - The read-only status
Returns:
The appropriate TransactionMode object for the given read-only setting

isReadOnly

public final boolean isReadOnly()
Gets the readOnly status of this transaction mode

Returns:
the readOnly status of this transaction mode