Quoting Rickard Öberg <[email protected]>:

Will roles be able to hold another roles in them?

If you follow DCI there will be no point in doing that. Roles will be referencing mixins from the main domain entity, using @This.


As I understood correctly from looking at latest commit new tests, even thought the DomainEntityComposite is not extending the role interfaces directly, you still have to do the direct cast on it?

I guess i should rephrase that question: what kind of access control is available to roles? I mean specifying which roles are exposed through some role. Or is any role castable into any other role at any time? That would at least invalidate to use roles for immutable query -type of roles, as one could just cast the immutable query role into mutable one.


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to