Package systems.dmx.topicmaps
Class Topicmap
- java.lang.Object
-
- systems.dmx.topicmaps.Topicmap
-
- All Implemented Interfaces:
JSONEnabled
public class Topicmap extends Object implements JSONEnabled
A topicmap model: a collection of topics and associations plus their view properties.Features: - Serialization to JSON.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewAssoc
getAssoc(long id)
Iterable<ViewAssoc>
getAssocs()
long
getId()
ViewTopic
getTopic(long id)
Iterable<ViewTopic>
getTopics()
org.codehaus.jettison.json.JSONObject
toJSON()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump
-
-
-
-
Method Detail
-
getId
public long getId()
-
getTopic
public ViewTopic getTopic(long id)
-
getAssoc
public ViewAssoc getAssoc(long id)
-
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSON
in interfaceJSONEnabled
-
-