1 28 package net.sf.jasperreports.crosstabs.base; 29 30 import net.sf.jasperreports.crosstabs.JRCrosstabParameter; 31 import net.sf.jasperreports.engine.JRConstants; 32 import net.sf.jasperreports.engine.JRExpression; 33 import net.sf.jasperreports.engine.base.JRBaseObjectFactory; 34 import net.sf.jasperreports.engine.base.JRBaseParameter; 35 36 42 public class JRBaseCrosstabParameter extends JRBaseParameter implements JRCrosstabParameter 43 { 44 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 45 46 protected JRExpression valueExpression; 47 48 protected JRBaseCrosstabParameter() 49 { 50 } 51 52 public JRBaseCrosstabParameter(JRCrosstabParameter parameter, JRBaseObjectFactory factory) 53 { 54 super(parameter, factory); 55 56 valueExpression = factory.getExpression(parameter.getExpression()); 57 } 58 59 public JRExpression getExpression() 60 { 61 return valueExpression; 62 } 63 } 64 | Popular Tags |