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 TypeMethodDescriptionvoidaddItem(GeoMapFeatureItem item) booleanintgetCount()de.intranda.metadata.multilanguage.IMetadataValuemil.nga.sf.geojson.GeometrygetItems()getJson()org.json.JSONObjectdoublegetLink()doubleorg.json.JSONObjectgetProperties(org.json.JSONObject object) getProperty(String name) de.intranda.metadata.multilanguage.IMetadataValuegetTitle()inthashCode()voidsetCount(int count) voidsetDescription(de.intranda.metadata.multilanguage.IMetadataValue description) voidsetDocumentId(String documentId) voidsetFilterQuery(String filterQuery) voidsetItems(Collection<GeoMapFeatureItem> items) voidvoidvoidvoidsetProperty(String name, String value) voidsetTitle(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
-