de.deepamehta.core
Interface Topic

Show UML class diagram
All Superinterfaces:
DeepaMehtaObject, Identifiable, JSONEnabled
All Known Subinterfaces:
AssociationType, RelatedTopic, TopicType, Type
All Known Implementing Classes:
AttachedAssociationType, AttachedRelatedTopic, AttachedTopic, AttachedTopicType, AttachedType

public interface Topic
extends DeepaMehtaObject

Specification of a topic -- DeepaMehta's central data object.

Author:
Jörg Richter

Method Summary
 TopicModel getModel()
           
 RelatedAssociation getRelatedAssociation(String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri, boolean fetchComposite, boolean fetchRelatingComposite)
           
 List<RelatedAssociation> getRelatedAssociations(String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri, boolean fetchComposite, boolean fetchRelatingComposite)
           
 void update(TopicModel model, ClientState clientState, Directives directives)
           
 
Methods inherited from interface de.deepamehta.core.DeepaMehtaObject
delete, getAssociation, getAssociations, getCompositeValue, getId, getProperty, getRelatedTopic, getRelatedTopics, getRelatedTopics, getRelatedTopics, getSimpleValue, getTypeUri, getUri, hasProperty, loadChildTopics, removeProperty, setCompositeValue, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, update, updateChildTopic, updateChildTopics
 
Methods inherited from interface de.deepamehta.core.JSONEnabled
toJSON
 

Method Detail

getModel

TopicModel getModel()
Specified by:
getModel in interface DeepaMehtaObject

update

void update(TopicModel model,
            ClientState clientState,
            Directives directives)

getRelatedAssociation

RelatedAssociation getRelatedAssociation(String assocTypeUri,
                                         String myRoleTypeUri,
                                         String othersRoleTypeUri,
                                         String othersAssocTypeUri,
                                         boolean fetchComposite,
                                         boolean fetchRelatingComposite)
Parameters:
assocTypeUri - may be null
myRoleTypeUri - may be null
othersRoleTypeUri - may be null
othersAssocTypeUri - may be null

getRelatedAssociations

List<RelatedAssociation> getRelatedAssociations(String assocTypeUri,
                                                String myRoleTypeUri,
                                                String othersRoleTypeUri,
                                                String othersAssocTypeUri,
                                                boolean fetchComposite,
                                                boolean fetchRelatingComposite)
Parameters:
assocTypeUri - may be null
myRoleTypeUri - may be null
othersRoleTypeUri - may be null
othersAssocTypeUri - may be null


Copyright © 2013. All Rights Reserved.