50 lines
1.2 KiB
Java
50 lines
1.2 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.accounting.aggregation;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Map;
|
|
|
|
import org.gcube.accounting.datamodel.AggregatedUsageRecord;
|
|
import org.gcube.accounting.exception.InvalidValueException;
|
|
|
|
/**
|
|
* This Class is for library internal use only
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*/
|
|
public class TaskUsageRecord extends org.gcube.accounting.datamodel.basetype.TaskUsageRecord implements AggregatedUsageRecord<TaskUsageRecord, org.gcube.accounting.datamodel.usagerecord.TaskUsageRecord> {
|
|
|
|
|
|
/**
|
|
* Generated Serial version UID
|
|
*/
|
|
private static final long serialVersionUID = 7445526162102677455L;
|
|
|
|
private void init(){
|
|
this.resourceProperties.put(AGGREGATED, true);
|
|
}
|
|
|
|
public TaskUsageRecord(){
|
|
super();
|
|
init();
|
|
}
|
|
|
|
public TaskUsageRecord(Map<String, Serializable> properties) throws InvalidValueException{
|
|
super(properties);
|
|
init();
|
|
}
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
@Override
|
|
public TaskUsageRecord getAggregatedUsageRecord(
|
|
org.gcube.accounting.datamodel.usagerecord.TaskUsageRecord usageRecord)
|
|
throws InvalidValueException {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
}
|