Package be.gaudry.dao.brolmeter.dev
Class DevMeter
java.lang.Object
be.gaudry.dao.brolmeter.dev.DevMeter
- All Implemented Interfaces:
IMeter
- Since:
- 1.0 Mar 15, 2009
- Author:
- Steph GAUDRY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHouse(int id)
loadMeter(int meterId)
Loads measures for a given meter identifier and a given year.loadMeter(int meterId, int year)
Loads measures for a given meter identifier and a given year.static void
int
saveMeasure(Measure measure)
do nothing for devint
do nothing for dev
-
Constructor Details
-
DevMeter
public DevMeter()
-
-
Method Details
-
getHouse
-
getDefaultHouse
- Specified by:
getDefaultHouse
in interfaceIMeter
-
loadMeter
Description copied from interface:IMeter
Loads measures for a given meter identifier and a given year. -
loadMeter
Description copied from interface:IMeter
Loads measures for a given meter identifier and a given year.
Only measures matching the given year are loaded, and the first measure of the following month. The first measure of the following month is needed to compute consumption of the last month of the given year. -
saveMeter
do nothing for dev -
saveMeasure
do nothing for dev- Specified by:
saveMeasure
in interfaceIMeter
- Parameters:
measure
- to save- Returns:
- measure id
- Throws:
javax.transaction.NotSupportedException
-
main
-