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

Project Version 2.3

com.rational.test.ft.script
Class Row

java.lang.Object   extended by com.rational.test.ft.script.Subitem
      extended by com.rational.test.ft.script.Row

public class Row
extends Subitem

Enforces a semantic definition to a row in a table or grid-type control in the software under test. A row is defined as one of the following values:

Since:
RFT1.0
See Also:
Cell, Column

Constructor Summary
Row(Index index)
           
Row(int index)
           
Row(java.lang.Object[] keyValuePairs)
           
Row(java.lang.Object key, java.lang.Object value)
           
Row(java.lang.Object key1, java.lang.Object value1, java.lang.Object key2, java.lang.Object value2)
           
Row(java.lang.Object key1, java.lang.Object value1, java.lang.Object key2, java.lang.Object value2, java.lang.Object key3, java.lang.Object value3)
           
Row(java.lang.String rowHeader)
           
Row(Subitem rowSpecifier)
           
 
Method Summary
 java.lang.String getHeader()
          Returns the row header string.
 Index getIndex()
          Returns the row Index value.
 java.lang.Object[] getKeyValuePairs()
          Returns the row key-value pairs.
 Subitem getSubitem()
          Returns the row header subitem descriptor.
 java.lang.Object internal()
          For internal use only.
 boolean isHeader()
          Returns true if the row descriptor is a row header value.
 boolean isIndex()
          Returns true if the row descriptor is an Index value.
 boolean isKeyValuePairs()
          Returns true if the row descriptor is a key-value pairs value.
 boolean isSubitem()
          Returns true if the row descriptor is a row subitem specification.
 java.lang.String toString()
          Returns a String representing the value of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Row

public Row(java.lang.String rowHeader)

Row

public Row(Subitem rowSpecifier)

Row

public Row(java.lang.Object key,            java.lang.Object value)

Row

public Row(java.lang.Object key1,            java.lang.Object value1,            java.lang.Object key2,            java.lang.Object value2)

Row

public Row(java.lang.Object key1,            java.lang.Object value1,            java.lang.Object key2,            java.lang.Object value2,            java.lang.Object key3,            java.lang.Object value3)

Row

public Row(java.lang.Object[] keyValuePairs)

Row

public Row(Index index)

Row

public Row(int index)
Method Detail

isHeader

public boolean isHeader()
Returns true if the row descriptor is a row header value.

Since:
RFT1.0

getHeader

public java.lang.String getHeader()
Returns the row header string. A RationalTestException is thrown if isHeader is false.

Since:
RFT1.0

isSubitem

public boolean isSubitem()
Returns true if the row descriptor is a row subitem specification.

Since:
RFT1.0

getSubitem

public Subitem getSubitem()
Returns the row header subitem descriptor. A RationalTestException is thrown if isSubitem is false.

Since:
RFT1.0

isKeyValuePairs

public boolean isKeyValuePairs()
Returns true if the row descriptor is a key-value pairs value.

Since:
RFT1.0

getKeyValuePairs

public java.lang.Object[] getKeyValuePairs()
Returns the row key-value pairs. A RationalTestException is thrown if isHeader is false.

Since:
RFT1.0

isIndex

public boolean isIndex()
Returns true if the row descriptor is an Index value.

Since:
RFT1.0

getIndex

public Index getIndex()
Returns the row Index value. A RationalTestException is thrown if isHeader is false.

Since:
RFT1.0

internal

public java.lang.Object internal()
For internal use only.

Since:
RFT1.0

toString

public java.lang.String toString()
Returns a String representing the value of this object.

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