On Mon, Oct 27, 2008 at 6:15 PM, Niclas Hedhman <[EMAIL PROTECTED]> wrote:

> On Mon, Oct 27, 2008 at 4:02 PM, Richard Wallace
> <[EMAIL PROTECTED]> wrote:
>
> > And that's great for initialization.  My biggest question when using a
> > private mixin still remains: How do you do a query for Cargo (or
> > CargoEntity) when all its state is stored in CargoState?
>
> One more thing on that;
>
> CargoState is not "something else" or "somewhere else", it is a
> fragment (private mixin) of the Cargo composite. Perhaps it is a "head
> thing" to get around thinking in other terms than Java objects.
> So your statement "when all its state is stored in CargoState", is
> very incorrect. In fact, CargoState is not the Java object referencing
> the Location instances either, that is most likely done by the
> AssociationMixin.
>

Ugh.  The obvious parallel that comes to mind is from the Matrix where
"there is no spoon".  With Qi4j you have to constantly remember there is no
object.  It is a lot to get over, especially when you're not in that mind
set all day.

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

Reply via email to