Modified Shop to work with transformation
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -2,8 +2,10 @@ package de.dis2017.data;
|
|||||||
|
|
||||||
public class Shop {
|
public class Shop {
|
||||||
private int _shopID;
|
private int _shopID;
|
||||||
private int _cityID;
|
|
||||||
private String _name;
|
private String _name;
|
||||||
|
private String _city;
|
||||||
|
private String _region;
|
||||||
|
private String _country;
|
||||||
|
|
||||||
public int get_shopID() {
|
public int get_shopID() {
|
||||||
return _shopID;
|
return _shopID;
|
||||||
@ -13,14 +15,6 @@ public class Shop {
|
|||||||
_shopID = shopID;
|
_shopID = shopID;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int get_cityID() {
|
|
||||||
return _cityID;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void set_cityID(int cityID) {
|
|
||||||
_cityID = cityID;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String get_name() {
|
public String get_name() {
|
||||||
return _name;
|
return _name;
|
||||||
}
|
}
|
||||||
@ -28,4 +22,28 @@ public class Shop {
|
|||||||
public void set_name(String name) {
|
public void set_name(String name) {
|
||||||
_name = name;
|
_name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String get_city() {
|
||||||
|
return _city;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void set_city(String _city) {
|
||||||
|
this._city = _city;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String get_region() {
|
||||||
|
return _region;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void set_region(String _region) {
|
||||||
|
this._region = _region;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String get_country() {
|
||||||
|
return _country;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void set_country(String _country) {
|
||||||
|
this._country = _country;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user