Class ChartDisplayerParameterInfo
- java.lang.Object
-
- com.xwiki.projectmanagement.chart.model.ChartDisplayerParameterInfo
-
public class ChartDisplayerParameterInfo extends Object
Model representing the metadata associated with aChartTypeDisplayer.- Since:
- 1.2.0-rc-1
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ChartDisplayerParameterInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetId()StringgetLabel()List<String>getValues()booleanisMultiple()voidsetDescription(String description)voidsetId(String id)voidsetLabel(String label)voidsetMultiple(boolean multiple)voidsetValues(List<String> values)
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id of the parameter.
-
getLabel
public String getLabel()
- Returns:
- the label of the parameter. It represents the pretty name of the parameter.
-
setLabel
public void setLabel(String label)
- Parameters:
label- seegetLabel().
-
getDescription
public String getDescription()
- Returns:
- the description of the parameter. It describes what the parameter does and how it affects the
ChartTypeDisplayer.
-
setDescription
public void setDescription(String description)
- Parameters:
description- seegetDescription().
-
getValues
public List<String> getValues()
- Returns:
- a list of values that can be assigned to the attribute.
-
setValues
public void setValues(List<String> values)
- Parameters:
values- seegetValues().
-
isMultiple
public boolean isMultiple()
- Returns:
- whether the parameter supports multiple values from the
getValues()list or not.
-
setMultiple
public void setMultiple(boolean multiple)
- Parameters:
multiple- seeisMultiple().
-
-