1 28 package net.sf.jasperreports.engine.design; 29 30 import net.sf.jasperreports.engine.JRConstants; 31 import net.sf.jasperreports.engine.JRExpression; 32 import net.sf.jasperreports.engine.base.JRBaseParameter; 33 34 35 39 public class JRDesignParameter extends JRBaseParameter 40 { 41 44 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 45 46 47 50 public void setName(String name) 51 { 52 this.name = name; 53 } 54 55 58 public void setValueClass(Class clazz) 59 { 60 setValueClassName(clazz.getName()); 61 } 62 63 66 public void setValueClassName(String className) 67 { 68 valueClassName = className; 69 valueClass = null; 70 } 71 72 75 public void setSystemDefined(boolean isSystemDefined) 76 { 77 this.isSystemDefined = isSystemDefined; 78 } 79 80 83 public void setForPrompting(boolean isForPrompting) 84 { 85 this.isForPrompting = isForPrompting; 86 } 87 88 91 public void setDefaultValueExpression(JRExpression expression) 92 { 93 this.defaultValueExpression = expression; 94 } 95 96 } 97 | Popular Tags |