From 3b60f5168c6aa91ba770a8bcdda12379c445d695 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 9 Jun 2015 09:23:39 +0000 Subject: [PATCH] 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 --- .../aggregated/StorageStatusUsageRecord.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/accounting/datamodel/implementations/aggregated/StorageStatusUsageRecord.java b/src/main/java/org/gcube/accounting/datamodel/implementations/aggregated/StorageStatusUsageRecord.java index 4300db3..64ab607 100644 --- a/src/main/java/org/gcube/accounting/datamodel/implementations/aggregated/StorageStatusUsageRecord.java +++ b/src/main/java/org/gcube/accounting/datamodel/implementations/aggregated/StorageStatusUsageRecord.java @@ -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 { /** * Generated Serial Version UID @@ -74,4 +76,13 @@ public class StorageStatusUsageRecord extends RawUsageRecord { setResourceSpecificProperty(DATA_COUNT, dataCount); } + /** + * {@inheritDoc} + */ + @Override + public List aggregate(List records) { + // TODO implements + throw new UnsupportedOperationException(); + } + }