|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--roles.ObjectWithRoles | +--roles.ProxyObjectWithRoles
This class should be used by a framework class that is the root of a role hierarchy but cannot inherit from ObjectWithRoles.
Field Summary | |
protected java.lang.Object |
rolePlayer
Represents the instance of a framework class, for which an instance of this class acts as the proxy. |
Fields inherited from class roles.ObjectWithRoles |
qualifiedRoles,
roles |
Constructor Summary | |
protected |
ProxyObjectWithRoles()
It is forbidden to instantiate this class without specifying the real role player. |
|
ProxyObjectWithRoles(java.lang.Object rolePlayer)
This constructor establishes the proxy relationship between the proxy and the real role player. |
Method Summary | |
java.lang.Object |
getRolePlayer()
Returns the role player |
Methods inherited from class roles.ObjectWithRoles |
allAs,
as,
as,
cancelQualifiedRole,
cancelRole,
existsAs,
existsAs,
getRegisteredQualifiedRoleTypeNames,
getRegisteredRoleTypeNames,
getRoot,
isEntityEquivalentWith,
recordNewQualifiedRole,
recordNewRole |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.Object rolePlayer
Constructor Detail |
protected ProxyObjectWithRoles()
public ProxyObjectWithRoles(java.lang.Object rolePlayer)
Method Detail |
public java.lang.Object getRolePlayer()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |