fixing locationhierarchy
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user