From e2ee2c51031dabd4ce3ab634fe3764619d66592e Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 18 Jun 2015 14:34:04 +0000 Subject: [PATCH] refs #200: Create accouting-lib library https://support.d4science.org/issues/200 Fixing data model git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115428 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../datamodel/implementations/ServiceUsageRecord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/accounting/datamodel/implementations/ServiceUsageRecord.java b/src/main/java/org/gcube/accounting/datamodel/implementations/ServiceUsageRecord.java index 3e25620..6b2cdc1 100644 --- a/src/main/java/org/gcube/accounting/datamodel/implementations/ServiceUsageRecord.java +++ b/src/main/java/org/gcube/accounting/datamodel/implementations/ServiceUsageRecord.java @@ -138,7 +138,7 @@ public class ServiceUsageRecord extends BasicUsageRecord implements SingleUsageR return (Long) this.resourceProperties.get(DURATION); } - public void setAverageInvocationTime(Long duration) throws InvalidValueException { + public void setDuration(Long duration) throws InvalidValueException { setResourceProperty(DURATION, duration); } }