Class DataSourceParameter

DataSourceParameter

Access existing data source parameters.

Only use this class with data that's connected to a database.

Methods

MethodReturn typeBrief description
getName()StringGets the parameter name.
getSourceCell()StringGets the source cell the parameter is valued based on, or null if the parameter type is not DataSourceParameterType.CELL.
getType()DataSourceParameterTypeGets the parameter type.

Detailed documentation

getName()

Gets the parameter name.

Return

String — The parameter name.


getSourceCell()

Gets the source cell the parameter is valued based on, or null if the parameter type is not DataSourceParameterType.CELL.

Return

String — The source cell, as specified in A1 notation.


getType()

Gets the parameter type.

Return

DataSourceParameterType — The parameter type.