class AssociationRoleModelImpl extends RoleModelImpl implements AssociationRoleModel
mf, pl, playerId, roleTypeUri| Constructor and Description |
|---|
AssociationRoleModelImpl(long assocId,
String roleTypeUri,
PersistenceLayer pl) |
| Modifier and Type | Method and Description |
|---|---|
(package private) RelatedAssociationModelImpl |
getPlayer(AssociationModelImpl assoc) |
(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 RoleModelImplassoc - the association this role is involved inRelatedAssociationModelImpl getPlayer(AssociationModelImpl assoc)
getPlayer in class RoleModelImplassoc - the association this role is involved inCopyright © 2017. All Rights Reserved.