Back to project page HRForecast-WFM.
The source code is released under:
Copyright 2014 Ahmed Shafei
If you think the Android project HRForecast-WFM listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.hrf.workforcemanagement.models.linechart; /*from w w w. j av a 2 s . c om*/ import java.util.ArrayList; import org.simpleframework.xml.Element; import org.simpleframework.xml.ElementList; import org.simpleframework.xml.Root; import de.hrf.workforcemanagement.models.Color; import de.hrf.workforcemanagement.models.Metadata; import de.hrf.workforcemanagement.models.MetadataList; @Root(name = "point") public class LinePoint extends MetadataList { @Element(name = "x_value") private String xValue; @Element(name = "y_value") private String yValue; @ElementList(name = "color_list") private ArrayList<Color> colors; public LinePoint() { super(); } public LinePoint(String xValue, String yValue, ArrayList<Metadata> metaDataList, ArrayList<Color> colors) { super(metaDataList); this.xValue = xValue; this.yValue = yValue; this.colors = colors; } public String getxValue() { return xValue; } public void setxValue(String xValue) { this.xValue = xValue; } public String getyValue() { return yValue; } public void setyValue(String yValue) { this.yValue = yValue; } public ArrayList<Color> getColors() { return colors; } public void setColors(ArrayList<Color> colors) { this.colors = colors; } @Override public String toString() { return "LineChart: (x_value= " + this.getxValue() + ", y_value= " + this.getyValue() + ", metadata_list= " + this.getMetaDataList() + ", colors_list= " + this.getColors() + ")"; } }