Author Topic: Tagged Values and UML profiles incosistences  (Read 107 times)

lubos

  • EA User
  • **
  • Posts: 101
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Tagged Values and UML profiles incosistences
« on: October 29, 2009, 10:37:02 pm »
Hello,
We have found some inconsistences in working with tags and UML profiles.
We have an UML profile called "Struts_Profile" distrubuted by MDG distribution XML/mts file.
There is defined a class "Struts Action" and its reference tag called "ActionClass". The relevant XML piece is bellow.
We have problems with version 849 of EA, since the behavior is getting strange. We have the following mixed states of tagged values for Struts Action Classes.
1) Some Action Classes has a tag called "ActionClass".
2)Some Action Classes has a tag called "Struts_Profile::ActionClass"
3)Some Action Classes has a tag called "ActionClass" and by turning on showing full names we see "Struts_Profile::Struts Action::ActionClass"

When we add a Struts Action from toolbar  it behaves as  3)
When we add tagged value manually it behaves as  2)
Some older classes (created in preavios versions of EA) has 1) or 2)
and the selection of reference class is not always working.

What is the correct behavior, and how to achieve the same behavior for all classes?

Thanks for any hint.
If nobody could help I will ask Sparx directly.

<UMLProfile profiletype="uml2">
                  <Documentation id="0AF9387E-D" name="Struts_Profile" version="1.0" notes="Struts_Profile"/>
                  <Content>
                        <Stereotypes>

<Stereotype name="Struts Action" notes="" cx="90" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" bo
                                                <AppliesTo>
                                                        <Apply type="Class">
                                                                <Property name="isActive" value=""/>
                                                        </Apply>
                                                </AppliesTo>
                                                <TaggedValues>
                                                        <Tag name="ActionClass"/>
                                                </TaggedValues>
                                        </Stereotype>

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5882
  • Karma: +71/-79
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Tagged Values and UML profiles incosistences
« Reply #1 on: October 30, 2009, 12:22:38 pm »
Welcome to EAUI...

Consistency, Consistency, Consistency! TM

Paolo
« Last Edit: October 30, 2009, 12:22:50 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!