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

Project Version 2.3

com.rational.test.ft.value
Class IndexerInfo

java.lang.Object
  extended by com.rational.test.ft.value.IndexerInfo

public class IndexerInfo
extends java.lang.Object

Provides information about a TestObject's indexer. Indexers are a special type of property in an array form. Information provided includes whether the indexer has a Getter, a Setter, or both, as well as the canonical type of the values stored within the indexer and the signature of the indexer, including the name of the indexer property and the canonical types of the indexes themselves.


Constructor Summary
IndexerInfo(boolean hasGetter, boolean hasSetter, java.lang.String indexerSig, java.lang.String valueType)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getIndexerSig()
          Returns the signature of the indexer.
 java.lang.String getValueType()
          Returns the canonical type of the indexer's value (return type)
 boolean hasGetter()
          Returns whether the indexer has a "Get" method
 boolean hasSetter()
          Returns whether the indexer has a "Set" method
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexerInfo

public IndexerInfo(boolean hasGetter,
                   boolean hasSetter,
                   java.lang.String indexerSig,
                   java.lang.String valueType)
Method Detail

hasGetter

public boolean hasGetter()
Returns whether the indexer has a "Get" method

Returns:
A true value indicates that the indexer values can be obtained.
Since:
RFT2.0

hasSetter

public boolean hasSetter()
Returns whether the indexer has a "Set" method

Returns:
A true value indicates that the indexer values can be changed.
Since:
RFT2.0

getIndexerSig

public java.lang.String getIndexerSig()
Returns the signature of the indexer. It is in the format: IndexerName(IndexTypes[,...])

Returns:
String - the signature of the indexer
Since:
RFT2.0

getValueType

public java.lang.String getValueType()
Returns the canonical type of the indexer's value (return type)

Returns:
type of value contained within the indexer
Since:
RFT2.0

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object