Fixing model

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120324 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-11-19 15:19:51 +00:00
parent 440d1ae001
commit 1987001f31
4 changed files with 34 additions and 0 deletions

View File

@ -36,6 +36,16 @@ public class AggregatedJobUsageRecord extends AbstractJobUsageRecord implements
init();
}
@Override
public int getOperationCount() {
return super.getOperationCount();
}
@Override
public void setOperationCount(int operationCount) throws InvalidValueException {
super.setOperationCount(operationCount);
}
/**
* {@inheritDoc}
*/

View File

@ -37,6 +37,16 @@ public class AggregatedPortletUsageRecord extends AbstractPortletUsageRecord imp
init();
}
@Override
public int getOperationCount() {
return super.getOperationCount();
}
@Override
public void setOperationCount(int operationCount) throws InvalidValueException {
super.setOperationCount(operationCount);
}
/**
* {@inheritDoc}
*/

View File

@ -37,6 +37,16 @@ public class AggregatedTaskUsageRecord extends AbstractTaskUsageRecord implement
init();
}
@Override
public int getOperationCount() {
return super.getOperationCount();
}
@Override
public void setOperationCount(int operationCount) throws InvalidValueException {
super.setOperationCount(operationCount);
}
/**
* {@inheritDoc}
*/

View File

@ -17,4 +17,8 @@ public interface AggregatedUsageRecord<T extends AggregatedUsageRecord<T, B>, B
public T getAggregatedUsageRecord(B usageRecord) throws InvalidValueException ;
public int getOperationCount();
public void setOperationCount(int operationCount) throws InvalidValueException;
}