Class 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 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).
    • Method Detail

      • getName

        public String getName()
        Returns the source parameter name.
        Returns:
        the source name.
      • getAlias

        public String getAlias()
        Returns the alias parameter name.
        Returns:
        the alias name.