de.kiezatlas
Class GroupedGeoObjects

Show UML class diagram
java.lang.Object
  extended by 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.


Field Summary
private  org.codehaus.jettison.json.JSONArray categoriesResult
           
private  org.codehaus.jettison.json.JSONArray criteriaResult
           
private  long currentCriteriaId
           
private  org.codehaus.jettison.json.JSONObject json
           
 
Constructor Summary
GroupedGeoObjects(long clock)
           
 
Method Summary
(package private)  void add(Topic criteria, Topic category, List<RelatedTopic> geoObjects)
           
 org.codehaus.jettison.json.JSONObject toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

GroupedGeoObjects

GroupedGeoObjects(long clock)
Method Detail

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.