org.pentaho.reporting.engine.classic.core.parameters
Class StaticListParameter
java.lang.Object
org.pentaho.reporting.engine.classic.core.parameters.AbstractParameter
org.pentaho.reporting.engine.classic.core.parameters.StaticListParameter
- All Implemented Interfaces:
- Serializable, Cloneable, ListParameter, ParameterDefinitionEntry
public class StaticListParameter
- extends AbstractParameter
- implements ListParameter
Todo: Document me!
- Author:
- : Thomas Morgner
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.reporting.engine.classic.core.parameters.AbstractParameter |
clone, getDefaultValue, getName, getParameterAttribute, getParameterAttribute, getParameterAttributeNames, getParameterAttributeNamespaces, getRole, getValueType, isDeprecated, isHidden, isMandatory, setDefaultValue, setDeprecated, setHidden, setMandatory, setParameterAttribute, setRole, setValueType |
StaticListParameter
public StaticListParameter(String name,
boolean allowMultiSelection,
boolean strictValueCheck,
Class valueType)
addValues
public void addValues(Object key,
Object value)
isAllowMultiSelection
public boolean isAllowMultiSelection()
- Specified by:
isAllowMultiSelection
in interface ListParameter
isStrictValueCheck
public boolean isStrictValueCheck()
- Specified by:
isStrictValueCheck
in interface ListParameter
getValues
public ParameterValues getValues(ParameterContext context)
throws ReportDataFactoryException
- Specified by:
getValues
in interface ListParameter
- Throws:
ReportDataFactoryException
getDefaultValue
public Object getDefaultValue(ParameterContext context)
throws ReportDataFactoryException
- Specified by:
getDefaultValue
in interface ParameterDefinitionEntry
- Overrides:
getDefaultValue
in class AbstractParameter
- Throws:
ReportDataFactoryException