de.deepamehta.core.model
Class RelatedTopicModel

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.model.DeepaMehtaObjectModel
      extended by de.deepamehta.core.model.TopicModel
          extended by de.deepamehta.core.model.RelatedTopicModel
All Implemented Interfaces:
Identifiable, JSONEnabled, Cloneable

public class RelatedTopicModel
extends TopicModel


Field Summary
private  AssociationModel relatingAssoc
           
 
Fields inherited from class de.deepamehta.core.model.DeepaMehtaObjectModel
childTopics, id, typeUri, uri, value
 
Constructor Summary
RelatedTopicModel(TopicModel topic, AssociationModel relatingAssoc)
           
 
Method Summary
 AssociationModel getRelatingAssociation()
           
 JSONObject toJSON()
           
 String toString()
           
 
Methods inherited from class de.deepamehta.core.model.TopicModel
clone, createRoleModel
 
Methods inherited from class de.deepamehta.core.model.DeepaMehtaObjectModel
equals, getChildTopicsModel, getId, getSimpleValue, getTypeUri, getUri, hashCode, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

relatingAssoc

private AssociationModel relatingAssoc
Constructor Detail

RelatedTopicModel

public RelatedTopicModel(TopicModel topic,
                         AssociationModel relatingAssoc)
Method Detail

getRelatingAssociation

public AssociationModel getRelatingAssociation()

toJSON

public JSONObject toJSON()
Specified by:
toJSON in interface JSONEnabled
Overrides:
toJSON in class DeepaMehtaObjectModel

toString

public String toString()
Overrides:
toString in class TopicModel


Copyright © 2015. All Rights Reserved.