the tutorial say the following  : 

Person joe = new Person("Joe", "Walnes");
joe.setPhone(new PhoneNumber(123, "1234-456"));
joe.setFax(new PhoneNumber(123, "9999-999"));

and  I have tried with my data and get : 

<prop>
  <description>site date</description>
  <parent>NULL</parent>
  <virtual>1</virtual>
  <visible>0</visible>
  <picture>NULL</picture>
  <help>NULL</help>
  <min__no>1</min__no>
  <max__no>1</max__no>
  <name__format>09jk</name__format>
  <objType>siteData</objType>
</prop>

But I wanan change place of : <objType>siteData</objType>
to be located like this : 

<objType>siteData</objType>
 <prop>
  <description>site date</description>
  <parent>NULL</parent>
  <virtual>1</virtual>
  <visible>0</visible>
  <picture>NULL</picture>
  <help>NULL</help>
  <min__no>1</min__no>
  <max__no>1</max__no>
  <name__format>09jk</name__format>
 </prop>

How do I do that?



--
View this message in context: 
http://xstream.10960.n7.nabble.com/How-to-work-with-multiple-object-tp8670.html
Sent from the User mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to