|
Hyades Datapool Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
IDatapool
Field Summary | |
static int |
ROLE_INPUT_DATA
|
static int |
ROLE_INPUT_OUTPUT_DATA
|
static int |
ROLE_OUTPUT_DATA
|
static int |
ROLE_UNSPECIFIED
|
static int |
ROLE_VERIFICATION_DATA
|
Method Summary | |
int |
getRole()
Accesor for the role associated with a variable. |
IDatapoolSuggestedType |
getSuggestedType()
The suggested type of the data associated
with this variable. |
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.datapool.INamedElement |
getDescription, getId, getName, setDescription, setId, setName |
Field Detail |
public static final int ROLE_UNSPECIFIED
public static final int ROLE_INPUT_DATA
public static final int ROLE_OUTPUT_DATA
public static final int ROLE_INPUT_OUTPUT_DATA
public static final int ROLE_VERIFICATION_DATA
Method Detail |
public IDatapoolSuggestedType getSuggestedType()
suggested type
of the data associated
with this variable. As implied by the name there is no enforcement of
the type of data in any cell of the datapool. However, an editor could
take advantage of the type information to improve display and editing of
cells within the display.
suggested type
associated with
this variable.setSuggestedType(IDatapoolSuggestedType)
public void setSuggestedType(IDatapoolSuggestedType suggestedType)
type
associated with this variable.
suggestedType
- The type
associated
with this variable.getSuggestedType()
public int getRole()
setRole(int)
,
ROLE_UNSPECIFIED
,
ROLE_INPUT_DATA
,
ROLE_OUTPUT_DATA
,
ROLE_INPUT_OUTPUT_DATA
,
ROLE_VERIFICATION_DATA
public void setRole(int role)
role
- The role to associate with a variable.getRole()
,
ROLE_UNSPECIFIED
,
ROLE_INPUT_DATA
,
ROLE_OUTPUT_DATA
,
ROLE_INPUT_OUTPUT_DATA
,
ROLE_VERIFICATION_DATA
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |