1 package name.gumartinm.weather.information.model;
3 import java.io.Serializable;
7 public class WeatherLocation implements Serializable {
8 private static final long serialVersionUID = -1469725417020355109L;
11 private String country;
12 private boolean isSelected;
13 private double latitude;
14 private double longitude;
15 private Date lastCurrentUIUpdate;
16 private Date lastForecastUIUpdate;
17 private boolean isNew;
19 public WeatherLocation setId(int id) {
24 public WeatherLocation setCity(String city) {
29 public WeatherLocation setCountry(String country) {
30 this.country = country;
34 public WeatherLocation setIsSelected(boolean isSelected) {
35 this.isSelected = isSelected;
39 public WeatherLocation setLatitude(double latitude) {
40 this.latitude = latitude;
44 public WeatherLocation setLongitude(double longitude) {
45 this.longitude = longitude;
49 public WeatherLocation setLastCurrentUIUpdate(Date lastCurrentUIUpdate) {
50 this.lastCurrentUIUpdate = lastCurrentUIUpdate;
54 public WeatherLocation setLastForecastUIUpdate(Date lastForecastUIUpdate) {
55 this.lastForecastUIUpdate = lastForecastUIUpdate;
59 public WeatherLocation setIsNew(final boolean isNew) {
68 public String getCity() {
72 public String getCountry() {
76 public boolean getIsSelected() {
77 return this.isSelected;
80 public double getLatitude() {
84 public double getLongitude() {
85 return this.longitude;
88 public Date getLastCurrentUIUpdate() {
89 return this.lastCurrentUIUpdate;
92 public Date getLastForecastUIUpdate() {
93 return this.lastForecastUIUpdate;
96 public boolean getIsNew() {