DataSet.java:
/** * @Title:DataSet.java * @Package:com.fusionchart.model * @Description:FusionCharts 封装data * @author:Youhaidong(游海东) * @date:2014-1-22 下午10:01:58 * @version V1.0 */ package com.fusionchart.model; import java.io.Serializable; import java.util.List; /** * 类功能说明 * 类修改者 修改日期 * 修改说明 * <p>Title:DataSet.java</p> * <p>Description:游海东个人开发</p> * <p>Copyright:Copyright(c)2013</p> * @author:游海东 * @date:2014-1-22 下午10:01:58 * @version V1.0 */ public class DataSet implements Serializable { /** * @Fields serialVersionUID:序列号 */ private static final long serialVersionUID = 1L; /** * seriesNameOne */ private String seriesNameOne; /** * seriesNameTwo */ private String seriesNameTwo; /** * ListOne */ private List<Data> listOne; /** * listTwo */ private List<Data> listTwo; /** * @return the seriesNameOne */ public String getSeriesNameOne() { return seriesNameOne; } /** * @param seriesNameOne the seriesNameOne to set */ public void setSeriesNameOne(String seriesNameOne) { this.seriesNameOne = seriesNameOne; } /** * @return the seriesNameTwo */ public String getSeriesNameTwo() { return seriesNameTwo; } /** * @param seriesNameTwo the seriesNameTwo to set */ public void setSeriesNameTwo(String seriesNameTwo) { this.seriesNameTwo = seriesNameTwo; } /** * @return the listOne */ public List<Data> getListOne() { return listOne; } /** * @param listOne the listOne to set */ public void setListOne(List<Data> listOne) { this.listOne = listOne; } /** * @return the listTwo */ public List<Data> getListTwo() { return listTwo; } /** * @param listTwo the listTwo to set */ public void setListTwo(List<Data> listTwo) { this.listTwo = listTwo; } /* (non-Javadoc) * <p>Title:toString</p> * <p>Description:</p> * @return * @see java.lang.Object#toString() */ @Override public String toString() { return "{‘seriesname‘:‘" + seriesNameOne + "‘,‘data‘:‘" + listOne + "}," + "{‘seriesname‘:‘" + seriesNameTwo + "‘,‘data‘:‘" + listTwo + "}"; } }