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.piechart; /*from w ww. j ava 2 s .com*/ import java.util.ArrayList; import org.simpleframework.xml.*; import de.hrf.workforcemanagement.models.Metadata; import de.hrf.workforcemanagement.models.MetadataList; @Root(name = "region") public class PieRegion extends MetadataList { @Element(name = "label") private PieLabel pieLabel; @Element(name = "color") private String color; @Element(name = "value") private Double value; @Element(name = "focused") private String focused; public PieRegion() { super(); } public PieRegion(PieLabel pieLabel, String color, Double value, String focused, ArrayList<Metadata> metaDataList) { super(metaDataList); this.pieLabel = pieLabel; this.color = color; this.value = value; this.focused = focused; } public PieLabel getPieLabel() { return pieLabel; } public void setPieLabel(PieLabel pieLabel) { this.pieLabel = pieLabel; } public String getColor() { return color; } public void setColor(String color) { this.color = color; } public Double getValue() { return value; } public void setValue(Double value) { this.value = value; } public String getFocused() { return focused; } public void setFocused(String focused) { this.focused = focused; } @Override public String toString() { return "PieRegion: (label= " + this.pieLabel + ", color= " + this.getColor() + ", value= " + this.getValue() + ", focused= " + this.getFocused() + ", metadata_list= " + this.getMetaDataList() + ")"; } }