§Needed
a way to uniquely identify elements across resources
§
§Wanted
to minimize the impact on disk and memory footprint
§
§Implemented
a custom XMI resource (Uml2ResourceImpl) to assign and manage UUIDs
generated in base 64 format…
§overrode
ResourceImpl#getEObjectByID(String)
to retrieve objects from idToEObectMap
§overrode
XMLResourceImpl#getID(EObject)
to assign (and reassign) automatically generated UUIDs
§overrode ResourceImpl#detached(EObject) to
preserve IDs when objects (and their children) are detached from
resources