public class LoopDataSource
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArrayName()
Returns the name of the Script Variable which is defined as an array.
|
java.lang.String |
getPublishedVariable()
Returns the name of the Script variable which is used for published items.
|
int |
getVariableColumn()
Returns the column.
|
UC4ObjectName |
getVariableName()
Returns the name of the UC4 VARA Object.
|
boolean |
isSourceArray()
Returns
true if the selected datasource is an array, false otherwise. |
void |
selectSourceArray(java.lang.String name)
Selects array as datasource.
|
void |
selectSourceVariable(UC4ObjectName vara,
int column)
Selects a VARA Object as datasource.
|
void |
setPublishedVariable(java.lang.String publishedVariable)
Sets the name of the variable which should be used to publish items of the loop.
|
public void selectSourceVariable(UC4ObjectName vara, int column)
vara
- Name of the Variable objectcolumn
- Column starting with 1public UC4ObjectName getVariableName()
public int getVariableColumn()
public void selectSourceArray(java.lang.String name)
name
- Name of the script variablepublic boolean isSourceArray()
true
if the selected datasource is an array, false
otherwise.true
if the selected datasource is an arraypublic java.lang.String getArrayName()
public java.lang.String getPublishedVariable()
public void setPublishedVariable(java.lang.String publishedVariable)
publishedVariable
- Script variable name