Quoting Rickard Öberg <[email protected]>:

If that's what you want to do, then you could consider using extended composites instead.

Basically, you could have one composite for query like so:
interface QueryableDomainEntity
  extends SomeQueryRole, EntityComposite
{}


Come to think about it, is it possible to make those roles extend just "Composite" instead of "EntityComposite" or any other types of composites? But I guess you couldn't add them to assembly then, could you?


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

Reply via email to