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.radarchart; /*w ww . j av a2 s . com*/ import java.util.ArrayList; import org.simpleframework.xml.Element; import org.simpleframework.xml.ElementList; import org.simpleframework.xml.Root; import de.hrf.workforcemanagement.models.ChartType; import de.hrf.workforcemanagement.models.Property; import de.hrf.workforcemanagement.models.SpecialChartXAxis; @Root(name = "radar_chart") public class RadarChart extends ChartType { @Element(name = "x_axis") private SpecialChartXAxis radarXAxis; @Element(name = "y_axis") private RadarYAxis radarYaxis; @ElementList(name = "data") private ArrayList<RadarRegion> radarData; public RadarChart() { super(); } public RadarChart(SpecialChartXAxis radarXAxis, RadarYAxis radarYaxis, ArrayList<RadarRegion> radarData, ArrayList<Property> properties) { super(properties); this.radarXAxis = radarXAxis; this.radarYaxis = radarYaxis; this.radarData = radarData; } public SpecialChartXAxis getRadarXAxis() { return radarXAxis; } public void setRadarXAxis(SpecialChartXAxis radarXAxis) { this.radarXAxis = radarXAxis; } public RadarYAxis getRadarYaxis() { return radarYaxis; } public void setRadarYaxis(RadarYAxis radarYaxis) { this.radarYaxis = radarYaxis; } public ArrayList<RadarRegion> getRadarData() { return radarData; } public void setRadarData(ArrayList<RadarRegion> radarData) { this.radarData = radarData; } @Override public String toString() { return "RadarChart: (data= " + this.getRadarData() + ", Xaxis= " + this.getRadarXAxis() + ", Yaxis= " + this.getRadarYaxis() + ")"; } }