Class MultiselectVariableDescriptor

java.lang.Object
de.westemeyer.plugins.multiselect.MultiselectVariableDescriptor
All Implemented Interfaces:
Serializable

public class MultiselectVariableDescriptor extends Object implements Serializable
Descriptor object for a target variable.
See Also:
  • Constructor Details

    • MultiselectVariableDescriptor

      @DataBoundConstructor public MultiselectVariableDescriptor(String label, String variableName, int columnIndex)
      Create new variable description object.
      Parameters:
      label - variable label
      variableName - variable name
      columnIndex - index of this column
  • Method Details

    • getLabel

      public String getLabel()
      Get variable label.
      Returns:
      variable label
    • setLabel

      @DataBoundSetter public void setLabel(String label)
      Set label for this variable.
      Parameters:
      label - the new variable label
    • getVariableName

      public String getVariableName()
      Get variable name.
      Returns:
      variable name
    • setVariableName

      @DataBoundSetter public void setVariableName(String variableName)
      Set the variable name.
      Parameters:
      variableName - the new variable name
    • setInitialValues

      public void setInitialValues(List<MultiselectDecisionItem> initialValues)
      Set initial values for this variable.
      Parameters:
      initialValues - initial values for this variable
    • getInitialValues

      public List<MultiselectDecisionItem> getInitialValues()
      Get initial values for this variable.
      Returns:
      initial values for this variable
    • getUuid

      public String getUuid()
      Get generated uuid for this variable.
      Returns:
      generated uuid for this variable
    • getColumnIndex

      public int getColumnIndex()
      Get column index for this variable.
      Returns:
      column index for this variable
    • setColumnIndex

      public void setColumnIndex(int columnIndex)
      Set column index for the descriptor.
      Parameters:
      columnIndex - the new column index