org.eclipse.hyades.edit.datapool
Interface IDatapoolVariable
- All Superinterfaces:
- IDatapoolVariable, INamedElement
public interface IDatapoolVariable
- extends IDatapoolVariable, INamedElement
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.
- See Also:
IDatapool
setSuggestedType
void setSuggestedType(IDatapoolSuggestedType suggestedType)
- Define the
type associated with this variable.
- Parameters:
suggestedType - The type associated
with this variable.- See Also:
IDatapoolVariable.getSuggestedType()
setRole
void setRole(int role)
- Define the role associated with a variable.
- Parameters:
role - The role to associate with a variable.- See Also:
#getRole(),
IDatapoolVariable.ROLE_UNSPECIFIED,
IDatapoolVariable.ROLE_INPUT_DATA,
IDatapoolVariable.ROLE_OUTPUT_DATA,
IDatapoolVariable.ROLE_INPUT_OUTPUT_DATA,
IDatapoolVariable.ROLE_VERIFICATION_DATA