class TopicRoleModelImpl extends RoleModelImpl implements TopicRoleModel
| Modifier and Type | Field and Description |
|---|---|
private boolean |
topicIdentifiedByUri |
private String |
topicUri |
mf, pl, playerId, roleTypeUri| Constructor and Description |
|---|
TopicRoleModelImpl(long topicId,
String roleTypeUri,
PersistenceLayer pl) |
TopicRoleModelImpl(String topicUri,
String roleTypeUri,
PersistenceLayer pl) |
| Modifier and Type | Method and Description |
|---|---|
(package private) RelatedTopicModelImpl |
getPlayer(AssociationModelImpl assoc) |
long |
getPlayerId() |
String |
getTopicUri() |
(package private) Role |
instantiate(AssociationModelImpl assoc) |
boolean |
refsSameObject(RoleModel model)
Checks weather the given role model refers to the same object as this role model.
|
org.codehaus.jettison.json.JSONObject |
toJSON() |
boolean |
topicIdentifiedByUri() |
clone, getRoleTypeUri, setPlayerId, setRoleTypeUri, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getRoleTypeUri, setPlayerId, setRoleTypeUriprivate boolean topicIdentifiedByUri
TopicRoleModelImpl(long topicId, String roleTypeUri, PersistenceLayer pl)
TopicRoleModelImpl(String topicUri, String roleTypeUri, PersistenceLayer pl)
public long getPlayerId()
getPlayerId in interface RoleModelgetPlayerId in class RoleModelImplpublic String getTopicUri()
getTopicUri in interface TopicRoleModelpublic boolean topicIdentifiedByUri()
topicIdentifiedByUri in interface TopicRoleModelpublic boolean refsSameObject(RoleModel model)
RoleModelrefsSameObject in interface RoleModelpublic org.codehaus.jettison.json.JSONObject toJSON()
toJSON in interface JSONEnabledRole instantiate(AssociationModelImpl assoc)
instantiate in class RoleModelImplassoc - the association this role is involved inRelatedTopicModelImpl getPlayer(AssociationModelImpl assoc)
getPlayer in class RoleModelImplassoc - the association this role is involved inCopyright © 2018. All Rights Reserved.