I think a field mapping similar to

<field name="person.name" type="string">
   <bind-xml name="Name" node="attribute" />
</field>

should do the trick.

Werner

sweex wrote:
> Hi!!!
> 
> It's me again with another question. 
> 
> I'm doing a mapping for X class. X class has a field of type Person where it
> is another field (name) who's get and set methods are getName and setName.
> Well, what I want to do is access from the mapping of X class the name
> field's get and set methods. Something like: 
> 
> \<class name=\"X\" \>
>    \<field name=\"Name\" type=... />
> \<\/class>
> 
> Thanks!!
> 
> Regards


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to