|
IBM Rational Functional Tester Version 8.2.1 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 |
public interface IDatapoolCell
An element of a record
within a datapool. Each
cell contains a reference to the variable
that
it is referenced by along with the actual value the cell represents.
There are a series of convienence methods for accessing the associated
value as a specific type, such as a String
or an int
.
Method Summary | |
---|---|
boolean |
getBooleanValue()
A shortcut for the boolean value associated with the cell is returned. |
byte |
getByteValue()
A shortcut for the byte value associated with the cell is returned. |
IDatapoolRecord |
getCellRecord()
Access to the record that is the parent of this
cell. |
java.lang.Object |
getCellValue()
The value associated with the cell is returned. |
IDatapoolVariable |
getCellVariable()
Access to the variable that is used to reference
this cell within a record . |
char |
getCharValue()
A shortcut for the char value associated with the cell is returned. |
double |
getDoubleValue()
A shortcut for the double value associated with the cell is returned. |
float |
getFloatValue()
A shortcut for the float value associated with the cell is returned. |
int |
getIntValue()
A shortcut for the int value associated with the cell is returned. |
long |
getLongValue()
A shortcut for the long value associated with the cell is returned. |
short |
getShortValue()
A shortcut for the short value associated with the cell is returned. |
java.lang.String |
getStringValue()
A shortcut for the String value associated with the cell is returned. |
Method Detail |
---|
IDatapoolVariable getCellVariable()
variable
that is used to reference
this cell within a record
.
variable
that is used to reference
this cell within a record
.IDatapoolRecord getCellRecord()
record
that is the parent of this
cell.
record
that is the parent of this
cell.java.lang.Object getCellValue()
java.lang.String getStringValue()
String
value associated with the cell is returned.
If the value in the cell is not a String
value then it is
converted to a String
before being returned.
String
value associated with the cell.long getLongValue()
long
value associated with the cell is returned.
If the value in the cell is not a long
value then an attempt
is made to convert the value to a long
. If the value can not
be converted a java.lang.NumberFormatException
will be thrown.
long
value associated with the cell.int getIntValue()
int
value associated with the cell is returned.
If the value in the cell is not a int
value then an attempt
is made to convert the value to a int
. If the value can not
be converted a java.lang.NumberFormatException
will be thrown.
int
value associated with the cell.short getShortValue()
short
value associated with the cell is returned.
If the value in the cell is not a short
value then an attempt
is made to convert the value to a short
. If the value can not
be converted a java.lang.NumberFormatException
will be thrown.
short
value associated with the cell.byte getByteValue()
byte
value associated with the cell is returned.
If the value in the cell is not a byte
value then an attempt
is made to convert the value to a byte
. If the value can not
be converted a java.lang.NumberFormatException
will be thrown.
byte
value associated with the cell.double getDoubleValue()
double
value associated with the cell is returned.
If the value in the cell is not a double
value then an attempt
is made to convert the value to a double
. If the value can not
be converted a java.lang.NumberFormatException
will be thrown.
double
value associated with the cell.float getFloatValue()
float
value associated with the cell is returned.
If the value in the cell is not a float
value then an attempt
is made to convert the value to a float
. If the value can not
be converted a java.lang.NumberFormatException
will be thrown.
float
value associated with the cell.boolean getBooleanValue()
boolean
value associated with the cell is returned.
If the value in the cell is not a boolean
value then an attempt
is made to convert the value to a boolean
. If the value can not
be converted an appropriate exception will be thrown.
boolean
value associated with the cell.char getCharValue()
char
value associated with the cell is returned.
If the value in the cell is not a char
value then an attempt
is made to convert the value to a char
. If more then one
character is represented in the value only the first character will be
returned.
char
value associated with the cell.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |