com.softwareag.tamino.db.api.connection
Class TIsolationDegree

java.lang.Object
  extended by com.softwareag.tamino.db.api.connection.TIsolationDegree

public final class TIsolationDegree
extends java.lang.Object

Class representing Tamino specific isolation degrees. The class provides type safe constant objects representing the possible settings for the _isolationLevel session parameter available for Tamino. The isolation degree correponds to the _isolationLevel session parameter of Tamino.

Please refer to the description of the Transaction-Related Commands in the Tamino Server documentation for details on the usage of this parameter.

Version:
$Revision: 1.4 $
Author:
Stefan Liebig

Field Summary
static TIsolationDegree COMMITTED_COMMAND
          Constant that represents Taminos _isolationLevel=committedCommand.
static TIsolationDegree NONE
          Constant that represents Taminos _isolationLevel=none.
static TIsolationDegree SERIALIZABLE
          Constant that represents Taminos _isolationLevel=serializable.
static TIsolationDegree STABLE_CURSOR
          Constant that represents Taminos _isolationLevel=stableCursor.
static TIsolationDegree STABLE_DOCUMENT
          Constant that represents Taminos _isolationLevel=stableDocument.
static TIsolationDegree UNCOMMITTED_DOCUMENT
          Constant that represents Taminos _isolationLevel=uncommittedDocument outside of a Tamino session.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Returns the string representation of a TIsolationDegree object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCOMMITTED_DOCUMENT

public static final TIsolationDegree UNCOMMITTED_DOCUMENT
Constant that represents Taminos _isolationLevel=uncommittedDocument outside of a Tamino session.


COMMITTED_COMMAND

public static final TIsolationDegree COMMITTED_COMMAND
Constant that represents Taminos _isolationLevel=committedCommand.


STABLE_CURSOR

public static final TIsolationDegree STABLE_CURSOR
Constant that represents Taminos _isolationLevel=stableCursor.


STABLE_DOCUMENT

public static final TIsolationDegree STABLE_DOCUMENT
Constant that represents Taminos _isolationLevel=stableDocument.


SERIALIZABLE

public static final TIsolationDegree SERIALIZABLE
Constant that represents Taminos _isolationLevel=serializable.


NONE

public static final TIsolationDegree NONE
Constant that represents Taminos _isolationLevel=none.

Note: This method is only for internal use.

Method Detail

toString

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

Overrides:
toString in class java.lang.Object
Returns:
the string representation of the isolation degree.

equals

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

Overrides:
equals in class java.lang.Object
Parameters:
obj - - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable. Overrides the Object.hashCode method.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this object.


Copyright (c) 2013 Software AG. All Rights Reserved.