public interface Assoc extends DMXObject
DMXObject
, that is either a Topic
or another
Assoc
.Modifier and Type | Method and Description |
---|---|
DMXObject |
getDMXObject1() |
DMXObject |
getDMXObject2() |
<O extends RelatedObject> |
getDMXObjectByRole(String roleTypeUri)
TODO: rename method to "getPlayerObjectByRole"
|
<O extends RelatedObject> |
getDMXObjectByType(String topicTypeUri)
TODO: rename method to "getPlayerObjectByType"
|
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.
|
int |
playerCount(String roleTypeUri) |
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
dump, toJSON
Player getPlayer1()
Player getPlayer2()
DMXObject getDMXObject1()
DMXObject getDMXObject2()
<O extends RelatedObject> O getDMXObjectByRole(String roleTypeUri)
If there are 2 such players an exception is thrown.
<O extends RelatedObject> O getDMXObjectByType(String topicTypeUri)
If there are 2 such topics an exception is thrown.
Player getPlayerByRole(String roleTypeUri)
int playerCount(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 © 2023. All Rights Reserved.