de.deepamehta.plugins.topicmaps.model
Class TopicViewmodel
java.lang.Object
de.deepamehta.core.model.DeepaMehtaObjectModel
de.deepamehta.core.model.TopicModel
de.deepamehta.plugins.topicmaps.model.TopicViewmodel
- All Implemented Interfaces:
- Identifiable, JSONEnabled, Cloneable
public class TopicViewmodel
- extends TopicModel
A topic viewmodel as contained in a topicmap viewmodel.
That is a generic topic model enriched by view properties ("x", "y", "visibility").
Methods inherited from class de.deepamehta.core.model.DeepaMehtaObjectModel |
equals, getCompositeValueModel, getId, getSimpleValue, getTypeUri, getUri, hashCode, set, setCompositeValue, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri |
viewProps
private CompositeValueModel viewProps
TopicViewmodel
TopicViewmodel(TopicModel topic,
CompositeValueModel viewProps)
toJSON
public JSONObject toJSON()
- Specified by:
toJSON
in interface JSONEnabled
- Overrides:
toJSON
in class DeepaMehtaObjectModel
getX
int getX()
getY
int getY()
Copyright © 2013. All Rights Reserved.