1 32 33 package it.businesslogic.ireport.chart; 34 35 39 public class XYZSeries { 40 41 private String seriesExpression = ""; 42 private String xValueExpression = ""; 43 private String yValueExpression = ""; 44 private String zValueExpression = ""; 45 private SectionItemHyperlink sectionItemHyperlink = new SectionItemHyperlink(); 46 47 48 public XYZSeries() { 49 } 50 51 public String getSeriesExpression() { 52 return seriesExpression; 53 } 54 55 public void setSeriesExpression(String seriesExpression) { 56 this.seriesExpression = seriesExpression; 57 } 58 59 public String toString() 60 { 61 String str = getSeriesExpression(); 62 if (str == null) str = ""; 63 if (str.length() > 50) str = str.substring(0,30); 64 65 return "XYZ series [" + str + "]"; 66 } 67 68 public String getXValueExpression() { 69 return xValueExpression; 70 } 71 72 public void setXValueExpression(String xValueExpression) { 73 this.xValueExpression = xValueExpression; 74 } 75 76 public String getYValueExpression() { 77 return yValueExpression; 78 } 79 80 public void setYValueExpression(String yValueExpression) { 81 this.yValueExpression = yValueExpression; 82 } 83 84 public String getZValueExpression() { 85 return zValueExpression; 86 } 87 88 public void setZValueExpression(String zValueExpression) { 89 this.zValueExpression = zValueExpression; 90 } 91 92 public XYZSeries cloneMe() 93 { 94 XYZSeries cs = new XYZSeries(); 95 cs.setSeriesExpression( this.getSeriesExpression()); 96 cs.setXValueExpression( this.getXValueExpression()); 97 cs.setYValueExpression( this.getYValueExpression()); 98 cs.setZValueExpression( this.getZValueExpression()); 99 cs.setSectionItemHyperlink( this.getSectionItemHyperlink().cloneMe()); 100 101 return cs; 102 } 103 104 public SectionItemHyperlink getSectionItemHyperlink() { 105 return sectionItemHyperlink; 106 } 107 108 public void setSectionItemHyperlink(SectionItemHyperlink sectionItemHyperlink) { 109 this.sectionItemHyperlink = sectionItemHyperlink; 110 } 111 112 } 113 | Popular Tags |