Class ParameterMapping
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.ParameterMapping
-
- All Implemented Interfaces:
Serializable
public class ParameterMapping extends Object implements Serializable
A parameter mapping defines an aliasing rule for incoming and outgoing sub-report parameters.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterMapping(String name, String alias)
Creates a new parameter mapping for the given parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
Returns the alias parameter name.String
getName()
Returns the source parameter name.
-
-
-
Constructor Detail
-
ParameterMapping
public ParameterMapping(String name, String alias)
Creates a new parameter mapping for the given parameter. The parameter will be made available using the given 'alias' name. If the alias is null, the name will not be changed during the mapping.- Parameters:
name
- the name.alias
- the alias (can be null).
-
-