[Mobies-commit] [commit] r3886 - UDM/trunk/src/UdmDom

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Mon Sep 19 13:24:18 CDT 2011


Author: ksmyth
Date: Mon Sep 19 13:24:18 2011
New Revision: 3886

Log:
Set _id attribute. Users expect every element to have an id (for use with other xml tools)

Modified:
   UDM/trunk/src/UdmDom/UdmDom.cpp

Modified: UDM/trunk/src/UdmDom/UdmDom.cpp
==============================================================================
--- UDM/trunk/src/UdmDom/UdmDom.cpp	Thu Sep  8 15:59:22 2011	(r3885)
+++ UDM/trunk/src/UdmDom/UdmDom.cpp	Mon Sep 19 13:24:18 2011	(r3886)
@@ -2234,6 +2234,8 @@
 
 				//dep does not have at this moment an archetype!!!
 				dep->setParent(this, Uml::theOther(role), false);
+				// Set _id attribute. Users expect every element to have an id (for use with other xml tools)
+				dep->GetID();
 
 				
 				


More information about the Mobies-commit mailing list