Package io.goobi.viewer.model.maps
Class GeoMapFeature
java.lang.Object
io.goobi.viewer.model.maps.GeoMapFeature
- Author:
- florian
-
Constructor Summary
ConstructorsConstructorDescriptionGeoMapFeature
(mil.nga.sf.geojson.Feature feature) GeoMapFeature
(mil.nga.sf.geojson.Geometry geometry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addItem
(GeoMapFeatureItem item) boolean
int
getCount()
de.intranda.metadata.multilanguage.IMetadataValue
mil.nga.sf.geojson.Geometry
getItems()
getJson()
org.json.JSONObject
double
getLink()
double
org.json.JSONObject
getProperties
(org.json.JSONObject object) getProperty
(String name) de.intranda.metadata.multilanguage.IMetadataValue
getTitle()
int
hashCode()
void
setCount
(int count) void
setDescription
(de.intranda.metadata.multilanguage.IMetadataValue description) void
setDocumentId
(String documentId) void
setFilterQuery
(String filterQuery) void
setItems
(Collection<GeoMapFeatureItem> items) void
void
void
void
setProperty
(String name, String value) void
setTitle
(de.intranda.metadata.multilanguage.IMetadataValue title) toString()
-
Constructor Details
-
GeoMapFeature
public GeoMapFeature() -
GeoMapFeature
public GeoMapFeature(mil.nga.sf.geojson.Feature feature) -
GeoMapFeature
public GeoMapFeature(mil.nga.sf.geojson.Geometry geometry)
-
-
Method Details
-
getTitle
public de.intranda.metadata.multilanguage.IMetadataValue getTitle()- Returns:
- the title
-
setTitle
public void setTitle(de.intranda.metadata.multilanguage.IMetadataValue title) - Parameters:
title
- the title to set
-
getDescription
public de.intranda.metadata.multilanguage.IMetadataValue getDescription()- Returns:
- the description
-
setDescription
public void setDescription(de.intranda.metadata.multilanguage.IMetadataValue description) - Parameters:
description
- the description to set
-
getLink
- Returns:
- the link
-
setLink
- Parameters:
link
- the link to set
-
getFilterQuery
-
setFilterQuery
-
setDocumentId
- Parameters:
documentId
- the documentId to set
-
getDocumentId
- Returns:
- the documentId
-
getPageNo
-
setPageNo
-
getJson
- Returns:
- the json
-
setJson
- Parameters:
json
- the json to set
-
getCount
public int getCount()- Returns:
- the count
-
setCount
public void setCount(int count) - Parameters:
count
- the count to set
-
getItems
-
setItems
-
addItem
-
getGeometry
public mil.nga.sf.geojson.Geometry getGeometry() -
getLatitude
public double getLatitude() -
getLongitude
public double getLongitude() -
getJsonObject
public org.json.JSONObject getJsonObject() -
getProperties
public org.json.JSONObject getProperties(org.json.JSONObject object) -
hashCode
public int hashCode() -
equals
-
toString
-
setProperty
-
getProperty
-
getProperties
-