2016-11-15 11:21:51 +01:00
|
|
|
package org.gcube.accounting.analytics;
|
|
|
|
|
|
|
|
import org.gcube.accounting.datamodel.AggregatedUsageRecord;
|
|
|
|
/**
|
|
|
|
* Object for calculate quota
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @author pieve
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public abstract class UsageValue {
|
2017-01-19 11:42:05 +01:00
|
|
|
|
|
|
|
public UsageValue(){}
|
|
|
|
|
2016-11-15 11:21:51 +01:00
|
|
|
protected Class<? extends AggregatedUsageRecord<?, ?>> clz;
|
2017-01-19 11:42:05 +01:00
|
|
|
protected TemporalConstraint temporalConstraint;
|
2016-11-15 11:21:51 +01:00
|
|
|
protected String identifier;
|
|
|
|
protected Double d;
|
|
|
|
protected String orderingProperty;
|
|
|
|
protected String context;
|
|
|
|
|
|
|
|
public abstract Class<? extends AggregatedUsageRecord<?, ?>> getClz();
|
|
|
|
public abstract String getIdentifier();
|
|
|
|
public abstract Double getD();
|
|
|
|
public abstract String getOrderingProperty();
|
|
|
|
public abstract TemporalConstraint getTemporalConstraint();
|
|
|
|
public abstract String getContext();
|
|
|
|
|
|
|
|
public abstract void setOrderingProperty(String orderingProperty);
|
|
|
|
public abstract void setD(Double d);
|
|
|
|
public abstract void setContext(String context);
|
|
|
|
|
|
|
|
|
|
|
|
}
|