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.bubblechart; //from w w w . ja 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.ChartType; import de.hrf.workforcemanagement.models.Property; import de.hrf.workforcemanagement.models.SpecialChartXAxis; @Root(name = "bubble_chart") public class BubbleChart extends ChartType { @Element(name = "x_axis") private SpecialChartXAxis bubbleXAxis; @Element(name = "y_axis") private BubbleYAxis bubbleYaxis; @ElementList(name = "data") private ArrayList<BubbleData> bubbleData; public BubbleChart() { super(); } public BubbleChart(ArrayList<Property> properties, SpecialChartXAxis bubbleXAxis, BubbleYAxis bubbleYaxis, ArrayList<BubbleData> bubbleData) { super(properties); this.bubbleXAxis = bubbleXAxis; this.bubbleYaxis = bubbleYaxis; this.bubbleData = bubbleData; } public SpecialChartXAxis getBubbleXAxis() { return bubbleXAxis; } public void setBubbleXAxis(SpecialChartXAxis bubbleXAxis) { this.bubbleXAxis = bubbleXAxis; } public BubbleYAxis getBubbleYaxis() { return bubbleYaxis; } public void setBubbleYaxis(BubbleYAxis bubbleYaxis) { this.bubbleYaxis = bubbleYaxis; } public ArrayList<BubbleData> getBubbleData() { return bubbleData; } public void setBubbleData(ArrayList<BubbleData> bubbleData) { this.bubbleData = bubbleData; } @Override public String toString() { return "BubbleChart: (data= " + this.bubbleData + ", Xaxis= " + this.getBubbleXAxis() + ", Yaxis= " + this.getBubbleYaxis() + ")"; } }