Book a Demo

Author Topic: UML Profile and Metaclasses  (Read 14571 times)

Luís

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
UML Profile and Metaclasses
« on: June 01, 2012, 03:11:11 am »
Hi,

I would like to create a UML profile to represent a typical infrastructure with servers, devices and networks (e.g. LAN, WAN, etc...) and connections among them.

My basic questions: :)

1)
What is the correct way to do it:
Create New Metaclass
In Reference Elements, should I select Node for servers, device for devices and boundary to represent networks and then multiple stereotypes with the extend relationship.

OR INSTEAD  

use the metaclass Class for all these components ?

2)
The same applies to connectors. Should I use the class association or instead communication path, composition etc...  and then multiple stereotypes with the extend relationship.


3) Should we define the multiplicity at the metamodel level?


Thanks in advance and Regards,
Luís

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: UML Profile and Metaclasses
« Reply #1 on: June 05, 2012, 08:01:14 am »
You haven't articulated why you want to create a UML Profile so its not easy to advise. Maybe you just want to have pretty images or maybe you want to add attributes to the servers and devices so you can manage them better. Or may be you want to create a whole new modelling language (this is fraught with lots of work. i.e. you'll need to publish it with some standards body so it gets wide acceptance otherwise only you will know about it and its likely to die in a ditch.)

So here are some thoughts
1) Avoid doing a UML profile as it will eat up precious time and consider  using plain old UML with stereo types or ArchiMate.

2) If the first option doesn't work for you could create a UML profile where you map your new stereotypes to the following metatypes
stereotype - > metatype
device -> device
server -> node
LAN network->node
WAN network->node
etc.
Note a boundary is probably not a good idea to use for a network especially if you want it to appear in the model (explorer view).

You can associate images with the new stereotypes and also add extra attributes such as "date commission", "review date" etc.

With regard to connectors it depends on how you want to use them. Suggest not using them in a way which is incompatible with UML.

I think to sum it up what is deemed as correct depends greatly on what you want to achieve.

Hope that helps in some small way  :)
Happy to help
:)

Michael Proske

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: UML Profile and Metaclasses
« Reply #2 on: June 06, 2012, 10:32:33 pm »
I can send you a profile example how i did it. I have modelled servers and other equipments together with some common attributes. Just send me a note with an email where i can send you the profile exports.

dbt236

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: UML Profile and Metaclasses
« Reply #3 on: June 08, 2012, 10:33:30 am »
Hi Everybody,

it is possible to add an entry in an existing enum?

I need an additional entry in the Enum for the Interaction Operator for a Combined Fragment.

Alternativly it is possible to include an own Enum for a Stereotyped InteractionFragment wich can manage the Fragment Type?
« Last Edit: June 08, 2012, 10:34:21 am by dbt236 »

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: UML Profile and Metaclasses
« Reply #4 on: June 13, 2012, 08:25:44 am »
Quote
I can send you a profile example how i did it. I have modelled servers and other equipments together with some common attributes. Just send me a note with an email where i can send you the profile exports.
Thanks however I'll pass on that offer as I've got too many things to do at work.
Good luck :)
Happy to help
:)

Ricardofs1

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: UML Profile and Metaclasses
« Reply #5 on: June 14, 2012, 03:42:09 am »
i have the same question