accounting-lib/src/main/java/org/gcube/accounting/datamodel/AggregatedUsageRecord.java

29 lines
603 B
Java

/**
*
*/
package org.gcube.accounting.datamodel;
import org.gcube.accounting.exception.InvalidValueException;
/**
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
*/
public interface AggregatedUsageRecord extends UsageRecord {
/**
* Return the id of the usage record aggregating this
* @return Aggregated Id
*/
@Override
public String getAggregatedId();
/**
* Set the id of the usage record aggregating this
* @param aggregatedId
* @throws InvalidValueException
*/
@Override
public void setAggregatedId(String aggregatedId) throws InvalidValueException;
}