2015-06-05 14:43:04 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.accounting.datamodel;
|
|
|
|
|
2015-12-18 17:09:05 +01:00
|
|
|
import org.gcube.documentstore.records.AggregatedRecord;
|
2016-02-29 15:16:54 +01:00
|
|
|
import org.gcube.documentstore.records.implementation.validations.annotations.ValidBoolean;
|
2015-12-21 11:50:09 +01:00
|
|
|
import org.gcube.documentstore.records.implementation.validations.annotations.ValidInteger;
|
|
|
|
import org.gcube.documentstore.records.implementation.validations.annotations.ValidLong;
|
2015-06-05 14:43:04 +02:00
|
|
|
|
|
|
|
/**
|
2016-10-12 14:15:28 +02:00
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
2015-06-05 14:43:04 +02:00
|
|
|
*/
|
2017-05-11 16:38:38 +02:00
|
|
|
|
2015-12-21 11:50:09 +01:00
|
|
|
public interface AggregatedUsageRecord<A extends AggregatedUsageRecord<A,U>, U extends UsageRecord> extends AggregatedRecord<A,U> {
|
2015-06-05 14:43:04 +02:00
|
|
|
|
2017-05-11 16:38:38 +02:00
|
|
|
@ValidBoolean
|
2015-12-18 17:09:05 +01:00
|
|
|
public static final String AGGREGATED = AggregatedRecord.AGGREGATED;
|
2015-11-19 16:19:51 +01:00
|
|
|
|
2016-02-29 15:16:54 +01:00
|
|
|
@ValidInteger
|
2015-12-18 17:09:05 +01:00
|
|
|
public static final String OPERATION_COUNT = AggregatedRecord.OPERATION_COUNT;
|
2015-11-30 18:34:48 +01:00
|
|
|
|
2016-02-29 15:16:54 +01:00
|
|
|
@ValidLong
|
2015-12-18 17:09:05 +01:00
|
|
|
public static final String START_TIME = AggregatedRecord.START_TIME;
|
2015-11-30 18:34:48 +01:00
|
|
|
|
2016-02-29 15:16:54 +01:00
|
|
|
@ValidLong
|
2015-12-18 17:09:05 +01:00
|
|
|
public static final String END_TIME = AggregatedRecord.END_TIME;
|
2015-11-30 18:34:48 +01:00
|
|
|
|
2015-06-05 14:43:04 +02:00
|
|
|
}
|