Thanks! The trick worked!!



Werner Guttmann wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Mapping-XML---access-directly-a-field-is-not-in-the-mapping%27s-class-tf3963598.html#a11282702
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email

Reply via email to