|
hello all,
I have a problem. I have a class with fields
speedreference, knots and fn. In mapping of this class, one of the fields knots
and fn can exist at one time. If the speedpreference==0, then I need that only
fn is marshalled, and in the other conditions knots will be
marshalled.
so, my marshalled document can look
like:
speedreference!=0 case
<myclass
knots="23.2"/>
and speedreference=0 case
<myclass fn="4.323"/>
How can I do this? I tried to find how to change
transient property of the fields, but I could not find something
useful.
Thanks in advance for help,
Sunay This e-mail contains confidential information for the exclusive attention of the intended addressee. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail by unintended recipients such as copying, distribution, disclosure etc. is prohibited and may be unlawful. When addressed to our clients the content of this e-mail is subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of this e-mail. GL's Group of Companies does not warrant and/or guarantee that this message at the moment of receipt is authentic, correct and its communication free of errors, interruption etc. |
Title: Nachricht
