Not sure but is would seem like this post got lost or
hasn't been answered. Any status on this? Comments?

Thanks,

Marcus


Note: forwarded message attached.

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--- Begin Message ---
If I have the following XML:

<A>
  <B>
    <C/>
  </B>
</A>

This will map to classes A, B & C, respectively. This
is easy enough if the objects are �standard�; however,
what happens if the only way to get to object C is via
an accessor on object B that takes an instance of A.
Something like this:

  aB.getC(aA)

It would be extremely helpful if Castor mapping
provided a way to pass arguments into a getter that
referenced a parent (grand-parent � etc) node�s
object. In the example above, I want the ability to
refer to the object that represents node A and pass
that along to the getter for C defined in object B.

This may already be available using 0.9.5.2, but I
don�t see it. So, I guess my first question is, can I
do something like this? If not, does this sound like a
reasonable feature request (reasonable being �
addressable in the near future).

Thanks,

Marcus

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

--- End Message ---

Reply via email to