49 lines
974 B
Java
49 lines
974 B
Java
package at.fhj.airkoality.model;
|
|
|
|
public class Location {
|
|
|
|
private String location;
|
|
private String city;
|
|
private String county;
|
|
|
|
|
|
public Location(String location, String city, String county) {
|
|
this.location = location;
|
|
this.city = city;
|
|
this.county = county;
|
|
}
|
|
|
|
public String getLocation() {
|
|
return location;
|
|
}
|
|
|
|
public void setLocation(String location) {
|
|
this.location = location;
|
|
}
|
|
|
|
public String getCity() {
|
|
return city;
|
|
}
|
|
|
|
public void setCity(String city) {
|
|
this.city = city;
|
|
}
|
|
|
|
public String getCounty() {
|
|
return county;
|
|
}
|
|
|
|
public void setCounty(String county) {
|
|
this.county = county;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Location{" +
|
|
"location='" + location + '\'' +
|
|
", city='" + city + '\'' +
|
|
", county='" + county + '\'' +
|
|
'}';
|
|
}
|
|
}
|