com.softwareag.tamino.db.api.accessor
Class TScroll

java.lang.Object
  extended by com.softwareag.tamino.db.api.accessor.TScroll

public final class TScroll
extends java.lang.Object

TScroll represents the scroll parameter for a cursor operation. It provides type safe constant objects representing the possible settings for the _scroll parameter available for Tamino _cursor command.

Please refer the description of the X-Machine Commands in the Tamino Server documentation for details on the usage of this parameter.

Version:
$Revision: 1.2 $
Author:
Vikram.Shinde@softwareag.com

Field Summary
static TScroll NO
          Constant that represents Taminos _scroll=no
static TScroll YES
          Constant that represents Taminos _scroll=yes
 
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 TScroll object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO

public static final TScroll NO
Constant that represents Taminos _scroll=no


YES

public static final TScroll YES
Constant that represents Taminos _scroll=yes

Method Detail

toString

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

Overrides:
toString in class java.lang.Object
Returns:
the string representation of the scroll parameter.

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.