2018-07-10 17:50:37 +02:00
|
|
|
package org.gcube.portlets.user.accountingdashboard.shared.data;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
2018-07-11 19:29:22 +02:00
|
|
|
import java.util.ArrayList;
|
2018-07-10 17:50:37 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class SeriesData implements Serializable {
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 3308676516412447011L;
|
|
|
|
private String label;
|
2018-07-11 19:29:22 +02:00
|
|
|
private ArrayList<RecordData> dataRow;
|
2018-07-10 17:50:37 +02:00
|
|
|
|
|
|
|
public SeriesData() {
|
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
2018-07-11 19:29:22 +02:00
|
|
|
public SeriesData(String label, ArrayList<RecordData> dataRow) {
|
2018-07-10 17:50:37 +02:00
|
|
|
super();
|
|
|
|
this.label = label;
|
|
|
|
this.dataRow = dataRow;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLabel() {
|
|
|
|
return label;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLabel(String label) {
|
|
|
|
this.label = label;
|
|
|
|
}
|
|
|
|
|
2018-07-11 19:29:22 +02:00
|
|
|
public ArrayList<RecordData> getDataRow() {
|
2018-07-10 17:50:37 +02:00
|
|
|
return dataRow;
|
|
|
|
}
|
|
|
|
|
2018-07-11 19:29:22 +02:00
|
|
|
public void setDataRow(ArrayList<RecordData> dataRow) {
|
2018-07-10 17:50:37 +02:00
|
|
|
this.dataRow = dataRow;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
2018-07-11 19:29:22 +02:00
|
|
|
return "SeriesData [label=" + label + ", dataRow=" + dataRow + "]";
|
2018-07-10 17:50:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|