Reorganizing internals

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120555 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-12-02 10:08:14 +00:00
parent 72ac8594f0
commit f35debd0ce
6 changed files with 16 additions and 16 deletions

View File

@ -62,7 +62,7 @@ public class AggregatedJobUsageRecord extends AbstractJobUsageRecord implements
*/ */
@Override @Override
public Calendar getStartTime() { public Calendar getStartTime() {
return getStartTimeAsCalendar(); return super.getStartTimeAsCalendar();
} }
/** /**
@ -77,8 +77,8 @@ public class AggregatedJobUsageRecord extends AbstractJobUsageRecord implements
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public Calendar getEndTimeAsCalendar() { public Calendar getEndTime() {
return getEndTimeAsCalendar(); return super.getEndTimeAsCalendar();
} }
/** /**

View File

@ -63,7 +63,7 @@ public class AggregatedPortletUsageRecord extends AbstractPortletUsageRecord imp
*/ */
@Override @Override
public Calendar getStartTime() { public Calendar getStartTime() {
return getStartTimeAsCalendar(); return super.getStartTimeAsCalendar();
} }
/** /**
@ -78,8 +78,8 @@ public class AggregatedPortletUsageRecord extends AbstractPortletUsageRecord imp
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public Calendar getEndTimeAsCalendar() { public Calendar getEndTime() {
return getEndTimeAsCalendar(); return super.getEndTimeAsCalendar();
} }
/** /**

View File

@ -77,7 +77,7 @@ public class AggregatedServiceUsageRecord extends AbstractServiceUsageRecord imp
} }
public void setMaxInvocationTime(long maxInvocationTime) throws InvalidValueException { public void setMaxInvocationTime(long maxInvocationTime) throws InvalidValueException {
setResourceProperty(MAX_INVOCATION_TIME, maxInvocationTime); super.setResourceProperty(MAX_INVOCATION_TIME, maxInvocationTime);
} }
public long getMinInvocationTime() { public long getMinInvocationTime() {
@ -102,7 +102,7 @@ public class AggregatedServiceUsageRecord extends AbstractServiceUsageRecord imp
*/ */
@Override @Override
public Calendar getStartTime() { public Calendar getStartTime() {
return getStartTimeAsCalendar(); return super.getStartTimeAsCalendar();
} }
/** /**
@ -117,8 +117,8 @@ public class AggregatedServiceUsageRecord extends AbstractServiceUsageRecord imp
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public Calendar getEndTimeAsCalendar() { public Calendar getEndTime() {
return getEndTimeAsCalendar(); return super.getEndTimeAsCalendar();
} }
/** /**

View File

@ -79,7 +79,7 @@ public class AggregatedStorageUsageRecord extends AbstractStorageUsageRecord imp
*/ */
@Override @Override
public Calendar getStartTime() { public Calendar getStartTime() {
return getStartTimeAsCalendar(); return super.getStartTimeAsCalendar();
} }
/** /**
@ -94,7 +94,7 @@ public class AggregatedStorageUsageRecord extends AbstractStorageUsageRecord imp
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public Calendar getEndTimeAsCalendar() { public Calendar getEndTime() {
return super.getEndTimeAsCalendar(); return super.getEndTimeAsCalendar();
} }

View File

@ -63,7 +63,7 @@ public class AggregatedTaskUsageRecord extends AbstractTaskUsageRecord implement
*/ */
@Override @Override
public Calendar getStartTime() { public Calendar getStartTime() {
return getStartTimeAsCalendar(); return super.getStartTimeAsCalendar();
} }
/** /**
@ -78,8 +78,8 @@ public class AggregatedTaskUsageRecord extends AbstractTaskUsageRecord implement
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public Calendar getEndTimeAsCalendar() { public Calendar getEndTime() {
return getEndTimeAsCalendar(); return super.getEndTimeAsCalendar();
} }
/** /**

View File

@ -27,7 +27,7 @@ public interface AggregatedUsageRecord<T extends AggregatedUsageRecord<T, B>, B
public void setStartTime(Calendar startTime) throws InvalidValueException; public void setStartTime(Calendar startTime) throws InvalidValueException;
public Calendar getEndTimeAsCalendar(); public Calendar getEndTime();
public void setEndTime(Calendar endTime) throws InvalidValueException; public void setEndTime(Calendar endTime) throws InvalidValueException;