On Nov 24, 2009, at 1:20 PM, Andrey Razumovsky wrote:
> Have you
> ever overridden DataObject.setToOneTarget()?
I did not, but I defined 3 different types of objects (ROP, POJO, JPA)
that don't use this approach for setting reverse relationship. So
that's what I mean by pluggable :-)
>
> Anyways, at the minimum, as i mentioned somewhere before, i'd like
> to see
> something helper like DataObjectUtils.readProperty(Persistent,
> String) for
> simple and unified access to DO's properties any any tier
Property p = ClassDescriptor.getProperty(String);
p.readProperty(Object);
p.readPropertyDirectly(Object);
Andrus
This archive was generated by hypermail 2.0.0 : Tue Nov 24 2009 - 06:29:25 EST