/[projects]/dao/DaoAdresseService/src/dk/daoas/daoadresseservice/beans/SearchResult.java
ViewVC logotype

Annotation of /dao/DaoAdresseService/src/dk/daoas/daoadresseservice/beans/SearchResult.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2301 - (hide annotations) (download)
Sun Feb 15 16:09:11 2015 UTC (9 years, 3 months ago) by torben
File size: 556 byte(s)
Implement OpenStretMap helper
1 torben 2282 package dk.daoas.daoadresseservice.beans;
2 torben 2274
3 torben 2282
4 torben 2274 public class SearchResult {
5    
6     public enum Status {
7     STATUS_OK,
8 torben 2276 STATUS_NOT_COVERED,
9 torben 2274 ERROR_UNKNOWN_POSTAL,
10     ERROR_UNKNOWN_STREETNAME,
11     ERROR_UNKNOWN_ADDRESSPOINT,
12 torben 2276 ERROR_MISSING_HOUSENUMBER,
13 torben 2274 }
14    
15 torben 2282 public Status status;
16     public Address address;
17 torben 2292 public boolean google = false;
18 torben 2301 public boolean osm = false;
19 torben 2274
20    
21     public SearchResult(Status status) {
22     this.status = status;
23     }
24    
25     public SearchResult(Address a) {
26     this.status = Status.STATUS_OK;
27     this.address = a;
28     }
29    
30    
31     }

  ViewVC Help
Powered by ViewVC 1.1.20