public interface Assoc extends DMXObject
DMXObject
, that is either a Topic
or another
Assoc
.Modifier and Type | Method and Description |
---|---|
DMXObject |
getDMXObject1() |
DMXObject |
getDMXObject2() |
RelatedObject |
getDMXObjectByRole(String roleTypeUri) |
DMXObject |
getDMXObjectByType(String topicTypeUri)
TODO: return RelatedObject
|
AssocModel |
getModel() |
long |
getOtherPlayerId(long id) |
Player |
getPlayer1() |
Player |
getPlayer2() |
Player |
getPlayerByRole(String roleTypeUri) |
boolean |
hasSameRoleTypeUris() |
boolean |
matches(String roleTypeUri1,
long playerId1,
String roleTypeUri2,
long playerId2)
Checks if the given players match this association.
|
checkWriteAccess, delete, getAssoc, getAssocs, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedAssoc, getRelatedAssocs, getRelatedAssocs, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hasProperty, loadChildTopics, loadChildTopics, removeProperty, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, update, update, updateChildTopics
toJSON
Player getPlayer1()
Player getPlayer2()
DMXObject getDMXObject1()
DMXObject getDMXObject2()
RelatedObject getDMXObjectByRole(String roleTypeUri)
If there are 2 such players an exception is thrown.
DMXObject getDMXObjectByType(String topicTypeUri)
If there are 2 such topics an exception is thrown.
Player getPlayerByRole(String roleTypeUri)
boolean hasSameRoleTypeUris()
boolean matches(String roleTypeUri1, long playerId1, String roleTypeUri2, long playerId2)
IllegalArgumentException
- if both given role type URIs are identical.long getOtherPlayerId(long id)
AssocModel getModel()
Copyright © 2020. All Rights Reserved.