|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.script.Subitem com.rational.test.ft.script.Value com.rational.test.ft.script.Name
public class Name
Adds definition to a programmatic name associated with a subitem value. Name
values are sub-object programmatic names that are significant relative to a particular control.
Field Summary |
---|
Fields inherited from class com.rational.test.ft.script.Value |
---|
debug, value |
Constructor Summary | |
---|---|
Name(java.lang.String text)
Constructor that takes the required programmatic name's String value. |
|
Name(java.lang.String text, int index)
Constructor that takes the required programmatic name's String value and an index to specify which subitem with the specified programmatic name should be used. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Compares Name values; returns true if they are equal. |
int |
getIndex()
Accesses the text index value. |
java.lang.String |
getName()
Accesses the text value. |
java.lang.String |
getScriptText()
Returns the text that should be used in a script call to the proxy method. |
java.lang.String |
toString()
Sets toString to the value that this class represents. |
Methods inherited from class com.rational.test.ft.script.Value |
---|
getValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Name(java.lang.String text)
String
value.
public Name(java.lang.String text, int index)
String
value and an index
to specify which subitem with the specified programmatic name should be used. The index value is zero based, that is, the first
instance of the programmatic name is 0
, the second is 1
, and so on.
Method Detail |
---|
public java.lang.String getName()
public int getIndex()
public java.lang.String getScriptText()
public boolean equals(java.lang.Object other)
Name
values; returns true
if they are equal.
equals
in class Value
other
- the right side of the comparisonpublic java.lang.String toString()
toString
to the value that this class represents.
toString
in class Value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |