public interface Association extends DeepaMehtaObject
| Modifier and Type | Method and Description |
|---|---|
AssociationModel |
getModel() |
DeepaMehtaObject |
getPlayer1() |
DeepaMehtaObject |
getPlayer2() |
Role |
getRole(RoleModel roleModel)
Returns this association's role which refers to the same object as the given role model.
|
Role |
getRole1() |
Role |
getRole2() |
Topic |
getTopic(String roleTypeUri) |
Topic |
getTopicByType(String topicTypeUri) |
boolean |
isPlayer(TopicRoleModel roleModel) |
Association |
loadChildTopics() |
Association |
loadChildTopics(String childTypeUri) |
void |
update(AssociationModel model) |
delete, getAssociation, getAssociations, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedAssociation, getRelatedAssociations, getRelatedTopic, getRelatedTopics, getRelatedTopics, getRelatedTopics, getSimpleValue, getTypeUri, getUri, hasProperty, removeProperty, setChildTopics, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, update, updateChildTopic, updateChildTopicstoJSONDeepaMehtaObject getPlayer1()
DeepaMehtaObject getPlayer2()
Topic getTopicByType(String topicTypeUri)
Role getRole(RoleModel roleModel)
If the object refered by the given role model is not a player in this association an exception is thrown.
boolean isPlayer(TopicRoleModel roleModel)
Association loadChildTopics()
loadChildTopics in interface DeepaMehtaObjectAssociation loadChildTopics(String childTypeUri)
loadChildTopics in interface DeepaMehtaObjectAssociationModel getModel()
getModel in interface DeepaMehtaObjectvoid update(AssociationModel model)
Copyright © 2015. All Rights Reserved.