On Sun, Dec 12, 2010 at 5:01 PM, Rickard Öberg <[email protected]> wrote:

> It sort of depends on how you have implemented it. The way I would do it is
> to iterate over the value state, and for each property pull it from the
> entity. Then it should be no "misses", right?

That is not how the withState() functionality works. It calls the
StateHolder visitProperties() and on the call back set each property
being called-back.

Without leveraging that existing functionality (or change it), it is
more 'work' and code not being as straight forward.


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug

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

Reply via email to