refs #200: Create accouting-lib library

https://support.d4science.org/issues/200
Renamed Classes

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115299 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-06-10 14:13:28 +00:00
parent fc633d338e
commit 70777d4a1b
2 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ import org.gcube.accounting.exception.InvalidValueException;
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
* *
*/ */
public class StorageUsageUsageRecord extends RawUsageRecord implements SingleUsageRecord { public class StorageUsageRecord extends RawUsageRecord implements SingleUsageRecord {
/** /**
* Generated Serial Version UID * Generated Serial Version UID
@ -44,11 +44,11 @@ public class StorageUsageUsageRecord extends RawUsageRecord implements SingleUsa
@ValidIP @ValidIP
public static final String CALLER_IP = "callerIP"; public static final String CALLER_IP = "callerIP";
public StorageUsageUsageRecord(){ public StorageUsageRecord(){
super(); super();
} }
public StorageUsageUsageRecord(Map<String, Serializable> properties) throws InvalidValueException { public StorageUsageRecord(Map<String, Serializable> properties) throws InvalidValueException {
super(properties); super(properties);
} }

View File

@ -14,19 +14,19 @@ import org.gcube.accounting.exception.InvalidValueException;
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
* *
*/ */
public class StorageUsageUsageRecord extends org.gcube.accounting.datamodel.implementations.StorageUsageUsageRecord implements AggregatedUsageRecord<StorageUsageUsageRecord> { public class StorageUsageRecord extends org.gcube.accounting.datamodel.implementations.StorageUsageRecord implements AggregatedUsageRecord<StorageUsageRecord> {
/** /**
* Generated Serial Version UID * Generated Serial Version UID
*/ */
private static final long serialVersionUID = 1082525518686785682L; private static final long serialVersionUID = 1082525518686785682L;
public StorageUsageUsageRecord(){ public StorageUsageRecord(){
super(); super();
this.resourceProperties.put(AGGREGATED, true); this.resourceProperties.put(AGGREGATED, true);
} }
public StorageUsageUsageRecord(Map<String, Serializable> properties) throws InvalidValueException{ public StorageUsageRecord(Map<String, Serializable> properties) throws InvalidValueException{
super(properties); super(properties);
this.resourceProperties.put(AGGREGATED, true); this.resourceProperties.put(AGGREGATED, true);
} }
@ -35,7 +35,7 @@ public class StorageUsageUsageRecord extends org.gcube.accounting.datamodel.impl
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public List<StorageUsageUsageRecord> aggregate(List<StorageUsageUsageRecord> records) { public List<StorageUsageRecord> aggregate(List<StorageUsageRecord> records) {
// TODO // TODO
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }