1 28 package net.sf.jasperreports.engine.fill; 29 30 import net.sf.jasperreports.engine.JRExpression; 31 import net.sf.jasperreports.engine.JRParameter; 32 import net.sf.jasperreports.engine.JRValueParameter; 33 34 35 39 public class JRFillParameter implements JRValueParameter 40 { 41 42 43 46 protected JRParameter parent = null; 47 48 51 private Object value = null; 52 53 54 57 protected JRFillParameter( 58 JRParameter parameter, 59 JRFillObjectFactory factory 60 ) 61 { 62 factory.put(parameter, this); 63 64 parent = parameter; 65 } 66 67 68 71 public String getName() 72 { 73 return parent.getName(); 74 } 75 76 79 public String getDescription() 80 { 81 return parent.getDescription(); 82 } 83 84 87 public void setDescription(String description) 88 { 89 } 90 91 94 public Class getValueClass() 95 { 96 return parent.getValueClass(); 97 } 98 99 102 public String getValueClassName() 103 { 104 return parent.getValueClassName(); 105 } 106 107 110 public boolean isSystemDefined() 111 { 112 return parent.isSystemDefined(); 113 } 114 115 118 public boolean isForPrompting() 119 { 120 return parent.isForPrompting(); 121 } 122 123 126 public JRExpression getDefaultValueExpression() 127 { 128 return parent.getDefaultValueExpression(); 129 } 130 131 134 public Object getValue() 135 { 136 return value; 137 } 138 139 142 public void setValue(Object value) 143 { 144 this.value = value; 145 } 146 147 148 } 149 | Popular Tags |