class AssociationRoleModelImpl extends RoleModelImpl implements AssociationRoleModel
pl, playerId, roleTypeUri| Constructor and Description |
|---|
AssociationRoleModelImpl(long assocId,
String roleTypeUri,
PersistenceLayer pl) |
| Modifier and Type | Method and Description |
|---|---|
(package private) AssociationModelImpl |
getPlayer() |
(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() |
String |
toString() |
clone, getPlayerId, getRoleTypeUri, setPlayerId, setRoleTypeUriequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getPlayerId, getRoleTypeUri, setPlayerId, setRoleTypeUriAssociationRoleModelImpl(long assocId, String roleTypeUri, PersistenceLayer pl)
public boolean refsSameObject(RoleModel model)
RoleModelrefsSameObject in interface RoleModelpublic org.codehaus.jettison.json.JSONObject toJSON()
toJSON in interface JSONEnabledRole instantiate(AssociationModelImpl assoc)
instantiate in class RoleModelImplAssociationModelImpl getPlayer()
getPlayer in class RoleModelImplCopyright © 2016. All Rights Reserved.