Book a Demo

Author Topic: Import cmof-file  (Read 6318 times)

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Import cmof-file
« on: March 04, 2020, 09:21:45 pm »
Hi,

I tried to import the BPMN-specification from https://www.omg.org/spec/BPMN/20100501/BPMN20.cmof into EA. This does not work.

I learned that a work-around is to import cmof into StarUML, export an XMI-file and import it into EA. But I cannot import the file into StarUML either.

Any suggestions? Maybe I did not understand the cmof-file, but it seems to contain the BPMN-model as XMI.

V.


Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Re: Import cmof-file
« Reply #1 on: March 05, 2020, 12:49:39 am »
From https://www.omg.org/ocup-2/documents/Meta-ModelingAndtheMOF.pdf:

"any UML modeling tool can be used to model metadata more easily".

I wonder, why these tools are not able to import mof-files and create the corresponding viewpoints.
« Last Edit: February 19, 2021, 02:27:14 am by Viking »

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Import cmof-file
« Reply #2 on: March 05, 2020, 11:42:35 am »
From https://www.omg.org/ocup-2/documents/Meta-ModelingAndtheMOF.pdf: "any UML modeling tool can be used to model metadata more easily".

I wonder, why these tools are not able to import mof-files and create the corresponding viewpoints.

In my experience OMG seems to hand-roll a lot of their files.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Import cmof-file
« Reply #3 on: March 05, 2020, 01:35:30 pm »
I can import the file by specifying that it is UML instead of CMOF.

ReplaceWith
xmlns:cmof="http://schema.omg.org/spec/MOF/2.0/cmof.xml"xmlns:uml="http://www.omg.org/spec/UML/20131001"
cmof:uml:

Yes, modeling of MOF is possible in EA and any tool that allows modeling of UML. Doesn't mean that the export/import functionality is identical.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Import cmof-file
« Reply #4 on: March 05, 2020, 06:05:51 pm »
I can import the file by specifying that it is UML instead of CMOF.

ReplaceWith
xmlns:cmof="http://schema.omg.org/spec/MOF/2.0/cmof.xml"xmlns:uml="http://www.omg.org/spec/UML/20131001"
cmof:uml:

Yes, modeling of MOF is possible in EA and any tool that allows modeling of UML. Doesn't mean that the export/import functionality is identical.
That works perfectly for me.
Thanks Eve

Geert

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Re: Import cmof-file
« Reply #5 on: March 06, 2020, 12:39:01 am »
I can import the file by specifying that it is UML instead of CMOF.

ReplaceWith
xmlns:cmof="http://schema.omg.org/spec/MOF/2.0/cmof.xml"xmlns:uml="http://www.omg.org/spec/UML/20131001"
cmof:uml:

Yes, modeling of MOF is possible in EA and any tool that allows modeling of UML. Doesn't mean that the export/import functionality is identical.

Many, many thanks, Eve. You saved my day.

I changed all cmof entries with uml. Is that correct?
« Last Edit: March 06, 2020, 12:41:37 am by Viking »