fixing locationhierarchy
LocationBasedServices/mowesta/feature%2Fios%2Flocationsearch There was a failure building this commit
LocationBasedServices/mowesta/master There was a failure building this commit

This commit is contained in:
pobel
2020-01-04 17:45:29 +01:00
parent f33bf03249
commit 8f62cc8dc7
@@ -31,7 +31,7 @@ public class LocationHierarchy extends Location {
*/
@XmlElement(required = false)
@ApiModelProperty(value = "The parent of the location (country for states, country or state for cities, null for countries).", required = false)
private Location parent;
private LocationHierarchy parent;
/**
* Returns the type.
@@ -56,7 +56,7 @@ public class LocationHierarchy extends Location {
*
* @return The parent.
*/
public Location getParent() {
public LocationHierarchy getParent() {
return parent;
}
@@ -65,7 +65,7 @@ public class LocationHierarchy extends Location {
*
* @param parent The parent to set.
*/
public void setParent(Location parent) {
public void setParent(LocationHierarchy parent) {
this.parent = parent;
}