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; //ww w.j a va 2 s .c o m 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 = "region") public class RadarRegion extends MetadataList{ @Element(name = "name") private String regionName; @Element(name = "y_value") private String yValue; @ElementList(name = "color_list") private ArrayList<Color> colors; public RadarRegion() { super(); } public RadarRegion(String regionName, String yValue, ArrayList<Metadata> metaDataList, ArrayList<Color> colors) { super(metaDataList); this.regionName = regionName; this.yValue = yValue; this.colors = colors; } public String getRegionName() { return regionName; } public void setRegionName(String regionName) { this.regionName = regionName; } public String getyValue() { return yValue; } public void setyValue(String yValue) { this.yValue = yValue; } public ArrayList<Color> getColors() { return this.colors; } public void setColors(ArrayList<Color> colors) { this.colors = colors; } @Override public String toString() { return "RadarData: (name= " + this.getRegionName() + ", Yvalue= " + this.getyValue() + ", MetadataList= " + this.getMetaDataList() + ", colors= " + this.getColors() + ")"; } }