net.sf.jasperreports.engine

## Class ParameterContributorContext

- java.lang.Object
- - net.sf.jasperreports.engine.ParameterContributorContext

-     public class ParameterContributorContext
      extends java.lang.Object

  Version:
    $Id: ParameterContributorContext.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParameterContributorContext(JasperReportsContext jasperReportsContext, JRDataset dataset, java.util.Map<java.lang.String,java.lang.Object> parameterValues)`
    `ParameterContributorContext(java.util.Map<java.lang.String,java.lang.Object> parameterValues, JRDataset dataset)` Deprecated. Replaced by `ParameterContributorContext(JasperReportsContext, JRDataset, Map)`.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JRDataset` | `getDataset()` Returns the dataset for which scriptlets are to be created.
    `JasperReport` | `getJasperReport()` Deprecated. To be removed.
    `JasperReportsContext` | `getJasperReportsContext()`
    `java.util.Map<java.lang.String,java.lang.Object>` | `getParameterValues()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ParameterContributorContext

          public ParameterContributorContext(JasperReportsContext jasperReportsContext,
                                     JRDataset dataset,
                                     java.util.Map<java.lang.String,java.lang.Object> parameterValues)

    - #### ParameterContributorContext

          public ParameterContributorContext(java.util.Map<java.lang.String,java.lang.Object> parameterValues,
                                     JRDataset dataset)

      Deprecated. Replaced by `ParameterContributorContext(JasperReportsContext, JRDataset, Map)`.

  - ### Method Detail

    - #### getJasperReport

          public JasperReport getJasperReport()

      Deprecated. To be removed.
      Returns the `JasperReport` object for this context.

      Note that this context might correspond to a subdataset in the report. Use `getDataset()` to retrieve the dataset for which scriptlets are to be created

      Returns:
        the current `JasperReport` object
      See Also:
        `getDataset()`

    - #### getJasperReportsContext

          public JasperReportsContext getJasperReportsContext()

    - #### getParameterValues

          public java.util.Map<java.lang.String,java.lang.Object> getParameterValues()

    - #### getDataset

          public JRDataset getDataset()

      Returns the dataset for which scriptlets are to be created.
      Returns:
        a dataset

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com