Book a Demo

Author Topic: Magic names in MDG UMLProfile  (Read 3866 times)

Pawel Jasinski

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Magic names in MDG UMLProfile
« on: October 19, 2011, 11:04:32 pm »
hi,

i am out of ideas on this one. I have managed to narrow it down to the following MDG file.
The "ActualOrganization" does not show up in the list of Stereotypes. Dragging the thing into diagram which are linked to "ActualOrganization" has no effect.
The "ActualPost" and "ActualTest" do not have the problem, but are constructed in the same way.
Now if I change the "ActualOrganization" to something else, the problem is gone.
I have checked Stettings->UmlTypes->Stereotypes. There is no "ActualOrganization" in it.
Out of desperation I have greped entire EA directory for "ActualOrganization", nothing came up.

Is there a list of such a magic names which are forbidden as MDG Stereotypes?

Cheers,
Pawel

Code: [Select]
<Documentation id="NAF_V3" name="NAF V3 MDG Technology" version="1.6.8" notes="MDG Technology for NATO Architectural Framework (NAF), Version 3." />

<UMLProfiles>
<!-- filename: NMM.xml -->
<UMLProfile profiletype="uml2">
  <Documentation id="BC35C95E-3" name="NMM" version="1.4" notes="NATO Architecture Framework Metamodel"/>
  <Content>
    <Stereotypes>
      <Stereotype name="ActualOrganizationalResource" notes="An instance of either an actual organization or an actual post. [ABSTRACT]"
        cx="90" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" isAbstract="true">
        <AppliesTo>
          <Apply type="Class">
            <Property name="isAbstract" value="false"/>
          </Apply>
        </AppliesTo>
        <TaggedValues>
          <Tag name="usedBy"/>
          <Tag name="noLongerUsedBy"/>
        </TaggedValues>
      </Stereotype>
      <Stereotype name="ActualOrganization"
        notes="An actual specific organization, an instance of an organization class - e.g. &quot;The US Department of Defense&quot;"
        cx="90" cy="70" bgcolor="-1" fontcolor="0" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="ActualOrganizationalResource" baseStereotypes="ActualOrganizationalResource"/>
      <Stereotype name="ActualPost" notes="An actual, specific post, an instance of a PostType class - e.g. &quot;President of the United States of America&quot;"
        cx="90" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="ActualOrganizationalResource" baseStereotypes="ActualOrganizationalResource"/>
      <Stereotype name="ActualTest" notes="An actual specific organization, an instance of an organization class - e.g. &quot;The US Department of Defense&quot;"
        cx="90" cy="70" bgcolor="-1" fontcolor="0" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="ActualOrganizationalResource" baseStereotypes="ActualOrganizationalResource"/>
    </Stereotypes>
    <TaggedValueTypes/>
  </Content>
</UMLProfile>
</UMLProfiles>

<UIToolboxes>
<!-- filename: NOV-4bToolbox.xml ordered -->
<UMLProfile profiletype="uml2">
  <Documentation id="30745A13-3" name="NOV-4bToolbox" version="1.3" alias="NOV-4b Organizational relationships chart actual" notes="Toolbox for NOV-4b Organizational relationships chart actual"/>
  <Content>
    <Stereotypes>
      <Stereotype name="NOV-4bConstructs" alias="NOV-4b Constructs" notes="Constructs for NOV-4b Organizational relationships chart actual" cx="435" cy="138" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
        <AppliesTo>
          <Apply type="ToolboxPage"/>
        </AppliesTo>
        <TaggedValues>
          <Tag name="NMM::ActualOrganization(UML::Class)" type="int" description="" unit="" values="" default="Actual Organization"/>
          <Tag name="NMM::ActualPost(UML::Class)" type="int" description="" unit="" values="" default="Actual Post"/>
          <Tag name="NMM::ActualTest(UML::Class)" type="int" description="" unit="" values="" default="Actual Test"/>
        </TaggedValues>
      </Stereotype>
    </Stereotypes>
    <TaggedValueTypes/>
  </Content>
</UMLProfile>
</UIToolboxes>

</MDG.Technology>

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Magic names in MDG UMLProfile
« Reply #1 on: October 20, 2011, 08:26:43 am »
No idea whether this will help, but check Settings/MDG/Stereotypes for any conflicts.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Magic names in MDG UMLProfile
« Reply #2 on: October 20, 2011, 10:37:03 am »
There's a bug and we're working on a fix. As a temporary work-around, if you rename "ActualOrganizationalResource" to "actualOrganizationalResource" it should work ("ActualOrganization" is a substring of the former...)
« Last Edit: October 20, 2011, 10:37:50 am by KP »
The Sparx Team
[email protected]

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Magic names in MDG UMLProfile
« Reply #3 on: October 20, 2011, 06:43:04 pm »
Or you choose the British variant Organisation....

q.

Pawel Jasinski

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Magic names in MDG UMLProfile
« Reply #4 on: October 20, 2011, 10:09:02 pm »
Hi,

Thanks for the clarification. For the current release we went with Organi[highlight]s[/highlight]ation.
KP, I have support contract. Should I raise a formal bug report or it will be taken care of anyway?

Cheers,
Pawel

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Magic names in MDG UMLProfile
« Reply #5 on: October 21, 2011, 08:51:56 am »
No need for a bug report, it's already in the system...
The Sparx Team
[email protected]