abstract class RoleModelImpl extends Object implements RoleModel
Modifier and Type | Field and Description |
---|---|
(package private) ModelFactoryImpl |
mf |
(package private) PersistenceLayer |
pl |
(package private) long |
playerId |
(package private) String |
roleTypeUri |
Constructor and Description |
---|
RoleModelImpl() |
RoleModelImpl(long playerId,
String roleTypeUri,
PersistenceLayer pl) |
Modifier and Type | Method and Description |
---|---|
RoleModel |
clone() |
(package private) abstract DMXObjectModelImpl |
getPlayer(AssociationModelImpl assoc) |
long |
getPlayerId() |
String |
getRoleTypeUri() |
(package private) abstract Role |
instantiate(AssociationModelImpl assoc) |
void |
setPlayerId(long playerId) |
void |
setRoleTypeUri(String roleTypeUri) |
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
refsSameObject
toJSON
long playerId
String roleTypeUri
RoleModelImpl()
RoleModelImpl(long playerId, String roleTypeUri, PersistenceLayer pl)
public long getPlayerId()
getPlayerId
in interface RoleModel
public final String getRoleTypeUri()
getRoleTypeUri
in interface RoleModel
public void setPlayerId(long playerId)
setPlayerId
in interface RoleModel
public final void setRoleTypeUri(String roleTypeUri)
setRoleTypeUri
in interface RoleModel
abstract Role instantiate(AssociationModelImpl assoc)
assoc
- the association this role is involved inabstract DMXObjectModelImpl getPlayer(AssociationModelImpl assoc)
assoc
- the association this role is involved inCopyright © 2018. All Rights Reserved.