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:
parent
3661f051db
commit
3b60f5168c
|
@ -3,6 +3,8 @@
|
||||||
*/
|
*/
|
||||||
package org.gcube.accounting.datamodel.implementations.aggregated;
|
package org.gcube.accounting.datamodel.implementations.aggregated;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import org.gcube.accounting.datamodel.RawUsageRecord;
|
import org.gcube.accounting.datamodel.RawUsageRecord;
|
||||||
import org.gcube.accounting.datamodel.validations.annotations.NotEmpty;
|
import org.gcube.accounting.datamodel.validations.annotations.NotEmpty;
|
||||||
import org.gcube.accounting.datamodel.validations.annotations.ValidInteger;
|
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/
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||||
*/
|
*/
|
||||||
public class StorageStatusUsageRecord extends RawUsageRecord {
|
public class StorageStatusUsageRecord extends RawUsageRecord<StorageStatusUsageRecord> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated Serial Version UID
|
* Generated Serial Version UID
|
||||||
|
@ -74,4 +76,13 @@ public class StorageStatusUsageRecord extends RawUsageRecord {
|
||||||
setResourceSpecificProperty(DATA_COUNT, dataCount);
|
setResourceSpecificProperty(DATA_COUNT, dataCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<StorageStatusUsageRecord> aggregate(List<StorageStatusUsageRecord> records) {
|
||||||
|
// TODO implements
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue