To further explain the unification of type and role into one entity, look t the example
below:
As is
| TaskService.addTaskRole(73, "123-CallHome", RoleType.USER,
"Heiko");
|
Could be
| TaskService.addTaskRole(73, "123-CallHome", new
UserAssociation("Heiko"));
|
with
|
| class UserAssocation extends/implements RoleAssociation
| {
| type = RoleType.USER;
| role;
| }
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210622#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...