accounting-manager/src/main/java/org/gcube/portlets/admin/accountingmanager/client/maindata/charts/AccountingChartBuilder.java

27 lines
674 B
Java
Executable File

package org.gcube.portlets.admin.accountingmanager.client.maindata.charts;
import org.gcube.portlets.admin.accountingmanager.shared.exception.ChartDrawException;
/**
* Abstract class for build Accounting Chart
*
* @author Giancarlo Panichi
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public abstract class AccountingChartBuilder {
protected AccountingChartSpec accountingChartSpec;
public AccountingChartSpec getAccountingChartSpec(){
return accountingChartSpec;
}
public void createSpec(){
accountingChartSpec=new AccountingChartSpec();
}
public abstract void buildChart() throws ChartDrawException;
}