package net.sf.jasperreports.crosstabs.fill;

import net.sf.jasperreports.crosstabs.JRCrosstabParameter;
import net.sf.jasperreports.engine.JRExpression;
import net.sf.jasperreports.engine.JRParameter;
import net.sf.jasperreports.engine.fill.JRFillObjectFactory;
import net.sf.jasperreports.engine.fill.JRFillParameter;

public class JRFillCrosstabParameter extends JRFillParameter implements JRCrosstabParameter {
  private JRCrosstabParameter parentParameter;
  
  public JRFillCrosstabParameter(JRCrosstabParameter parameter, JRFillObjectFactory factory) {
    super((JRParameter)parameter, factory);
    this.parentParameter = parameter;
  }
  
  public JRExpression getExpression() {
    return this.parentParameter.getExpression();
  }
}
