Chart.java:
/**
* @Title:Chart.java
* @Package:com.fusionchart.model
* @Description:FusionCharts 封装dataSet和categories
* @author:Youhaidong(游海东)
* @date:2014-1-22 下午10:10:44
* @version V1.0
*/
package com.fusionchart.model;
import java.io.Serializable;
/**
* 类功能说明
* 类修改者 修改日期
* 修改说明
* <p>Title:Chart.java</p>
* <p>Description:游海东个人开发</p>
* <p>Copyright:Copyright(c)2013</p>
* @author:游海东
* @date:2014-1-22 下午10:10:44
* @version V1.0
*/
public class Chart implements Serializable
{
/**
* @Fields serialVersionUID:序列号
*/
private static final long serialVersionUID = 1L;
/**
* categories
*/
private Categories categories;
/**
* dataSet
*/
private DataSet dataSet;
/**
* @return the categories
*/
public Categories getCategories() {
return categories;
}
/**
* @param categories the categories to set
*/
public void setCategories(Categories categories) {
this.categories = categories;
}
/**
* @return the dataSet
*/
public DataSet getDataSet() {
return dataSet;
}
/**
* @param dataSet the dataSet to set
*/
public void setDataSet(DataSet dataSet) {
this.dataSet = dataSet;
}
/* (non-Javadoc)
* <p>Title:toString</p>
* <p>Description:</p>
* @return
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "'categories':[{" + categories + "}]," + "'dataset':[" + dataSet + "]";
}
}