Package be.gaudry.dao.brolmeter.dev
Class DevVehicleMeter
java.lang.Object
be.gaudry.dao.brolmeter.dev.DevVehicleMeter
- All Implemented Interfaces:
IMeter
- Since:
- 1.0 Sep 23, 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.int
saveMeasure(Measure measure)
do nothing for devint
do nothing for dev
-
Constructor Details
-
DevVehicleMeter
public DevVehicleMeter()
-
-
Method Details
-
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. -
getHouse
-
getDefaultHouse
- Specified by:
getDefaultHouse
in interfaceIMeter
-
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
-