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.
Java Source Code
package de.hrf.workforcemanagement.models;
/*www.java2s.com*/import java.util.ArrayList;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
/**
* y-axis element structure: <y_axis> <visible>true/false</visible>
* <start>0</start> <step>1</step> <end>10</end> <dimension_list> <dimension>
* <text>DIMENSION_LABEL</text> </dimension> </dimension_list> </y_axis>
*/
@Root(name = "y_axis")
publicclass StandardChartYAxis extends StandardChartAxis {
@ElementList(name = "dimension_list")
private ArrayList<Dimension> dimensions;
public StandardChartYAxis() {
super();
}
public StandardChartYAxis(boolean visible, int step, int start, int end,
ArrayList<Dimension> dimensions) {
super(visible, step, start, end);
this.dimensions = dimensions;
}
/**
* @return the dimensions list of the y-axis of the chart
*/public ArrayList<Dimension> getDimensions() {
return dimensions;
}
/**
* @param dimensions
* the dimensions list of the y-axis of the chart
*/publicvoid setDimensions(ArrayList<Dimension> dimensions) {
this.dimensions = dimensions;
}
@Override
public String toString() {
return"yAxis: (visible= " + this.isVisible() + ", step= "
+ this.getStep() + ", start= " + this.getStart() + ", end= "
+ this.getEnd() + ", dimensionsList=" + this.getDimensions()
+ ")";
}
}