soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

generateID() is called when unserializing models from XMI #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently generateID() is inserted into the generated EMF code, allowing
all newly created elements to have an ID.

However, when loading an IAML model from disk, the same method (i.e.
createProperty()) is also called, thus the ID is generated twice.

While this is a very small performance issue, it should be resolved in the
future.

What steps will reproduce the problem?
1. Save an .iaml to disk
2. Start a debug session and place a breakpoint on
PropertyImpl.createProperty()
3. Load the .iaml model using the IAML diagram
4. Observe that createProperty() is being called during XMI unserialization

Original issue reported on code.google.com by soundasleep on 11 Mar 2010 at 5:32

GoogleCodeExporter commented 9 years ago
Of course, if this functionality is removed, then it will not be possible to
automatically re-insert IDs if they are lost with model elements, as in r1783.

Original comment by soundasleep on 31 Mar 2010 at 3:50

GoogleCodeExporter commented 9 years ago
moving all 0.6 issues to 0.7

Original comment by soundasleep on 17 Apr 2010 at 6:57

GoogleCodeExporter commented 9 years ago
mass tagging old issues to future work

Original comment by soundasleep on 26 Sep 2011 at 9:53