Package io.goobi.viewer.model.misc
Class GeoLocationInfo
java.lang.Object
io.goobi.viewer.model.misc.GeoLocationInfo
GeoLocationInfo class.
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for GeoLocationInfo.GeoLocationInfo(org.json.JSONObject json) Constructor for GeoLocationInfo. -
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObjectgetAsJson.Getter for the fieldcenterLocation.Getter for the fieldlocationList.voidsetCenterLocation(GeoLocation centerLocation) Setter for the fieldcenterLocation.voidsetLocationList(List<GeoLocation> locationList) Setter for the fieldlocationList.
-
Constructor Details
-
GeoLocationInfo
public GeoLocationInfo()Constructor for GeoLocationInfo.
-
GeoLocationInfo
public GeoLocationInfo(org.json.JSONObject json) throws org.json.JSONException Constructor for GeoLocationInfo.
- Parameters:
json- aJSONObjectobject.- Throws:
org.json.JSONException- if any.
-
-
Method Details
-
getAsJson
public org.json.JSONObject getAsJson()getAsJson.
- Returns:
- a
JSONObjectobject.
-
getCenterLocation
Getter for the field
centerLocation.- Returns:
- the centerLocation
-
setCenterLocation
Setter for the field
centerLocation.- Parameters:
centerLocation- the centerLocation to set
-
getLocationList
Getter for the field
locationList.- Returns:
- the locationList
-
setLocationList
Setter for the field
locationList.- Parameters:
locationList- the locationList to set
-