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

Project Version 2.3

com.rational.test.ft.vp
Interface ITestDataProperties

All Superinterfaces:
ITestData

public interface ITestDataProperties
extends ITestData

Defines the methods necessary for maintaining the properties associated with a single TestObject in the software under test. This interface is a simple masked-property set added to the base-level ITestData interface.

Since:
RFT1.0

Method Summary
 java.util.Enumeration getObjectProperties()
          Returns an enumeration of IMaskedProperty objects.
 com.rational.test.ft.vp.impl.IMaskedProperty getObjectProperty(int index)
          Returns the property information for the property at the supplied zero-based index.
 com.rational.test.ft.vp.impl.IMaskedProperty getObjectProperty(java.lang.String property)
          Returns the property information for the named property.
 int getObjectPropertyCount()
          Returns the number of properties that have been added to this property set.
 void setObjectProperty(com.rational.test.ft.vp.impl.IMaskedProperty item)
          Adds a single property to the set of properties associated with this test data.
 void setObjectProperty(java.lang.String property, java.lang.Object value, boolean masked)
          Adds a single property to the set of properties associated with this test data.
 
Methods inherited from interface com.rational.test.ft.vp.ITestData
getData, getDataType, getDescription, getName, getProperty, getPropertyKeys, getType, setData, setDataType, setDescription, setName, setProperty, setType
 

Method Detail

setObjectProperty

void setObjectProperty(java.lang.String property,                        java.lang.Object value,                        boolean masked)
Adds a single property to the set of properties associated with this test data. If the property already exists in the set, the existing value is overwritten by this new value.

Parameters:
property - the name of the property being added to the set
value - the value associated with the specified property
masked - If true, this property does not participate in comparisons between this property set and other property sets.
Since:
RFT1.0
See Also:
setObjectProperty(IMaskedProperty)

setObjectProperty

void setObjectProperty(com.rational.test.ft.vp.impl.IMaskedProperty item)
Adds a single property to the set of properties associated with this test data. If the property already exists in the set, the existing value is overwritten by this new value.

Parameters:
item - the property data to be added to the set
Since:
RFT1.0

getObjectPropertyCount

int getObjectPropertyCount()
Returns the number of properties that have been added to this property set.

Since:
RFT1.0

getObjectProperties

java.util.Enumeration getObjectProperties()
Returns an enumeration of IMaskedProperty objects.

Since:
RFT1.0

getObjectProperty

com.rational.test.ft.vp.impl.IMaskedProperty getObjectProperty(int index)
Returns the property information for the property at the supplied zero-based index. A null value is returned for values outside the range 0 to getObjectPropertyCount.

Parameters:
index - the zero-based index of the desired property
Since:
RFT1.0
See Also:
getObjectPropertyCount()

getObjectProperty

com.rational.test.ft.vp.impl.IMaskedProperty getObjectProperty(java.lang.String property)
Returns the property information for the named property. A null value is returned if the supplied property name is not known.

Parameters:
property - the name of the desired property
Since:
RFT1.0