Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mcoletti

Pages: 1 [2] 3
16
General Board / coding an Association class in XMI
« on: August 21, 2006, 08:16:26 am »
Hi,

I am building a tool that writes an XMI file to be imported in EA.

I was using XMI 1.2 until now, but I don't understand how to code an AssociationClass. As for other classifiers, I have created a sample model in EA, exported it in XMI, and used the file as a reference, but I am not able to understand the logic for AssociationClass (and EA doesn't import correctly it's own generated XMI file with this kind of classifiers)

I was also looking at XMI 2.x, but I wasn't able to find the specifications for this new version.

Any hint, please?

Massimo Coletti

17
General Board / Re: Tests - they seem to get a bit lost!
« on: March 30, 2006, 03:18:51 am »
I am using EA for the first time to model a test plan. The system to be tested is an electronic surveillance system.

I have found this discussion useful, and followed this path:

  • I create a "test case" element for each test to be performed;
  • I create association having the "test case" as a source, and the element to be tested as the destination. This association is stereotyped as "testing device" if the destination element is not the object of testing but is required to perform the test.
  • I have customised the testing RTF template, adding diagrams images and details about the connectors.


In this way I can code only once the test for similar devices; the RTF report provides a "testing" guide for the tester, with a visual indication of the devices to be tested.

The same EA model holds the topology of the systems, so it is useful also as a reference.

If a test has a "partial succes" result (i.e. if I am testing 20 cameras, 2 of which aren't working) I will import the test on the element that failed, changing the classifier status to "Failed".

If I want to be very formal, I can copy the test from the test case to each tested component. The tester will sign the report, certifying that all the planned components were tested.

I will provide later the results of this "usage profile".  :)

18
General Board / DDL transformation of inheritance hierarchies
« on: January 04, 2006, 01:08:49 am »
I have a logical PIM model, with some generalization relationships among classes. To be specific, I have an abstract main class (A), and some concrete subclasses (B, C, ..) inheriting from A, with a normal generalization association.

When I perform the transformation in DDL of this package, the following happens:

  • A is generated as a table (why, if it is abstract?)
    B, C, does not include the attributes defined in A (I would expect this, as they are inherited from A)

  • Are my assumptions wrong?

  • Did anyone find similar problems?


I also take a look at the transformation template, but there is no way to add a template for “generalization”  :'(, maybe this is an explanation.

Happy new year!

Massimo

19
General Board / Re: How can I set a default version/phase
« on: January 13, 2005, 10:26:24 am »
Thomas, thanks.

It may help.

A better solution could be to inherit the version/phase values from the upper level package when:

  • I create new elements
  • I update existing ones.


In this way I can decide at a certain level of the project that the version has changed, and keep track of what elements are changed.
I can use the change date, but this forces to keep a 'log' of version/dates.

Maybe this could become a feature request?

Regards,

Massimo

20
General Board / How can I set a default version/phase
« on: January 13, 2005, 08:36:26 am »
The default value is always 1.0.

I would like to set a new default value and:

- use as default for new elements,
- override previous value in existing elements (optionally) when I change them

Is there a way to achieve this?


21
General Board / Re: XMI Import
« on: October 20, 2004, 09:08:09 am »
Hi,

I also have some problems in importing XMI.

I have an XMI file generated by a python tool (I am trying to reverse-engineer some python classes).
Looking at the file, everything seems ok, but after the (successful) import, all the classes methods appears under a single class, the last one. ("magic merge").

The problem disappears if the XMI file contains only one class.

Here is the XMI file:

<?xml version="1.0"  encoding="UTF-8"?>
<XMI xmi.version="1.0" timestamp="2004-10-20 17:04:16">
  <XMI.header>
     <XMI.documentation>
        <XMI.exporter>Enterprise Architect</XMI.exporter>

        <XMI.exporterVersion>3.1</XMI.exporterVersion>
     </XMI.documentation>

     <XMI.metamodel xmi.name="UML" xmi.version="1.3" />
  </XMI.header>

  <XMI.content>
     <Model_Management.Model xmi.id="MX_EAID_277CECBB_7D7B_40a7_B18F_5171CB984D2C">
        <Foundation.Core.ModelElement.name>EA Model</Foundation.Core.ModelElement.name>

        <Foundation.Core.ModelElement.visibility xmi.value="private" />

        <Foundation.Core.ModelElement.isSpecification xmi.value="false" />

        <Foundation.Core.GeneralizableElement.isRoot xmi.value="false" />

        <Foundation.Core.GeneralizableElement.isLeaf xmi.value="false" />

        <Foundation.Core.GeneralizableElement.isAbstract xmi.value="false" />

        <Foundation.Core.Namespace.ownedElement>

<Model_Management.Package xmi.id='000000ffb7164360000a00000000004d4905' xmi.uuid='000000ffb7164360000a00000000004d4905'>
<Foundation.Core.ModelElement.name>Extensions</Foundation.Core.ModelElement.name>
<Foundation.Core.Namespace.ownedElement>
<Model_Management.Package xmi.id='000000ffb7164360000a00000000004daa1a' xmi.uuid='000000ffb7164360000a00000000004daa1a'>
<Foundation.Core.ModelElement.name>Install</Foundation.Core.ModelElement.name>
<Foundation.Core.Namespace.ownedElement>
<Foundation.Core.Class xml.id='000000ffb716436f000a00000000004d68e9' xml.uuid='000000ffb716436f000a00000000004d68e9'>
<Foundation.Core.ModelElement.name>ModInstall</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value='public' />
<Foundation.Core.GeneralizableElement.isRoot xmi.value='false' />
<Foundation.Core.GeneralizableElement.isLeaf xmi.value='false' />
<Foundation.Core.GeneralizableElement.isAbstract xmi.value='false' />
<Foundation.Core.Class.isActive xmi.value='false' />
<Foundation.Core.ModelElement.taggedValue>
<Foundation.Extension_Mechanisms.TaggedValue xmi.id='000000ffb716437f000a00000000004d26cf'>
<Foundation.Core.ModelElement.name>documentation</Foundation.Core.ModelElement.name>
<Foundation.Extension_Mechanisms.TaggedValue.tag>documentation</Foundation.Extension_Mechanisms.TaggedValue.tag>
<Foundation.Extension_Mechanisms.TaggedValue.value>tbd</Foundation.Extension_Mechanisms.TaggedValue.value>
</Foundation.Extension_Mechanisms.TaggedValue>
</Foundation.Core.ModelElement.taggedValue>
<Foundation.Core.Classifier.feature>
<Foundation.Core.Operation xmi.id='000000ffb716436f000a00000000004dec8d'>
<Foundation.Core.ModelElement.name>install_tools</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value='public' />
<Foundation.Core.BehavioralFeature.parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004d03ef' xmi.uuid='000000ffb716436f000a00000000004d03ef'>
<Foundation.Core.ModelElement.name>self</Foundation.Core.ModelElement.name>
</Foundation.Core.Parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004d09d2' xmi.uuid='000000ffb716436f000a00000000004d09d2'>
<Foundation.Core.ModelElement.name>out</Foundation.Core.ModelElement.name>
</Foundation.Core.Parameter>
</Foundation.Core.BehavioralFeature.parameter>
</Foundation.Core.Operation>
<Foundation.Core.Operation xmi.id='000000ffb716436f000a00000000004d7365'>
<Foundation.Core.ModelElement.name>install_actions</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value='public' />
<Foundation.Core.BehavioralFeature.parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004dfe0c' xmi.uuid='000000ffb716436f000a00000000004dfe0c'>
<Foundation.Core.ModelElement.name>self</Foundation.Core.ModelElement.name>
</Foundation.Core.Parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004d8a51' xmi.uuid='000000ffb716436f000a00000000004d8a51'>
<Foundation.Core.ModelElement.name>out</Foundation.Core.ModelElement.name>
</Foundation.Core.Parameter>
</Foundation.Core.BehavioralFeature.parameter>
</Foundation.Core.Operation>
<Foundation.Core.Operation xmi.id='000000ffb716436f000a00000000004d9558'>
<Foundation.Core.ModelElement.name>install_subskin</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value='public' />
<Foundation.Core.BehavioralFeature.parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004d388e' xmi.uuid='000000ffb716436f000a00000000004d388e'>
<Foundation.Core.ModelElement.name>self</Foundation.Core.ModelElement.name>
</Foundation.Core.Parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004d9a39' xmi.uuid='000000ffb716436f000a00000000004d9a39'>
<Foundation.Core.ModelElement.name>out</Foundation.Core.ModelElement.name>
</Foundation.Core.Parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004d5f0e' xmi.uuid='000000ffb716436f000a00000000004d5f0e'>
<Foundation.Core.ModelElement.name>skin_name</Foundation.Core.ModelElement.name>
<Foundation.Core.Parameter.defaultValue>
<Foundation.Data_Types.Expression>
<Foundation.Data_Types.Expression.body>SKIN_NAME</Foundation.Data_Types.Expression.body>
</Foundation.Data_Types.Expression>
</Foundation.Core.Parameter.defaultValue>
</Foundation.Core.Parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716436f000a00000000004d012a' xmi.uuid='000000ffb716436f000a00000000004d012a'>
<Foundation.Core.ModelElement.name>globals</Foundation.Core.ModelElement.name>
<Foundation.Core.Parameter.defaultValue>
<Foundation.Data_Types.Expression>
<Foundation.Data_Types.Expression.body>my_globals</Foundation.Data_Types.Expression.body>
</Foundation.Data_Types.Expression>
</Foundation.Core.Parameter.defaultValue>
</Foundation.Core.Parameter>
</Foundation.Core.BehavioralFeature.parameter>
</Foundation.Core.Operation>
<Foundation.Core.Operation xmi.id='000000ffb716437f000a00000000004d96c2'>
<Foundation.Core.ModelElement.name>install</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value='public' />
<Foundation.Core.BehavioralFeature.parameter>
<Foundation.Core.Parameter xmi.id='000000ffb716437f000a00000000004dff4f' xmi.uuid='000000ffb716437f000a00000000004dff4f'>
<Foundation.Core.ModelElement.name>self</Foundation.Core.ModelElement.name>
</Foundation.Core.Parameter>
</Foundation.Core.BehavioralFeature.parameter>
</Foundation.Core.Operation>
</Foundation.Core.Classifier.feature>
<Foundation.Core.ModelElement.stereotype>
</Foundation.Core.ModelElement.stereotype>
</Foundation.Core.Class>
</Foundation.Core.Namespace.ownedElement>
</Model_Management.Package>
<Model_Management.Package xmi.id='000000ffb716437f000a00000000004d4b3a' xmi.uuid='000000ffb716437f000a00000000004d4b3a'>
<Foundation.Core.ModelElement.name>__init__</Foundation.Core.ModelElement.name>
<Foundation.Core.Namespace.ownedElement>
<Foundation.Core.Class xml.id='000000ffb716437f000a00000000004dea07' xml.uuid='000000ffb716437f000a00000000004dea07'>
<Foundation.Core.ModelElement.name>Mod__init__</Foundation.Core.ModelElement.name>
<Foundation.Core.ModelElement.visibility xmi.value='public' />
<Foundation.Core.GeneralizableElement.isRoot xmi.value='false' />
<Foundation.Core.GeneralizableElement.isLeaf xmi.value='false' />
<Foundation.Core.GeneralizableElement.isAbstract xmi.value='false' />
<Foundation.Core.Class.isActive xmi.value='false' />
<Foundation.Core.ModelElement.taggedValue>
<Foundation.Extension_Mechanisms.TaggedValue xmi.id='000000ffb716437f000a00000000004d469f'>
<Foundation.Core.ModelElement.name>documentation</Foundation.Core.ModelElement.name>
<Foundation.Extension_Mechanisms.TaggedValue.tag>documentation</Foundation.Extension_Mechanisms.TaggedValue.tag>
<Foundation.Extension_Mechanisms.TaggedValue.value>tbd</Foundation.Extension_Mechanisms.TaggedValue.value>
</Foundation.Extension_Mechanisms.TaggedValue>
</Foundation.Core.ModelElement.taggedValue>
<Foundation.Core.Classifier.feature>
</Foundation.Core.Classifier.feature>
<Foundation.Core.ModelElement.stereotype>
</Foundation.Core.ModelElement.stereotype>
</Foundation.Core.Class>
</Foundation.Core.Namespace.ownedElement>
</Model_Management.Package>
</Foundation.Core.Namespace.ownedElement>
</Model_Management.Package>

        </Foundation.Core.Namespace.ownedElement>
     </Model_Management.Model>
  </XMI.content>

</XMI>



22
General Board / Re: how can I post content in the initial page of
« on: August 13, 2004, 12:25:13 am »
yah, it works!

Many Thanks

23
General Board / how can I post content in the initial page of a HT
« on: August 12, 2004, 07:21:01 am »
When I generate an HTML report, the index page shows no text.

I have tried to add notes on the root package, but with no success.

Is there a way to customize this initial display?

24
General Board / What are the substitution tags available for RTF T
« on: July 29, 2004, 01:11:25 am »
I am trying to customize the RTF template, fine tuning the amount of information displayed.

I wasn't able to find a list of the tags (such #DETIALS#) available.

Any direction?

Massimo

25
Bugs and Issues / Re: BPMN 2.0 Transaction activity
« on: August 28, 2014, 08:29:31 pm »
Quote
I don't find the "isATransaction" specialized tagged value for Activity element.

The value is available only if the "Type" dropdown box, in the BPMN 2.0 folder, is blank.

26
Bugs and Issues / BPMN 2.0 Transaction activity
« on: August 28, 2014, 08:04:56 pm »
In the last 11.1 version, I don't find the "isATransaction" specialized tagged value for Activity element.
I can add it manually as a tagged value, but the appearance of the element is not changed accordingly. Anyone had similar problems?

Regards

27
Bugs and Issues / Re: Stereotype images in imported profile not show
« on: June 19, 2009, 01:09:46 am »
I tried, but without success (regarding stereotype images). however I will check more deeply the MDG technology creation process.
Thanks for the suggestion.

28
Bugs and Issues / Stereotype images in imported profile not shown
« on: June 18, 2009, 06:03:01 pm »
Hi,
I have created a UML profile in EA, and saved it from the profile diagram, leaving all the "include" boxes checked, and selecting the UML 2 option.
Several stereotypes have a custom alternate image, that is shown correctly in the diagram.
Then I import the profile in EA, leaving all the checkbox selected, and start a new diagram with the profile elements; unfortunately, the image is the standard image for the classifiers (packages and classes in my case), and I didn't find a way to select the stereotype image.
  :-/
Any hint?

29
Uml Process / Re: Representing accounting consequences of activi
« on: August 28, 2014, 08:11:27 pm »
Hi, I suggest using data elements for each GL account (eg. 'Vendor' 'Material' 'IRGR' 'Bank').
Then associate each Activity with the "accounts/data elements" with an accounting impact.
You can add a tagged value to the association ("posting" or "sign" or "DB/CR") and the corresponding debit/credit value.
In this way, you can also display - on a Relationship Matrix - all the Activity that have an accounting impact (and the sign, using Overlays) with all the accounts.
Regards,
Massimo

30
Uml Process / Re: Sense of UML
« on: November 28, 2005, 01:17:04 am »
Quote
I rarely tell a client I'm developing a UML model; creates too much anxiety on their part.  I just stand at a White-board as we talk about their domain and make my notes thereon in UML.  With a simple explanation of an element, as I introduce it in my diagram, my diagram becomes an Icon I can use in my documentation that, for them, triggers a remembrance of our conversations and the conclusions arrived at therein.  Gradually, and without knowing it, they learn UML. :)  


Really interesting thread!

Unfortunately, I am finding anxiety about UML also in developers, with two common side effects:
  • usage of "free" formats for diagrams in software documentation;
  • "free" use of UML icons to create diagrams that are not an expression of UML syntax.

In my view, the importance of UML is in the fact that it is a common "language" (so a set of grammar and syntax rules) that can be used to model different views at different levels.
The responsibility of an "UML evangelist" in an organization, is to communicate the "syntax" of UML as a language (not its icons!) allowing to lower the communication barriers among domain experts, managers, organization analysts, software architects and developers.

Thanks to jeshaw2 for his illuminating "pontification".

Cheers,

Massimo

Pages: 1 [2] 3