de.deepamehta.core.impl
Class AttachedRole

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.impl.AttachedRole
All Implemented Interfaces:
JSONEnabled, Role
Direct Known Subclasses:
AttachedAssociationRole, AttachedTopicRole

abstract class AttachedRole
extends Object
implements Role


Field Summary
private  Association assoc
           
protected  EmbeddedService dms
           
private  RoleModel model
           
 
Constructor Summary
protected AttachedRole(RoleModel model, Association assoc, EmbeddedService dms)
           
 
Method Summary
 Association getAssociation()
           
 RoleModel getModel()
           
 long getPlayerId()
           
 String getRoleTypeUri()
           
 void setRoleTypeUri(String roleTypeUri)
           
(package private) abstract  void storeRoleTypeUri()
           
 JSONObject toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private RoleModel model

assoc

private Association assoc

dms

protected final EmbeddedService dms
Constructor Detail

AttachedRole

protected AttachedRole(RoleModel model,
                       Association assoc,
                       EmbeddedService dms)
Method Detail

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.