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 - Richard Freggi

Pages: [1] 2 3 ... 21
General Board / No keybiard shortcut for perspectives?
« on: October 25, 2020, 02:07:44 pm »
Recently I need to change perspectives quite oftwn and cannot find a shortcut in the user manual.  It's quite tiring to go the 5-6 clicks on the ribbon every time.  Does anyone know a way to switch perspectives quickly?  Thanks!

I'd be curious to know if clicking on a package in project explorer then Contents - Reset Sort Order only changes the way the package contents are displayed or if it changes the order in the model database.  Any idea?  Thanks

It may be worth trying to import in 2 steps, first the parent objects (classifiers) then the ports (from a separate excel sheet, as a separate import operation).
Also, try importing the ports by clicking on the Excel sheet "Enterprise Architect" menu, not on the EA menu.
I had the same issue being unable to import any attribute, and doing BOTH solved the issue for me.

The importer works extremely well for me (around 3,000 classes and 270,000 attributes a couple of times a month).  But you must use *.eap file!  I don't know if it works with other model databases.

General Board / Re: Connecting entity relationship with information flow?
« on: October 15, 2020, 03:37:42 am »
My 2 cents is that yes there is a way to show this in an over-complicated wall-to-wall diagram, but you don't have the information to do it correctly.
Think about it.  Entities are not sent from one system to the other.  Systems exchange messages, not entities. 

These messages are in every way different from the entities in the source system.  Messages are encoded according to some protocol and typically the mix dozens or hundreds of entities together. Messages relate to entities but are not the entities.

My recommendation would be to just use a component diagram showing the key interfaces and dependencies, and SEPARATELY show a data model (class diagram or ERD) of the relationships of entities regardless of messages, interfaces etc. (you may make subject area data models by database schema if it helps you).  If you need to show a lot of details about the messages, you can use a sequence diagram with the components as participants. 

Good luck!

There's two ways to solve this

1. Start Chrome with the parameter to allow local access "--allow-file-access-from-file" (thus exposing you to that security risk)
2. Publish the html model with a webserver like IIS (or upload them to sharepoint)


I thought the html documentation would not work in sharepoint because sharepoint disables javascript and hyperlinks between files?  Asking for a friend.

You can just ignore the database type and column datatype and you can hide datatype in diagrams to get a perfectly good conceptual or logical level data model.  It's a small kludge but never created problems for me.

I just set the *package* type as data model and <<table>> as class stereotype.  Then on the attribute submenu (columns) you get to choose PK and FK separately, and if it's a foreign PK (identifying relationship) if will show as pfK in the diagram!

I'm modeling some database views as classes using the <<view>> stereotype and it's nice that if I double click on the view, a menu comes up showing database, dependencies, definition (DML) and name of the view.

I'd like to access this info using SQL query on EA internal tables, can anyone advise which tables I can find them?  I don't see them in t_object or t_objectproperties.

I had good results by sticking to open source tools whenever doing a project with external partners.
No haggling, no vendors to get in the way, no approvals, no tool wars.
Eclipse Papyrus UML is the best open source UML tool in my opinion.  If you need something really elementary to use, WhiteStarUML is also OK, but it's not fully UML 2.5 compliant and its model metadata and reporting capabilities are very limited.

General Board / Re: Where can I see the GUID of an element in EA 15.1?
« on: August 30, 2020, 12:37:38 pm »
In the properties window, Project section

Thank very much everybody, much food for thought and very useful for my project!


When doing XMI export/import (as long as it from EA and to EA) each element keeps it's own GUID
That never changes, not even when you move it to another package.

EA uses the guid to link the existing elemnets to the elements in the import file.

So your diagrams will not be changed except for
- elements that have been deleted
- relations that have been deleted or added.

You'll want to do a baseline compare to know which elements have been added, so you can add them to the relevant diagrams.


Yes but the source of the model not from EA, is is a query on the repository of the system, which is then imported into a temporary package using Sparx Office integration MDG + your excellent Bellekens Excel importer, then I export this package to XMI and I import it into the "Import" model (I need to do this because both Office MDG and Excel importers work on *eap and my model is *feap (Firebird).
 So the elements have an ad-hoc GUID.  Also, I need XMI import because if an element is deleted in the system, MDG or Excel importer will not remove it from the Import model (they will just add or override, but not remove).

Yes as Geert says, rejecting a change is not really necessary, because my "Import" model needs to show the current system.  My concern is to ensure minimum breaking of my diagrams in the "Report" model (I'm OK to manually fix them a little if needed).  For example if a classifier is moved from one package to another in the import or  merge, will it disappear from my diagram?  I guess so as it may be imported with a different GUID.

I need a way to keep manual fixes in the Report model to a minimum, via the right import and/or merge strategy...

Hi Geert
If I just import the XMI directly in the "Import" package it will synchronize?  Wow I did not think of that.  Will try it right away!

[Edit 10 minutes later]
Per Geert's suggestions I'm reading up on setting my Import as controlled package, then use Scan XMI and Reconcile model during the XMI import into the controlled package, and I should be able to manually accept/reject changes and get a report of all changes made.  Does this sound like a good approach?

Pages: [1] 2 3 ... 21