|
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 |
public interface IDatapoolSuggestedType
Each variable in a datapool contains a specific type data and this class represents the types that can be readily handled. The type
information is primarily advisory, variables by definition are not
strongly typed. The type information allows the datapool editor the
ability to flag data that may have been incorrectly specified and
improves the ease of editing values in the datapool. For instance
specifying a IDatapoolSuggestedType.TYPE_ENUMERATION
allows the editor to use an editable combobox for manually changing a value rather then requiring the user to get the spelling correct for each value in the available value set.
Field Summary |
---|
Fields inherited from interface org.eclipse.hyades.execution.runtime.datapool.IDatapoolSuggestedType |
---|
TYPE_BOOLEAN, TYPE_COMPLEX, TYPE_ENUMERATION, TYPE_NUMBER, TYPE_STRING |
Method Summary | |
---|---|
void |
setEnumerationLiterals(java.lang.String[] enumLiterals)
Defines the set of enumerations literals associated with a enumeration type. |
void |
setSuggestedClassName(java.lang.String complexClassName)
Defines the value class name associated with a variable. |
void |
setSuggestedType(int type)
Define the type associated with a variable in the associated datapool. |
Methods inherited from interface org.eclipse.hyades.execution.runtime.datapool.IDatapoolSuggestedType |
---|
getEnumerationLiterals, getSuggestedClassName, getSuggestedType |
Method Detail |
---|
void setSuggestedType(int type)
type
- One of the predefined type formats.IDatapoolSuggestedType.TYPE_STRING
,
IDatapoolSuggestedType.TYPE_NUMBER
,
IDatapoolSuggestedType.TYPE_BOOLEAN
,
IDatapoolSuggestedType.TYPE_ENUMERATION
,
IDatapoolSuggestedType.TYPE_COMPLEX
,
IDatapoolSuggestedType.getSuggestedType()
void setEnumerationLiterals(java.lang.String[] enumLiterals)
enumeration
type. If the type
is not set to a enumeration
type then an
appropriate DatapoolException
is thrown.
enumLiterals
- The set of enumerations literals associated
with a enumeration
type.IDatapoolSuggestedType.TYPE_ENUMERATION
,
IDatapoolSuggestedType.getEnumerationLiterals()
void setSuggestedClassName(java.lang.String complexClassName)
complexClassName
- The complex class name associated
with a variableIDatapoolSuggestedType.getSuggestedClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |