66 lines
1.7 KiB
Java
66 lines
1.7 KiB
Java
package org.gcube.portlets.admin.accountingmanager.client.state;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import org.gcube.portlets.admin.accountingmanager.shared.data.AccountingType;
|
|
import org.gcube.portlets.admin.accountingmanager.shared.data.query.SeriesRequest;
|
|
import org.gcube.portlets.admin.accountingmanager.shared.data.response.SeriesResponse;
|
|
|
|
/**
|
|
*
|
|
* @author giancarlo email: <a
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
public class AccountingStateData implements Serializable {
|
|
|
|
private static final long serialVersionUID = 4853602427569285252L;
|
|
private AccountingType accountingType;
|
|
private SeriesRequest seriesRequest;
|
|
private SeriesResponse seriesResponse;
|
|
|
|
public AccountingStateData() {
|
|
super();
|
|
}
|
|
|
|
public AccountingStateData(AccountingType accountingType,
|
|
SeriesRequest seriesRequest, SeriesResponse seriesResponse) {
|
|
super();
|
|
this.accountingType = accountingType;
|
|
this.seriesRequest = seriesRequest;
|
|
this.seriesResponse = seriesResponse;
|
|
}
|
|
|
|
public AccountingType getAccountingType() {
|
|
return accountingType;
|
|
}
|
|
|
|
public void setAccountingType(AccountingType accountingType) {
|
|
this.accountingType = accountingType;
|
|
}
|
|
|
|
public SeriesRequest getSeriesRequest() {
|
|
return seriesRequest;
|
|
}
|
|
|
|
public void setSeriesRequest(SeriesRequest seriesRequest) {
|
|
this.seriesRequest = seriesRequest;
|
|
}
|
|
|
|
public SeriesResponse getSeriesResponse() {
|
|
return seriesResponse;
|
|
}
|
|
|
|
public void setSeriesResponse(SeriesResponse seriesResponse) {
|
|
this.seriesResponse = seriesResponse;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "AccountingStateData [accountingType=" + accountingType
|
|
+ ", seriesRequest=" + seriesRequest + ", seriesResponse="
|
|
+ seriesResponse + "]";
|
|
}
|
|
|
|
}
|