public interface IDatapoolVariable extends IDatapoolVariable, 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
ROLE_INPUT_DATA, ROLE_INPUT_OUTPUT_DATA, ROLE_OUTPUT_DATA, ROLE_UNSPECIFIED, ROLE_VERIFICATION_DATA
Modifier and Type | Method and Description |
---|---|
void |
setRole(int role)
Define the role associated with a variable.
|
void |
setSuggestedType(IDatapoolSuggestedType suggestedType)
Define the
type associated with this variable. |
getRoleAsInt, getSuggestedType
setDescription, setId, setName
getDescription, getId, getName
void setSuggestedType(IDatapoolSuggestedType suggestedType)
type
associated with this variable.suggestedType
- The type
associated
with this variable.IDatapoolVariable.getSuggestedType()
void setRole(int role)
role
- The role to associate with a variable.#getRole()
,
IDatapoolVariable.ROLE_UNSPECIFIED
,
IDatapoolVariable.ROLE_INPUT_DATA
,
IDatapoolVariable.ROLE_OUTPUT_DATA
,
IDatapoolVariable.ROLE_INPUT_OUTPUT_DATA
,
IDatapoolVariable.ROLE_VERIFICATION_DATA