50 lines
1.1 KiB
Java
50 lines
1.1 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 JobUsageRecord extends org.gcube.accounting.datamodel.basetype.JobUsageRecord implements AggregatedUsageRecord<JobUsageRecord, org.gcube.accounting.datamodel.usagerecord.JobUsageRecord> {
|
|
|
|
/**
|
|
* Generated Serial Version UID
|
|
*/
|
|
private static final long serialVersionUID = -3376423316219914682L;
|
|
|
|
private void init(){
|
|
this.resourceProperties.put(AGGREGATED, true);
|
|
}
|
|
|
|
public JobUsageRecord(){
|
|
super();
|
|
init();
|
|
}
|
|
|
|
public JobUsageRecord(Map<String, Serializable> properties) throws InvalidValueException{
|
|
super(properties);
|
|
init();
|
|
}
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
@Override
|
|
public JobUsageRecord getAggregatedUsageRecord(
|
|
org.gcube.accounting.datamodel.usagerecord.JobUsageRecord b)
|
|
throws InvalidValueException {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
|
|
}
|