|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.models.common.datapool.impl.DatapoolSuggestedTypeImpl
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.hyades.execution.runtime.datapool.IDatapoolSuggestedType |
|---|
TYPE_BOOLEAN, TYPE_COMPLEX, TYPE_DISPLAY_BOOLEAN, TYPE_DISPLAY_COMPLEX, TYPE_DISPLAY_ENUMERATION, TYPE_DISPLAY_NUMBER, TYPE_DISPLAY_STRING, TYPE_ENUMERATION, TYPE_NUMBER, TYPE_STRING |
| Constructor Summary | |
|---|---|
DatapoolSuggestedTypeImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDisplayString(int type)
Returns the display string for the specified suggested type. |
java.lang.String[] |
getEnumerationLiterals()
The set of enumerations literals associated with a enumeration type. |
java.lang.String |
getSuggestedClassName()
The value class name associated with a variable. |
int |
getSuggestedType()
One of the predefined type formats: IDatapoolSuggestedType.TYPE_STRING
IDatapoolSuggestedType.TYPE_NUMBER
IDatapoolSuggestedType.TYPE_BOOLEAN
IDatapoolSuggestedType.TYPE_ENUMERATION
IDatapoolSuggestedType.TYPE_COMPLEX
|
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DatapoolSuggestedTypeImpl()
| Method Detail |
public void setSuggestedType(int type)
setSuggestedType in interface IDatapoolSuggestedTypetype - One of the predefined type formats.IDatapoolSuggestedType.TYPE_STRING,
IDatapoolSuggestedType.TYPE_NUMBER,
IDatapoolSuggestedType.TYPE_BOOLEAN,
IDatapoolSuggestedType.TYPE_ENUMERATION,
IDatapoolSuggestedType.TYPE_COMPLEX,
getSuggestedType()public void setEnumerationLiterals(java.lang.String[] enumLiterals)
enumeration type. If the
type is not set to a
enumeration type then an
appropriate DatapoolException is thrown.
setEnumerationLiterals in interface IDatapoolSuggestedTypeenumLiterals - The set of enumerations literals associated
with a enumeration
type.IDatapoolSuggestedType.TYPE_ENUMERATION,
getEnumerationLiterals()public void setSuggestedClassName(java.lang.String complexClassName)
setSuggestedClassName in interface IDatapoolSuggestedTypecomplexClassName - The complex class name associated
with a variablegetSuggestedClassName()public int getSuggestedType()
IDatapoolSuggestedType.TYPE_STRING
IDatapoolSuggestedType.TYPE_NUMBER
IDatapoolSuggestedType.TYPE_BOOLEAN
IDatapoolSuggestedType.TYPE_ENUMERATION
IDatapoolSuggestedType.TYPE_COMPLEX
getSuggestedType in interface IDatapoolSuggestedTypeIDatapoolSuggestedType.TYPE_STRING,
IDatapoolSuggestedType.TYPE_NUMBER,
IDatapoolSuggestedType.TYPE_BOOLEAN,
IDatapoolSuggestedType.TYPE_ENUMERATION,
IDatapoolSuggestedType.TYPE_COMPLEXpublic java.lang.String getDisplayString(int type)
type - One of the predefined types:
IDatapoolSuggestedType.TYPE_STRING,
IDatapoolSuggestedType.TYPE_NUMBER,
IDatapoolSuggestedType.TYPE_BOOLEAN,
IDatapoolSuggestedType.TYPE_ENUMERATION,
IDatapoolSuggestedType.TYPE_COMPLEXpublic java.lang.String[] getEnumerationLiterals()
enumeration type. If the
type is not set to
enumeration type then an
appropriate DatapoolException is thrown.
getEnumerationLiterals in interface IDatapoolSuggestedTypeenumeration type.IDatapoolSuggestedType.TYPE_ENUMERATIONpublic java.lang.String getSuggestedClassName()
getSuggestedClassName in interface IDatapoolSuggestedType
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||