Book a Demo

Author Topic: How to change UML Nodes into Archimate 2 Nodes?  (Read 7772 times)

adepreter

  • EA User
  • **
  • Posts: 190
  • Karma: +10/-10
    • View Profile
How to change UML Nodes into Archimate 2 Nodes?
« on: July 06, 2012, 12:55:14 am »
We can set the stereotype of a UML Node to Archimate1 "Archimate_Node" but this is not what we want since Archimate 1 is legacy.

What we want is to set the UML Node stereotype to the Archimate2 "Archimate_Node".
But it does not work. The Archimate 2 profile does not appear in the drop-down list.
We could not find a way to apply Archimate2 profile to a UML Node.

Does anybody know?

Thanks

Alain
« Last Edit: July 06, 2012, 12:57:58 am by adepreter »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to change UML Nodes into Archimate 2 Nodes
« Reply #1 on: July 06, 2012, 01:17:51 am »
Unfortunately not so easy. You need to manually change the contents of a table (t_xref). Inside you will find a Description column with contens like
Quote
@STEREO;Name=ArchiMate_Node;FQName=Archimate::ArchiMate_Node;@ENDSTEREO;
You need to change these to
Code: [Select]
@STEREO;Name=ArchiMate_Node;FQName=Archimate2::ArchiMate_Node;@ENDSTEREO;which will change the Archi1 to Archi2 nodes. Similarly for other elements.


q.

[edit]: According what KP said below the type of the element in t_object must be changed from Node to Class too.
« Last Edit: July 06, 2012, 09:14:31 pm by qwerty »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: How to change UML Nodes into Archimate 2 Nodes
« Reply #2 on: July 06, 2012, 08:50:23 am »
Archimate 2 node extends UML::Class not UML::Node, so two choices:

1. Change type from Node to Class then apply Archimate 2 stereotype.
2. Apply Archimate 1 stereotype and run the migrator.

The Sparx Team
[email protected]