Book a Demo

Author Topic: The EAID in the XMI file  (Read 4262 times)

jfm007

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
The EAID in the XMI file
« on: January 22, 2013, 11:33:12 am »
In the XMI, there are attributes which contains GUID, such as xmi.id="MX_EAID_3EB21908_0196_474f_91C5_6733531C0AF4". Just want to know how the "3EB21908_0196_474f_91C5_6733531C0AF4" gets generated.

I am sure it is not the ea_guid in the database. But it has to have some connection with it. Just want to know the algorithm behinds that.  

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: The EAID in the XMI file
« Reply #1 on: January 22, 2013, 06:41:09 pm »
Now if you post both the xmi guid and the ea_guid from the database we could maybe say something about it.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: The EAID in the XMI file
« Reply #2 on: January 22, 2013, 11:29:34 pm »
GUIDs are generated by public algorithms (also in EA). You'll find them in the Windoze libs or that of the language you prefer. The format in the database and the XMI differs in that the XMI often has a prefix and it uses underscore instead of dash. Further the database GUIDs are surrounded by curly brackets.

q.

jfm007

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: The EAID in the XMI file
« Reply #3 on: January 23, 2013, 10:37:59 am »
My bad, the GUID in xmi is the same as the GUID in database. I wasn't able to find them, because when I query the database with GUID, I couldn't find them.

Thanks for the reply anyway.