Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How to read the xmi:id attribute in a UML model?
How to read the xmi:id attribute in a UML model? [message #626870] Tue, 12 August 2008 05:56
Swami is currently offline SwamiFriend
Messages: 6
Registered: July 2009
Junior Member
Hi, I am trying to parse a UML model created in RSA V7.x. I am using the
UML2 API to parse. Below is a snippet of the model -
...
<uml:Model xmi:id="_CZSzQCtuEd2YeLIXgEz5pg" name="Test Model">
...
<packagedElement xmi:type="uml:Interface"
xmi:id="_UbMKQCuhEd2ibIXNy_4Bag" name="Manage Test"/>
<packagedElement xmi:type="uml:Usage" xmi:id="_tAMUoCuiEd2mV4EVsZozLg"
supplier="_eBv_YCuiEd2mV4EVsZozLg" client="_ZshWcCugEd2ibIXNy_4Bag"/>
...

I am looking to read the 'id' attribute of elements within the model, for
instance the 'Model' element or the 'packagedElement' element above.
Looking through the UML2 API, there doesn't appear to be a way to do this.

Does someone know of a way to access these 'id' attributes?

Thanks & Cheers.
Previous Topic:Compatable UML Editors
Next Topic:How to read the xmi:id attribute in a UML model?
Goto Forum:
  


Current Time: Sun Apr 05 05:03:46 GMT 2020

Powered by FUDForum. Page generated in 0.01357 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top