Book a Demo

Author Topic: Prohibited stereotype tagged value names  (Read 3138 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Prohibited stereotype tagged value names
« on: February 17, 2020, 08:32:33 pm »
Hi everyone,


I'm working on a profile with a stereotyped Activity.
The Activity is supposed to have a tagged value "method" with an enum value.

I can model this in the usual way, but when EA creates the profile it replaces the name "method" with "Referenced Behavior".
The set of enum values is correct, though.

I can't find any property of a non-stereotyped Activity named "method", and there isn't one in the metaclass attributes either.
And I haven't checked whether this is exclusive to Activity stereotypes, or more general.

Is anyone aware of any other tagged value names EA has problems with?
I'm on 15.0.1512.


/Uffe
« Last Edit: February 17, 2020, 08:42:59 pm by Uffe »
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Prohibited stereotype tagged value names
« Reply #1 on: February 17, 2020, 09:09:24 pm »
Not directly. But there are some attributes which don't have an underline prefix which as per underline-rule should have one (icon was one of these candidates). Raises the question: why use such an antique mechanism and not stereotype these attributes with <<internal>> or the like? Well, to answer my question: it's Sparx Technology.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Prohibited stereotype tagged value names
« Reply #2 on: February 17, 2020, 10:47:36 pm »
Well, backwards compatibility I guess.

But this is rather an odd one, because it isn't a special attribute, underline or no.

/U
My theories are always correct, just apply them to the right reality.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Prohibited stereotype tagged value names
« Reply #3 on: February 18, 2020, 08:55:45 am »
I'm going to call it a bug. EA is providing a friendly label for UML properties. One of which is called 'method', which references a Behavior element that implements the Operation/Reception.

That shouldn't really be applied to your property.