de.deepamehta.core.impl
Class AttachedRole
java.lang.Object
de.deepamehta.core.impl.AttachedRole
- All Implemented Interfaces:
- JSONEnabled, Role
- Direct Known Subclasses:
- AttachedAssociationRole, AttachedTopicRole
abstract class AttachedRole
- extends Object
- implements Role
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
private RoleModel model
assoc
private Association assoc
dms
protected final EmbeddedService dms
AttachedRole
protected AttachedRole(RoleModel model,
Association assoc,
EmbeddedService dms)
getPlayerId
public long getPlayerId()
- Specified by:
getPlayerId
in interface Role
getRoleTypeUri
public String getRoleTypeUri()
- Specified by:
getRoleTypeUri
in interface Role
setRoleTypeUri
public void setRoleTypeUri(String roleTypeUri)
- Specified by:
setRoleTypeUri
in interface Role
getAssociation
public Association getAssociation()
- Specified by:
getAssociation
in interface Role
getModel
public RoleModel getModel()
- Specified by:
getModel
in interface Role
toJSON
public JSONObject toJSON()
- Specified by:
toJSON
in interface JSONEnabled
storeRoleTypeUri
abstract void storeRoleTypeUri()
Copyright © 2013. All Rights Reserved.