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; /*www. ja v a2 s. c o m*/ import java.util.ArrayList; import org.simpleframework.xml.*; import de.hrf.workforcemanagement.models.Metadata; @Root public class Bar extends MetadataList { @Element private String name; /** * Comma seperated values according to dimensions */ @Element(name = "y_value") private String yValues; @ElementList(name = "color_list") private ArrayList<Color> colors; public Bar() { } public Bar(String name, String yValues, ArrayList<Metadata> metaDataList, ArrayList<Color> colors) { super(metaDataList); this.name = name; this.yValues = yValues; this.colors = colors; } public String getName() { return this.name; } public String getYValues() { return this.yValues; } public ArrayList<Color> getColors() { return this.colors; } public void setName(String name) { this.name = name; } public void setYValues(String yValues) { this.yValues = yValues; } public void setColors(ArrayList<Color> colors) { this.colors = colors; } public String toString() { return "Bar: (name= " + this.getName() + ", yValues= " + this.getYValues() + ", metadata list: " + this.getMetaDataList() + ", colors: " + this.getColors() + ")"; } }