abstract class RoleImpl extends Object implements Role
Modifier and Type | Field and Description |
---|---|
(package private) AssociationModelImpl |
assoc |
(package private) RoleModelImpl |
model |
Constructor and Description |
---|
RoleImpl(RoleModelImpl model,
AssociationModelImpl assoc) |
Modifier and Type | Method and Description |
---|---|
RoleModel |
getModel() |
DMXObject |
getPlayer() |
long |
getPlayerId() |
String |
getRoleTypeUri() |
void |
setRoleTypeUri(String roleTypeUri) |
org.codehaus.jettison.json.JSONObject |
toJSON() |
RoleModelImpl model
AssociationModelImpl assoc
RoleImpl(RoleModelImpl model, AssociationModelImpl assoc)
public String getRoleTypeUri()
getRoleTypeUri
in interface Role
public long getPlayerId()
getPlayerId
in interface Role
public void setRoleTypeUri(String roleTypeUri)
setRoleTypeUri
in interface Role
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON
in interface JSONEnabled
Copyright © 2018. All Rights Reserved.