|
|
Re: Unique element ID before saving [message #900218 is a reply to message #891671] |
Sun, 05 August 2012 17:07 |
Tex Iano Messages: 99 Registered: February 2012 |
Member |
|
|
Hi,
I am still having problems with this point.
I am creating a UML model programmatically and I do not want to save it every time I change something. So I came to the conclusion that working on the resource is not a good idea.
However, sometimes on my UI I have to select a UML element etc. and have to transfer a unique identifier from my presentation layer to the business layer. What can I use as unique ID? As I wrote, my first thought was to use the name and its package location:
package1.package2.myClass
However in package2 several elements with the name "myClass" can exist. So: How can I identify a UML element within a model before it is saved? You said, I could assign an ID. But what kind of ID is it? The XMI ID? Is there no other way independent of XMI to reference an element?
Regards,
Tex
[Updated on: Sun, 05 August 2012 17:08] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03813 seconds