/Users/johnr/Dropbox/johnrayworth.info/largeFilesOutsideJSR/__IB-Other/Other/IA-Solutions-2019/Alex/Product/BeachPicker/src/com/hyltonboy/beachpicker/place/Place.java |
1
2
3
4
5
6 package com.hyltonboy.beachpicker.place;
7
8
9
10 @author
11
12 public class Place {
13 private String placeName;
14 private double latitude;
15 private double longitude;
16 private String infoLink;
17 private String mapLink;
18 private double distance;
19
20 public Place(String placeName, double latitude, double longitude, String infoLink, String mapLink, double distance) {
21 this.placeName = placeName;
22 this.latitude = latitude;
23 this.longitude = longitude;
24 this.infoLink = infoLink;
25 this.mapLink = mapLink;
26 this.distance = distance;
27 }
28
29 public double getDistance() {
30 return distance;
31 }
32
33 public void setDistance(double distance) {
34 this.distance = distance;
35 }
36
37
38
39 public String getPlaceName() {
40 return placeName;
41 }
42
43 public void setPlaceName(String placeName) {
44 this.placeName = placeName;
45 }
46
47 public double getLatitude() {
48 return latitude;
49 }
50
51 public void setLatitude(double latitude) {
52 this.latitude = latitude;
53 }
54
55 public double getLongitude() {
56 return longitude;
57 }
58
59 public void setLongitude(double longitude) {
60 this.longitude = longitude;
61 }
62
63 public String getInfoLink() {
64 return infoLink;
65 }
66
67 public void setInfoLink(String infoLink) {
68 this.infoLink = infoLink;
69 }
70
71 public String getMapLink() {
72 return mapLink;
73 }
74
75 public void setMapLink(String mapLink) {
76 this.mapLink = mapLink;
77 }
78
79
80 }
81