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.


Topics - Rouven

Pages: [1] 2
1
General Board / Model Search: define package scope
« on: May 09, 2012, 01:41:13 am »
Hello everyone,

let me divide the posting into two sections, one describing the problem, the other showing my initial approach.

Problem:
I have an EAP file with different root models inside. For one of these models I want to return all the contained Issue/Change elements so I can look at them and transfer them to e.g. Excel for further processing.

Solution Approach:
I know that the Documentation features can start their recursive search in a selected package. Now I was looking into the possibilities of the Model Search.
Seems that the query builder can't help me at all so I turned to the SQL-based queries. Since I wasn't online I made the mistake of looking into the HTML help file delivered with EA. There I find several query "macro" expression, such as "%WC%" for the current database wildcard, but also "%Branch%" for all packages in the currently selected branch or "%Package%" for the currently selected package. Trying them out lead to a dead end, syntax error.
Looking into the online documentation http://www.sparxsystems.com/uml_tool_guide/modeling_tool_features/creating_filters.htm I can no longer find these elements...

Question: What is the best way to achieve this recursive search? The changes/issues do not have a separate stereotype or any other means of identification other than the package they are located in...

Thanks in advance,
Cheers,
Rouven

2
General Board / Display linked files in diagrams
« on: December 17, 2013, 08:52:14 pm »
Hello everyone,

my project is currently experimenting with linking files to certain model elements, e.g. CSV files that show an actual data load for a table modeled in EA. What I have found so far is (1) the navigation to the files using the property dialogs, and (2) the possibility to include this file link as a separate tab on the object details in HTML documentation.

My question now is towards a more visual approach. What myself and also the model consumers welcomed so far is if they can use the diagrams to navigate the entire model. So my question at this point is: is there an automated or scriptable way to visualize and maybe even open the linked files on/from the (e.g. class) diagrams? I could not find something like a files compartment, nor did I find a chance to link to the file with a hyperlink unless repeating the entire file link.

Do you have any suggestions?

Thanks in advance & happy holidays,
best regards
Rouven

3
General Board / Reporting: relevant packages only
« on: June 16, 2012, 12:02:02 am »
Hi everyone,

I'm trying to understand the RTF reporting that comes with Enterprise Architect and how I could build a report template that meets my current requirements. Unfortunately I'm not getting anywhere, so here's my question: how do I accomplish the following with a template:

Model structure:
Package A
+- Package A.1
     +- Package A.1.1
+- Package A.2
     +- Package A.2.1
+- Package A.3
     +- Package A.3.1


There are model elements in all of the above packages. For my report, the only relevant model elements are in A.1, A.3 and A.3.1 - I obtain them by specifying required filter criteria.

My report is to look as follows:
Headline: A.1
    <element fields as specified for all relevant elements in A.1> in table form
Headline: A.3
    <element fields as specified for all relevant elements in A.3 AND A.3.1> in table form

So essentially I have:
  • a filter for which elements are relevant
  • a criteria when a package name should appear as a headline: either it or its direct sub package contains a relevant element

All I can get is a template that will contain all package names as headlines (which means all the irrelevant ones as well) and I seem to find no way of skipping A.3.1 either.

Can this be done with EA reporting?

Thanks,
Rouven

4
General Board / Reusing (external) constraints
« on: July 17, 2012, 06:34:36 pm »
Hi everyone,

I'm just starting to add constraints to my UML class model. One of the issues I'm encountering is that I have certain - more or less complex - constraints that apply to various classes throughout the model.

As an example: I have several classes that have attributes start and end. For all of these classes I wish to specify a constraint start <= end.

What I've seen so far is that the attribute/class constraints are directly bound to the model element, so that will not work. But the external constraints are actual model elements, they even appear in the t_object table, leading me to suspect I could add them to multiple diagrams and link them to multiple objects then. However, since they are not displayed in the project browser there is no way to refer to them.

Is this simply a user interface problem in EA, or does it have a deeper meaning?

Do you have other recommendations?

Thanks & regards,
Rouven

5
General Board / 3 classes, 2 associations: either one or the other
« on: May 04, 2012, 09:22:03 pm »
Hi everyone,

I have just stumbled across a problem building a logical model where I am not sure about how to accomplish this in UML class diagrams. Scenario:
  • There are three classes A, B, C.
  • A has to-1-associations with B and C.
  • A must only have either an association with B or with C
How to I represent this third aspect in UML? Do I have to use a constraint (which is poorly visualized on class diagrams from what I can tell)? Is it possible find a graphic representation? By googling I found a class diagram that held a dashed line between the two associations marked as "OR", but I don't think it is supported or even part of UML?!

Can anybody help me out? Thanks in advance,
Regards,
Rouven

6
General Board / Reporting on multiple models
« on: March 17, 2012, 12:33:26 am »
Hello everyone,

I have a single EAP file with multiple models (--> root nodes) contained within, each representing a logically different aspect. In addition I have e.g. an overview diagram that points to the different models, as well as elements from one model referring to elements from another model.
With Enterprise Architect this is not a problem and up to now I also thought of these different models as just a higher level of packages.

Unfortunately, trying to create an HTML documentation, I noticed that it seems to be impossible to create one documentation containing all the different models. Is there a workaround other than pushing everything down by one level?

Thanks for you suggestions,
cheers, Rouven

7
General Board / Model Consistency: find duplicate element names
« on: August 16, 2011, 06:09:33 pm »
Hi everyone,

I have a model that is keeping on growing with several new classes or data types created each day. These types are distributed across multiple packages, maintained by different designers.
While the different packages may even make it legal to use the same element name in different contexts (as far as I have seen EA would even allow the same element name in the same package), the question is: is there a search or does somebody have a script that performs a quick consistency check and points out whether the names in use are unique?
If not I guess I'd have to write one, which could be as simple as a single SQL query, but...

Thanks anyway!
Rouven

8
General Board / RTF Reporting: Order elements by Created Timestamp
« on: July 08, 2011, 11:04:32 pm »
Hi everyone,

I am trying to generate an RTF report where the elements contained in the package are ordered by exact creation date - and by exact I mean timestamp, which is obviously stored in the EAP, but not used during the default report generation.
The report options allow me to specify that I would like to see the elements ordered by Created Date, but those created on the same date appear in alphabetical order. No! That is not what I wanted!
Can I specify a custom query or is there a report setting that allows me to reach down into the actual timestamps?

Thanks!
Rouven

9
General Board / Find attributes using primitive types
« on: June 08, 2011, 01:05:59 am »
Hi everyone,

I have a question regarding UML class modeling. We are currently working on a complex domain model and have introduced several primitives, enumerations and data types. Classes now define attributes that are of the respective types.
What I'm wondering is: how can I find out all the classes using a selected type? Is there a search feature I have not yet found? Is there a way to have the automation interface do it? Obviously I can search, but how would one present results? Search Script?

Thanks for your thoughts!

Rouven

10
Bugs and Issues / Reversed Composition-connector + Navigability
« on: June 21, 2012, 10:17:49 pm »
Hi everyone,

I seem to have run into a bug in my EA 9.2. I'm currently working on many connectors throughout my class model. What was formerly bi-directional associations is now turning into directed associations, so I have a navigable and a non-navigable end. As part of my work I was also taking the opportunity of not only setting navigability, but also align the connectors so that Source-->Target is also the allowed navigation (source non navigable, target navigable).

Now I have many compositions and I don't know whether it is EA or UML standard, but the composition is always drawn source to composed target, so A would be source and B target:
A -----<>B

I need the connector to look as follows:
A <-------<> B

And I thought I could also achieve that B is the source and A the target.

So I thought I could be able to run the following steps to get there:
  • Reverse connector from source=A, target=B to source=B, target=A
  • make the A end navigable
  • make the B end a composite
What seems to happen now is that EA will not draw the "navigable" arrow. It will only draw it if the B end is also navigable, as soon as that becomes non-navigable it will remove the navigable arrow on the A side as well.

Is this a known bug? I mean the actual direction is not critical as long as the navigation is correct, but still, it seems like an irreversible behavior...

Thanks!
Regards,
Rouven

11
Bugs and Issues / HTML report: attribute-links in Class invalid
« on: July 09, 2011, 01:38:40 am »
Hi everyone,

I seem to be experiencing a problem after an upgrade to 9.0.907 yesterday. I have an EAP-file with a customized HTML template. It concerns viewing details of a class, more specifically the attributes.
The following is the code template "Content - Attributes Item":
Code: [Select]
                 <tr>
                        <td width="100%" class="TableRow" valign="top"><span class="code_in_detailtable">#STEREOTYPE#</span><strong>&nbsp;&nbsp;#NAME#&nbsp;</strong><!--<i>--><span class="code_in_detailtable">(#SCOPE##STATIC##CONST##TYPE#)</span><!--</i>--><!--<br />--><span class="code_in_detailtable">#DEFAULT#</span></td>
                  </tr>
                  <tr>
                        <td class="TableRowBottomDashed"  colspan="1">
                              <!--<div class="DetailsDivParent"><img src="#IMAGES#/minus03.gif" align="absmiddle" id="DetailsImageAttributes#NUMBER#" onclick="parent.toggleDiv('detailsDIVAttributes#NUMBER#','DetailsImageAttributes#NUMBER#')" />Details:-->
                                    <div id="detailsDIVAttributes#NUMBER#" class="DetailsDiv" >
                                    #ALIAS#<!--<i>--><span class="code_in_detailtable">#ORDERED##RANGE#</span><!--</i>-->#TAGS##NOTE##CONSTRAINT#
                                    </div>
                              <!--</div>-->
                        </td>
                  </tr>

With an 9.0.906 Enterprise Architect the generated HTML report shows:


With my 9.0.907 Enterprise Architect the generated HTML report shows the pure HTML - seems the link was escaped:


Is this my problem only?

Thanks!

12
Uml Process / Class Discriminator - UML Best Practice
« on: May 02, 2013, 11:54:36 pm »
Hello everyone,

I am looking for some input regarding a UML domain model. We have chosen a UML class model to represent our business domains. Now we encounter situations such as:
Class A abstract with attribute a
Class B is specialization of A with attribute b
Class C is specialization of A with attribute c

As a Java programmer a concept like "instanceof" comes naturally to me, but talking to business users this is obviously a problem. Does anybody have a best practice on chosing a model representation that allows the business users to describe that they have a list of object of type A, but only wish to process those that are of type B?
  • introduce an attribute "type" as a discriminator? if so, how do you model it (static, read only, ...)?
  • introduce the concept "instanceof"?
  • other ideas?

Thanks & best regards,
Rouven

13
Uml Process / Best Practice Contradicting group in logical model
« on: April 03, 2012, 06:02:40 pm »
Hi everyone,

and again a question regarding your UML expierence. I'm working on a domain model which primarily targets the business for the time being. Since we are combining several systems into one I have users with different perspectives meeting in the target system for the first time.

One of our goals for the domain model is to define the logical terms used within the project and thus used in use cases etc. in the model.

What used to work rather well so far was to use abstract classes not only as a means of identifying common aspects, but also to introduce wording for the groups. For example if the business needs a term "Vehicle" to cover entities "Cars" and "Trucks", I'd introduce an abstract class Vehicle and make Cars and Trucks specializations.

This takes me to the problem of conflicting perspectives, let me give a simplified example:
Consider 3 business entities A, B, C.
User group A thinks in terms travel vs. duty. A and B represent travel, C represents duty.
User group B thinks in terms of ground vs. air. B and C happen in the air, A is on the ground.

Now I'm wondering how I might get these groupings introduced into the model. One alternative would be multiple inheritance in terms of multiple generalizations/specializations.
A+B specialize Travel, C specializes Duty
A specializes Ground, B+C specialize Air

Have you come across a similar problem? What was your solution?

Thanks for you input!
Regards,
Rouven

14
Uml Process / Best Practice: Business Model to Technical Model
« on: March 30, 2012, 05:50:48 pm »
Hello everyone,

I am currently looking for best practices regarding models targeting different environments. Roughly the scenario I'm looking at is a domain model for the business perspective (UML class model) and a more detailed domain model for the technical perspective.
The minimum requirement is that the technical model is identical with the business model except the technical model contains more attributes.
On top of that it would be nice if it was possible to have different cardinalities on the technical model than on the business model (e.g. 0..1 on the business and 0..* on the technical model).
And ideally I would not have to derive the model manually (i.e. sort of a defined model-2-model transformation) but could work on both models in parallel.

Does anyone have any experience achieving this with Enterprise Architect?

Thanks for your input!
Regards,
Rouven

15
Uml Process / UML Data Mapping / how to associate attributes
« on: July 23, 2011, 02:13:07 am »
Hi everyone,

a couple of weeks ago I came across an interesting screenshot/article from the EA Community regarding the possibility to design data mappings, see http://community.sparxsystems.com/whitepapers/data-modeling/data-mapping-uml.
So far I have been unable to figure out how the author managed to get the "connectors" for each attribute, these "]"-symbols. Does anyone know how this was done? Is it a standard features, what do I need to define in a UML profile to achieve this, is it a visualization trick?

Thanks for your feedback!
Rouven

Pages: [1] 2