Niclas Hedhman wrote:
On Mon, Apr 6, 2009 at 11:09 AM, Rickard Öberg <[email protected]> wrote:
Hey,

In UnitOfWork, since there is no longer any "getReference" (as all
EntityInstance has to have an EntityState), it doesn't make sense to let the
remaining method be "find", so I have renamed it to "get". In other words:

UnitOfWork uow = ...;
Developer developer = uow.get("123", Developer.class);

Yes.
And may I suggest swapping the order of the arguments?? Why?

It falls nicely in the English communications; "Get Developer 123"

Excellent suggestion. Done.

/Rickard


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

Reply via email to