de.kiezatlas
Class GroupedGeoObjects
java.lang.Object
de.kiezatlas.GroupedGeoObjects
- All Implemented Interfaces:
- JSONEnabled
public class GroupedGeoObjects
- extends Object
- implements JSONEnabled
A collection of Geo Objects as returned by the Kiezatlas service (a data transfer object).
The Geo Objects are grouped by category, then grouped by criteria.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
json
private org.codehaus.jettison.json.JSONObject json
criteriaResult
private org.codehaus.jettison.json.JSONArray criteriaResult
categoriesResult
private org.codehaus.jettison.json.JSONArray categoriesResult
currentCriteriaId
private long currentCriteriaId
GroupedGeoObjects
GroupedGeoObjects(long clock)
add
void add(Topic criteria,
Topic category,
List<RelatedTopic> geoObjects)
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSON
in interface JSONEnabled
Copyright © 2014. All Rights Reserved.