IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.script
Class Index

java.lang.Object   extended by com.rational.test.ft.script.Subitem
      extended by com.rational.test.ft.script.Index
Direct Known Subclasses:
TextPosition

public class Index
extends Subitem

Adds definition to a simple int value. Index values are zero-based indices that are significant, relative to a particular component.

Since:
RFT1.0

Field Summary
protected  int index
           
 
Constructor Summary
Index(int index)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Overrides the default Object.equals functionality with class-specific support.
 int getIndex()
          Accesses the index value.
 java.lang.String toString()
          Sets toString to the value that this class represents.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected int index
Constructor Detail

Index

public Index(int index)
Since:
RFT1.0
Method Detail

getIndex

public int getIndex()
Accesses the index value.

Since:
RFT1.0

toString

public java.lang.String toString()
Sets toString to the value that this class represents.

Overrides:
toString in class java.lang.Object
Since:
RFT1.0

equals

public boolean equals(java.lang.Object obj)
Overrides the default Object.equals functionality with class-specific support.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object to compare against
Since:
RFT1.0