Category.java:
/** * @Title:Category.java * @Package:com.fusionchart.model * @Description:FusionCharts 封装Label * @author:Youhaidong(游海东) * @date:2014-1-22 下午9:35:04 * @version V1.0 */ package com.fusionchart.model; import java.io.Serializable; /** * 类功能说明 * 类修改者 修改日期 * 修改说明 * <p>Title:Category.java</p> * <p>Description:游海东个人开发</p> * <p>Copyright:Copyright(c)2013</p> * @author:游海东 * @date:2014-1-22 下午9:35:04 * @version V1.0 */ public class Category implements Serializable { /** * @Fields serialVersionUID:序列号 */ private static final long serialVersionUID = 1L; /** * Label */ private String label; /** * @return the label */ public String getLabel() { return label; } /** * @param label the label to set */ public void setLabel(String label) { this.label = label; } /* (non-Javadoc) * <p>Title:toString</p> * <p>Description:"label":"Jan"</p> * @return * @see java.lang.Object#toString() */ @Override public String toString() { return "{‘label‘:‘" + label + "‘}"; } }