1 28 package net.sf.jasperreports.engine.base; 29 30 import java.io.Serializable ; 31 32 import net.sf.jasperreports.engine.JRConstants; 33 import net.sf.jasperreports.engine.JRExpression; 34 import net.sf.jasperreports.engine.JRHyperlinkParameter; 35 36 37 43 public class JRBaseHyperlinkParameter implements JRHyperlinkParameter, Serializable 44 { 45 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 46 47 protected String name; 48 protected JRExpression valueExpression; 49 50 51 54 protected JRBaseHyperlinkParameter() 55 { 56 } 57 58 59 65 public JRBaseHyperlinkParameter(JRHyperlinkParameter parameter, JRBaseObjectFactory factory) 66 { 67 factory.put(parameter, this); 68 69 this.name = parameter.getName(); 70 this.valueExpression = factory.getExpression(parameter.getValueExpression()); 71 } 72 73 public String getName() 74 { 75 return name; 76 } 77 78 public JRExpression getValueExpression() 79 { 80 return valueExpression; 81 } 82 83 } 84 | Popular Tags |