public Object clone() { JRBaseCategorySeries clone = null; try { clone = (JRBaseCategorySeries) super.clone(); } catch (CloneNotSupportedException e) { throw new JRRuntimeException(e); } if (seriesExpression != null) { clone.seriesExpression = (JRExpression) seriesExpression.clone(); } if (categoryExpression != null) { clone.categoryExpression = (JRExpression) categoryExpression.clone(); } if (valueExpression != null) { clone.valueExpression = (JRExpression) valueExpression.clone(); } if (labelExpression != null) { clone.labelExpression = (JRExpression) labelExpression.clone(); } if (itemHyperlink != null) { clone.itemHyperlink = (JRHyperlink) itemHyperlink.clone(); } return clone; }
public Object clone() { JRBaseXyzSeries clone = null; try { clone = (JRBaseXyzSeries) super.clone(); } catch (CloneNotSupportedException e) { throw new JRRuntimeException(e); } if (seriesExpression != null) { clone.seriesExpression = (JRExpression) seriesExpression.clone(); } if (xValueExpression != null) { clone.xValueExpression = (JRExpression) xValueExpression.clone(); } if (yValueExpression != null) { clone.yValueExpression = (JRExpression) yValueExpression.clone(); } if (zValueExpression != null) { clone.zValueExpression = (JRExpression) zValueExpression.clone(); } if (itemHyperlink != null) { clone.itemHyperlink = (JRHyperlink) itemHyperlink.clone(); } return clone; }