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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiselectVariableDescriptor(String label, String variableName)Create new variable description object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnIndex()Get column index for this variable.List<MultiselectDecisionItem>getInitialValues()Get initial values for this variable.StringgetLabel()Get variable label.StringgetUuid()Get generated uuid for this variable.StringgetVariableName()Get variable name.voidsetColumnIndex(int columnIndex)Set column index for the descriptor.voidsetInitialValues(List<MultiselectDecisionItem> initialValues)Set initial values for this variable.voidsetLabel(String label)Set label for this variable.voidsetVariableName(String variableName)Set the variable name.
-
-
-
Method Detail
-
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
-
-