blockly > Procedures > IParameterModel

Procedures.IParameterModel interface

A data model for a procedure.


export interface IParameterModel 


Method Description

Returns the unique language-neutral ID for the parameter.

This represents the identify of the variable model which does not change over time.

getName() Returns the name of this parameter.
getTypes() Return the types of this parameter.
setName(name) Sets the name of this parameter to the given name.
setProcedureModel(model) Sets the procedure model this parameter is associated with.
setTypes(types) Sets the types of this parameter to the given type.