refs #200: Create accouting-lib library

https://support.d4science.org/issues/200
Implementing library

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115259 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-06-09 09:23:39 +00:00
parent 3661f051db
commit 3b60f5168c
1 changed files with 12 additions and 1 deletions

View File

@ -3,6 +3,8 @@
*/
package org.gcube.accounting.datamodel.implementations.aggregated;
import java.util.List;
import org.gcube.accounting.datamodel.RawUsageRecord;
import org.gcube.accounting.datamodel.validations.annotations.NotEmpty;
import org.gcube.accounting.datamodel.validations.annotations.ValidInteger;
@ -12,7 +14,7 @@ import org.gcube.accounting.exception.InvalidValueException;
/**
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
*/
public class StorageStatusUsageRecord extends RawUsageRecord {
public class StorageStatusUsageRecord extends RawUsageRecord<StorageStatusUsageRecord> {
/**
* Generated Serial Version UID
@ -74,4 +76,13 @@ public class StorageStatusUsageRecord extends RawUsageRecord {
setResourceSpecificProperty(DATA_COUNT, dataCount);
}
/**
* {@inheritDoc}
*/
@Override
public List<StorageStatusUsageRecord> aggregate(List<StorageStatusUsageRecord> records) {
// TODO implements
throw new UnsupportedOperationException();
}
}