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 assocDefUri) |
void |
update(AssociationModel model) |
delete, getAssociation, getAssociations, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedAssociation, getRelatedAssociations, getRelatedTopic, getRelatedTopics, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, 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)
void update(AssociationModel model)
Association loadChildTopics()
loadChildTopics in interface DeepaMehtaObjectAssociation loadChildTopics(String assocDefUri)
loadChildTopics in interface DeepaMehtaObjectAssociationModel getModel()
getModel in interface DeepaMehtaObjectCopyright © 2016. All Rights Reserved.