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

Project Version 2.3

org.eclipse.hyades.edit.datapool
Interface IDatapoolVariable

All Superinterfaces:
IDatapoolVariable, INamedElement

public interface IDatapoolVariable
extends IDatapoolVariable, INamedElement

Each cell in a record has a unique variable association. Logically a variable is the equivalent of a column in a datapool display. Associated with each variable is a suggested type that may be used by a datapool editor to improve display and editing of individual cells. The role may also be used by an editor to control the type of data allowed in a particular column in the display.

See Also:
IDatapool

Field Summary
 
Fields inherited from interface org.eclipse.hyades.execution.runtime.datapool.IDatapoolVariable
ROLE_INPUT_DATA, ROLE_INPUT_OUTPUT_DATA, ROLE_OUTPUT_DATA, ROLE_UNSPECIFIED, ROLE_VERIFICATION_DATA
 
Method Summary
 void setRole(int role)
          Define the role associated with a variable.
 void setSuggestedType(IDatapoolSuggestedType suggestedType)
          Define the type associated with this variable.
 
Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.IDatapoolVariable
getRoleAsInt, getSuggestedType
 
Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.INamedElement
getDescription, getId, getName
 
Methods inherited from interface org.eclipse.hyades.edit.datapool.INamedElement
setDescription, setId, setName
 
Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.INamedElement
getDescription, getId, getName
 

Method Detail

setSuggestedType

void setSuggestedType(IDatapoolSuggestedType suggestedType)
Define the type associated with this variable.

Parameters:
suggestedType - The type associated with this variable.
See Also:
IDatapoolVariable.getSuggestedType()

setRole

void setRole(int role)
Define the role associated with a variable.

Parameters:
role - The role to associate with a variable.
See Also:
#getRole(), IDatapoolVariable.ROLE_UNSPECIFIED, IDatapoolVariable.ROLE_INPUT_DATA, IDatapoolVariable.ROLE_OUTPUT_DATA, IDatapoolVariable.ROLE_INPUT_OUTPUT_DATA, IDatapoolVariable.ROLE_VERIFICATION_DATA