On Thu, Jun 23, 2011 at 11:32 AM, Rickard Öberg <[email protected]> wrote:
> And one more: Property (get/set methods) now extends PropertyInfo.
> PropertyInfo only contains static information, apart from the builder case
> when it has slightly modified information (properties cannot be immutable).
> This could easily be access through the Qi4jSPI instead, by for example
> adding:
> Qi4jSPI.getPropertyInfo(property) -> PropertyInfo.
>
> This would cut down Property to only have the get/set methods, which is a
> great simplification I think, and opens up for doing wrappers more easily
> (to catch invocations in GUI's, for example).

YES!

An issue that is a little bit a sticking point, which would be great
to have a resolution for;

Association<Abc> abc();

REQUIRES that the containing type is an Entity. Could this be relaxed?
The only thing I can think of being an issue is whether the Visibility
rules will cause any problem in the type resolution on retrieval... I
think not, but devil in details...
The immutability of Value is still honored, since the Identity will be
used and not the pointed at entity.


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