public abstract class RoleModel extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected long |
playerId |
protected String |
roleTypeUri |
Modifier | Constructor and Description |
---|---|
protected |
RoleModel() |
protected |
RoleModel(long playerId,
String roleTypeUri) |
Modifier and Type | Method and Description |
---|---|
RoleModel |
clone() |
long |
getPlayerId() |
String |
getRoleTypeUri() |
abstract boolean |
refsSameObject(RoleModel model)
Checks weather the given role model refers to the same object as this role model.
|
void |
setPlayerId(long playerId) |
void |
setRoleTypeUri(String roleTypeUri) |
abstract org.codehaus.jettison.json.JSONObject |
toJSON() |
protected long playerId
protected String roleTypeUri
protected RoleModel()
public long getPlayerId()
public final String getRoleTypeUri()
public void setPlayerId(long playerId)
public final void setRoleTypeUri(String roleTypeUri)
public abstract boolean refsSameObject(RoleModel model)
public abstract org.codehaus.jettison.json.JSONObject toJSON()
Copyright © 2015. All Rights Reserved.