public interface IDatapoolVariable extends INamedElement
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
Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
int |
getRoleAsInt()
Accesor for the role associated with a variable.
|
IDatapoolSuggestedType |
getSuggestedType()
The
suggested type of the data associated
with this variable. |
getDescription, getId, getName
static final int ROLE_UNSPECIFIED
static final int ROLE_INPUT_DATA
static final int ROLE_OUTPUT_DATA
static final int ROLE_INPUT_OUTPUT_DATA
static final int ROLE_VERIFICATION_DATA
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.int getRoleAsInt()
ROLE_UNSPECIFIED
,
ROLE_INPUT_DATA
,
ROLE_OUTPUT_DATA
,
ROLE_INPUT_OUTPUT_DATA
,
ROLE_VERIFICATION_DATA