15 |
import dk.daoas.adressevedligehold.beans.Address.AddressState; |
import dk.daoas.adressevedligehold.beans.Address.AddressState; |
16 |
import dk.daoas.adressevedligehold.util.TimingHelper; |
import dk.daoas.adressevedligehold.util.TimingHelper; |
17 |
|
|
18 |
|
/* |
19 |
|
* TODO: detail rapport pr postnr |
20 |
|
* TODO: ved mangel oversigten - skeln mellem om det er nye/CREATED eller om det er gamle kendte adresser |
21 |
|
*/ |
22 |
|
|
23 |
public class AddressReport { |
public class AddressReport { |
24 |
|
|
25 |
class NumEntry { |
class NumEntry { |
133 |
HashMap<Short, WeekEntry> postnrEntries = new HashMap<Short,WeekEntry>(); |
HashMap<Short, WeekEntry> postnrEntries = new HashMap<Short,WeekEntry>(); |
134 |
|
|
135 |
|
|
136 |
|
int antalUdenKommunekodeNy = 0; |
137 |
int antalUdenKommunekode = 0; |
int antalUdenKommunekode = 0; |
138 |
int antalUdenLatitude = 0; |
int antalUdenLatitude = 0; |
139 |
int antalUdenDBKBane = 0; |
int antalUdenDBKBane = 0; |
141 |
// first gather the intel |
// first gather the intel |
142 |
for (Address a : addressList) { |
for (Address a : addressList) { |
143 |
if (a.kommunekode == 0 || a.vejkode == 0) { |
if (a.kommunekode == 0 || a.vejkode == 0) { |
144 |
|
if (a.state == AddressState.CREATED) { |
145 |
|
antalUdenKommunekodeNy++; |
146 |
|
} |
147 |
|
|
148 |
antalUdenKommunekode++; |
antalUdenKommunekode++; |
149 |
} |
} |
150 |
|
|