1 /* 2 * Copyright (c) Patrick Magauran 2018. 3 * Licensed under the AGPLv3. All conditions of said license apply. 4 * This file is part of ABOS. 5 * 6 * ABOS is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU Affero General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * ABOS is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU Affero General Public License for more details. 15 * 16 * You should have received a copy of the GNU Affero General Public License 17 * along with ABOS. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 package Utilities; 21 22 public class cPoint { 23 24 private final String AddressM; 25 private final String CityM; 26 private final String StateM; 27 private final Double LatM; 28 private final Double LonM; 29 30 /** 31 * @param Lat Latitude 32 * @param Lon Longitude 33 * @param Address Street Address 34 * @param City City 35 * @param State State 36 */ 37 public cPoint(Double Lat, Double Lon, String Address, String City, String State) { 38 AddressM = Address; 39 LonM = Lon; 40 LatM = Lat; 41 CityM = City; 42 StateM = State; 43 44 } 45 46 /** 47 * @return The Latitude 48 */ 49 public Double getLat() { 50 return LatM; 51 } 52 53 // --Commented out by Inspection START (1/2/2016 12:01 PM): 54 // public void setLat(Double Lat) { 55 // LatM = Lat; 56 // } 57 // --Commented out by Inspection STOP (1/2/2016 12:01 PM) 58 59 /** 60 * @return The Longitude 61 */ 62 public Double getLon() { 63 return LonM; 64 } 65 66 // --Commented out by Inspection START (1/2/2016 12:01 PM): 67 // public void setLon(Double Lon) { 68 // LonM = Lon; 69 // } 70 // --Commented out by Inspection STOP (1/2/2016 12:01 PM) 71 72 /** 73 * @return The street Address 74 */ 75 public String getAddress() { 76 return AddressM; 77 } 78 79 /** 80 * @return The city 81 */ 82 public String getCity() { 83 return CityM; 84 } 85 86 /** 87 * @return The state 88 */ 89 public String getState() { 90 return StateM; 91 } 92 93 // --Commented out by Inspection START (1/2/2016 12:01 PM): 94 // public void setAddress(String Address) { 95 // AddressM = Address; 96 // } 97 // --Commented out by Inspection STOP (1/2/2016 12:01 PM) 98 }