accounting-manager/src/main/java/org/gcube/portlets/admin/accountingmanager/shared/data/AccountingFilterBasic.java

84 lines
1.6 KiB
Java

package org.gcube.portlets.admin.accountingmanager.shared.data;
import java.io.Serializable;
import java.util.ArrayList;
/**
*
* @author Giancarlo Panichi
*
*
*/
public class AccountingFilterBasic extends AccountingFilterDefinition implements
Serializable {
private static final long serialVersionUID = -6805006183397381154L;
private ArrayList<AccountingFilter> filters;
private String scope;
private Boolean noContext;
public AccountingFilterBasic() {
super();
this.chartType = ChartType.Basic;
noContext = false;
filters = null;
scope=null;
}
public AccountingFilterBasic(String scope, boolean noContenxt) {
super();
chartType = ChartType.Basic;
this.filters = null;
this.scope=scope;
this.noContext = noContenxt;
}
public AccountingFilterBasic(String scope, ArrayList<AccountingFilter> filters,
boolean noContenxt) {
super();
chartType = ChartType.Basic;
this.scope=scope;
this.filters = filters;
this.noContext = noContenxt;
}
public String getScope() {
return scope;
}
public void setScope(String scope) {
this.scope = scope;
}
public Boolean getNoContext() {
return noContext;
}
public ArrayList<AccountingFilter> getFilters() {
return filters;
}
public void setFilters(ArrayList<AccountingFilter> filters) {
this.filters = filters;
}
public boolean isNoContext() {
return noContext;
}
public void setNoContext(Boolean noContext) {
this.noContext = noContext;
}
@Override
public String toString() {
return "AccountingFilterBasic [filters=" + filters + ", scope=" + scope + ", noContext=" + noContext
+ ", chartType=" + chartType + "]";
}
}