Class GeoLocationInfo

java.lang.Object
io.goobi.viewer.model.misc.GeoLocationInfo

public class GeoLocationInfo extends Object

GeoLocationInfo class.

Author:
Florian Alpers
  • Constructor Details

    • GeoLocationInfo

      public GeoLocationInfo()

      Constructor for GeoLocationInfo.

    • GeoLocationInfo

      public GeoLocationInfo(org.json.JSONObject json) throws org.json.JSONException

      Constructor for GeoLocationInfo.

      Parameters:
      json - a JSONObject object.
      Throws:
      org.json.JSONException - if any.
  • Method Details

    • getAsJson

      public org.json.JSONObject getAsJson()

      getAsJson.

      Returns:
      a JSONObject object.
    • getCenterLocation

      public GeoLocation getCenterLocation()

      Getter for the field centerLocation.

      Returns:
      the centerLocation
    • setCenterLocation

      public void setCenterLocation(GeoLocation centerLocation)

      Setter for the field centerLocation.

      Parameters:
      centerLocation - the centerLocation to set
    • getLocationList

      public List<GeoLocation> getLocationList()

      Getter for the field locationList.

      Returns:
      the locationList
    • setLocationList

      public void setLocationList(List<GeoLocation> locationList)

      Setter for the field locationList.

      Parameters:
      locationList - the locationList to set