cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gentry, Michael \(Contractor\)" <michael_gen...@fanniemae.com>
Subject RE: writeNestedProperty
Date Thu, 29 Jun 2006 13:45:36 GMT
I'd think it would be fairly easy to write this, but what do you do if
the last item in the path returns a List of objects instead of a single
object?  Apply the value to all of them or throw an exception?

/dev/mrg

-----Original Message-----
From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
Sent: Thursday, June 29, 2006 9:32 AM
To: cayenne-user@incubator.apache.org
Subject: Re: writeNestedProperty


Hi Andrew,

No, unfortunately there's none. Should be easy to add via a custom  
wedge class sitting between CayenneDataObject and your own class  
(configurable in the Modeler)

Andrus

On Jun 29, 2006, at 1:58 PM, apl@lindesay.co.nz wrote:

> Hello;
>
> Can I ask if there's something like 'takeValueForKeyPath(...)' from  
> KVC that can be used with 'DataObject'?  I was looking for a  
> 'writeNestedProperty', but couldn't see it.
>
> Regards;
>
> ___
> Andrew Lindesay
> www.lindesay.co.nz
>
>
>
>


Mime
View raw message