Book a Demo

Author Topic: UML Profiles  (Read 12390 times)

Sergio Serna

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
UML Profiles
« on: August 10, 2011, 06:39:00 am »
Hi, I am building the UML profile for MARTE. In Enterprise Architect some stereotype can not be related with the metaclass because they do not exist, e.g. the metaclass: UML::CommonBehaviors::SimpleTime::DurationObservation. UML::CommonBehaviors::SimpleTime::TimeObservation. UML::Classes::Kernel::InstanceSpecification. UML::Classes::Kernel::ValueSpecification

How I can adding new metaclasses? Thank you.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: UML Profiles
« Reply #1 on: August 10, 2011, 11:14:51 am »
For InstanceSpecification, extend "Object".

For DurationObservation and TimeObservation, the problem is that you can't stereotype them in EA. Right-click a message in a sequence diagram, select "Timing Details" and notice that there is no stereotype field next to any of the fields on the Timing Details dialog. Therefore, there is no practical use in extending them in a UML profile for use in EA.

ValueSpecification is an abstract metaclass, and to extend abstract metaclasses in a UML profile in EA you will need to extend every concrete subclass. I don't think that will help you much with ValueSpecification though because its subclasses are all items that can't be stereotyped in EA, i.e. expressions and literals.
The Sparx Team
[email protected]

Sergio Serna

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: UML Profiles
« Reply #2 on: August 11, 2011, 01:31:06 am »
The UML profile for MARTE require extend StructuredClassifier, Namespace, DurationObservation and TimeObservation and more (see pags. 32 and 77 http://www.omg.org/spec/MARTE/1.1/PDF/). How implement it?