Hi,
I have the following classes.
Class Period {
private Date startDate;
privae Date endDate;
}
Class Product {
private String name;
/**
store the manufacture date and expiry date of the
product
*/
private Period life;
}
Class Product {
private String name;
/**
store the manufacture date and expiry date of the
product
*/
private Period membership;
}
The xml structure is
<Strore>
<product>
<name>biscuits</name>
<manufacture-date>01-jul-05</manufacture-date>
<expiry-date>11-jul-05</expiry-date>
</product>
<customer>
<name>xxx</name>
<joining-date>01-jul-05</mdate>
<end-date>01-jul-06</edate>
</customer>
</store>
I want to define binding for the product and customer
such that the dates are mapped to the period.
Please help.
Thanks in advance.
Ruchik
__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users