public class TopicmapViewmodel extends Object implements de.deepamehta.core.JSONEnabled
Features: - Serialization to JSON.
| Modifier and Type | Class and Description |
|---|---|
class |
TopicmapViewmodel.GridPositioning |
| Constructor and Description |
|---|
TopicmapViewmodel(de.deepamehta.core.model.TopicModel topicmapTopic,
Map<Long,de.deepamehta.core.model.topicmaps.TopicViewModel> topics,
Map<Long,de.deepamehta.core.model.topicmaps.AssociationViewModel> assocs) |
| Modifier and Type | Method and Description |
|---|---|
de.deepamehta.core.model.topicmaps.AssociationViewModel |
getAssociation(long id) |
Iterable<de.deepamehta.core.model.topicmaps.AssociationViewModel> |
getAssociations() |
long |
getId() |
de.deepamehta.core.model.topicmaps.TopicViewModel |
getTopic(long id) |
Iterable<de.deepamehta.core.model.topicmaps.TopicViewModel> |
getTopics() |
org.codehaus.jettison.json.JSONObject |
toJSON() |
String |
toString() |
public long getId()
public Iterable<de.deepamehta.core.model.topicmaps.TopicViewModel> getTopics()
public Iterable<de.deepamehta.core.model.topicmaps.AssociationViewModel> getAssociations()
public de.deepamehta.core.model.topicmaps.TopicViewModel getTopic(long id)
public de.deepamehta.core.model.topicmaps.AssociationViewModel getAssociation(long id)
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON in interface de.deepamehta.core.JSONEnabledCopyright © 2017. All rights reserved.