1 28 package net.sf.jasperreports.engine.design; 29 30 import net.sf.jasperreports.engine.JRConstants; 31 import net.sf.jasperreports.engine.JRDatasetRun; 32 import net.sf.jasperreports.engine.JRElementDataset; 33 import net.sf.jasperreports.engine.JRExpression; 34 import net.sf.jasperreports.engine.JRGroup; 35 import net.sf.jasperreports.engine.base.JRBaseElementDataset; 36 import net.sf.jasperreports.engine.base.JRBaseObjectFactory; 37 38 39 40 44 public abstract class JRDesignElementDataset extends JRBaseElementDataset 45 { 46 47 48 51 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 52 53 54 public JRDesignElementDataset() 55 { 56 super(); 57 } 58 59 62 public JRDesignElementDataset(JRElementDataset dataset) 63 { 64 super(dataset); 65 } 66 67 68 71 public JRDesignElementDataset(JRElementDataset dataset, JRBaseObjectFactory factory) 72 { 73 super(dataset, factory); 74 } 75 76 77 80 public void setResetType(byte resetType) 81 { 82 this.resetType = resetType; 83 } 84 85 88 public void setIncrementType(byte incrementType) 89 { 90 this.incrementType = incrementType; 91 } 92 93 96 public void setResetGroup(JRGroup group) 97 { 98 this.resetGroup = group; 99 } 100 101 104 public void setIncrementGroup(JRGroup group) 105 { 106 this.incrementGroup = group; 107 } 108 109 110 116 public void setDatasetRun(JRDatasetRun datasetRun) 117 { 118 this.datasetRun = datasetRun; 119 } 120 121 122 130 public void setIncrementWhenExpression(JRExpression expression) 131 { 132 this.incrementWhenExpression = expression; 133 } 134 } 135 | Popular Tags |