ok...I made it. thank you...
Werner Guttmann wrote:
>
> Try to use a (nested) field mapping as follows within the Garage class.
>
> <field name="car.h" type="...">
> <bind-xml .../>
> </field>
>
> Regards
> Werner
>
> Cezaryyyy wrote:
>> Hi everyone. I have something like that :
>>
>> public class garage
>> {
>> private Car car;
>> private string j;
>> private int k;
>> }
>>
>> public class Car
>> {
>> private int h;
>> }
>>
>> i know how do like this using castor :
>> <root>
>> <garage>
>> <j>value</j>
>> <k>value</k>
>> <Car>
>> <h>value />
>> <Car>
>> </garage>
>> </root>
>>
>> It is possible to do something like this: and how ?
>> <root>
>> <garage>
>> <j>value</j>
>> <k>value</k>
>> <h>value</h>
>> </garage>
>> </root>
>>
>> Thanks for answer.greeting
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
--
View this message in context:
http://www.nabble.com/class-in-class-tf4807201.html#a13778440
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email