de.deepamehta.core
Interface AssociationDefinition

Show UML class diagram
All Superinterfaces:
Association, DeepaMehtaObject, Identifiable, JSONEnabled
All Known Implementing Classes:
AttachedAssociationDefinition

public interface AssociationDefinition
extends Association

Definition of an association between 2 topic types -- part of DeepaMehta's type system, like an association in a class diagram. Used to represent both, aggregations and compositions.

Author:
Jörg Richter

Method Summary
 String getChildCardinalityUri()
           
 String getChildTypeUri()
           
 String getInstanceLevelAssocTypeUri()
           
 AssociationDefinitionModel getModel()
           
 String getParentCardinalityUri()
           
 String getParentTypeUri()
           
 ViewConfiguration getViewConfig()
           
 void setChildCardinalityUri(String childCardinalityUri, ClientState clientState, Directives directives)
           
 void setParentCardinalityUri(String parentCardinalityUri, ClientState clientState, Directives directives)
           
 void update(AssociationDefinitionModel model, ClientState clientState, Directives directives)
           
 
Methods inherited from interface de.deepamehta.core.Association
getRelatedAssociation, getRole, getRole1, getRole2, getTopic, getTopics, isPlayer, update
 
Methods inherited from interface de.deepamehta.core.DeepaMehtaObject
delete, getAssociation, getAssociations, getCompositeValue, getId, getProperty, getRelatedTopic, getRelatedTopics, getRelatedTopics, getRelatedTopics, getSimpleValue, getTypeUri, getUri, hasProperty, loadChildTopics, 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

getInstanceLevelAssocTypeUri

String getInstanceLevelAssocTypeUri()

getParentTypeUri

String getParentTypeUri()

getChildTypeUri

String getChildTypeUri()

getParentCardinalityUri

String getParentCardinalityUri()

getChildCardinalityUri

String getChildCardinalityUri()

getViewConfig

ViewConfiguration getViewConfig()

getModel

AssociationDefinitionModel getModel()
Specified by:
getModel in interface Association
Specified by:
getModel in interface DeepaMehtaObject

setParentCardinalityUri

void setParentCardinalityUri(String parentCardinalityUri,
                             ClientState clientState,
                             Directives directives)

setChildCardinalityUri

void setChildCardinalityUri(String childCardinalityUri,
                            ClientState clientState,
                            Directives directives)

update

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


Copyright © 2014. All Rights Reserved.