Book a Demo

Author Topic: New UML type  (Read 4780 times)

Edward G

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
New UML type
« on: March 27, 2014, 05:09:05 am »
Hi all,

Try to create my own profile for Vision. Create:
1. Stakeholder
2. Issue
3. Need

Then using this profile I create the model
Package Stakeholders
  -- Package Issues
  -- Package Needs
     Stakeholder 1
     ...
     Stakeholder N

Then I create the matrix
Source Stakeholders   Type Object
Target Issues              Type Object

Lines of Source contain all objects from package Stakeholder (all Stakeholders, Issues, Needs)

Yes I can place all Stakeholders to subfolder (package) and use it as Source

But I wait after creating Profile that I get new types of elements (for example SPEM Profile and so on)

Please help me to solve the task.

Thank you
Edward

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: New UML type
« Reply #1 on: March 27, 2014, 09:08:59 am »
When you create your profile, you need to give each stereotype a _metatype attribute with initial value set to the name of the type that you are creating. Search the help for "_metatype" for more details.
The Sparx Team
[email protected]

Edward G

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: New UML type
« Reply #2 on: March 27, 2014, 04:26:50 pm »
Hey,

thank you very much. It works!
Edward