abstract class AttachedRole extends Object implements Role
Modifier and Type | Field and Description |
---|---|
private Association |
assoc |
protected EmbeddedService |
dms |
private RoleModel |
model |
Modifier | Constructor and Description |
---|---|
protected |
AttachedRole(RoleModel model,
Association assoc,
EmbeddedService dms) |
Modifier and Type | Method and Description |
---|---|
RoleModel |
getModel() |
long |
getPlayerId() |
String |
getRoleTypeUri() |
void |
setRoleTypeUri(String roleTypeUri) |
private void |
storeRoleTypeUri() |
org.codehaus.jettison.json.JSONObject |
toJSON() |
private Association assoc
protected final EmbeddedService dms
protected AttachedRole(RoleModel model, Association assoc, EmbeddedService dms)
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
private void storeRoleTypeUri()
Copyright © 2015. All Rights Reserved.