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
16
General Board / Re: What is Sparx and for what purposes it should be used
« on: September 28, 2017, 12:01:35 pm »
Hello Alex,

the most widely accepted definition of Enterprise Architecture is provided by the Open Group via the TOGAF standard.  TOGAF is 100% free and all of it is available at
http://pubs.opengroup.org/architecture/togaf9-doc/arch/

UML is widely accepted as one of the better ways to generate the artifacts described in TOGAF. 

Sparx provides a TOGAF plug-in module with all artifacts templates ready for use.

It doesn't get any easier or better than this.  All the hard work is done for you... it's just a matter of rolling up your sleeves and getting to work.

17
Suggestions and Requests / Re: In-house training in HK
« on: September 09, 2017, 01:21:37 pm »
I may be able to help depending on the kind of training needed.  I'm based in Taipei but will be presenting at the Open Group - Enterprise Architecture Digital Transformation conference in Shenzhen on Sept. 21-22 (using EA! Yay!), so we may be able to meet there on en route (flying via HK).  I speak Mandarin but not Cantonese. Send me a personal message if interested. 

18
Uml Process / Re: Importing XMI from Papyrus to EA
« on: August 23, 2017, 10:19:45 am »
EA version 13.0.1310; importing a model from Papyrus Neon (version 2.0.2).  Couldn't do it without the kludge: I was getting an EA error message on the lines of "unknown XMI version".

19
Uml Process / [Solved]: Importing XMI from Papyrus to EA
« on: August 23, 2017, 01:48:00 am »
Hello I resurrected this old topic because I was just now in this situation and could not find a solution online, but this kludge worked for me: I manually change the Papyrus *.uml file on the second line as follows:
From "uml:Model xmi:version="20131001"  to uml:Model xmi:version="2.1"

Then all model elements imported into EA correctly (even notes loaded correctly).  Obviously no diagrams since the *.di file is a Papyrus specific thing, but everything else seems fine!

I don't know why all my Papyrus UML files have xmi:version="20131001" in my *.uml file header.  I'll ask on the Eclipse Papyrus forum when I have time.

20
General Board / Re: What is a "property"?
« on: August 17, 2017, 01:38:17 pm »
Sorry for bringing this up again, but I have to vent my anger and here at least there are sane people.

This happened elsewhere and today by the way!

THEY: Oh, you can't have the same name for a component and a class.
ME:  (deep breathing for at least 24 minutes) Que?
THEY: Oh, you can't do that because they would mean the same thing!
ME: (madly fumbling for 000 on my phone) So, a picture of a brick called "Fred" is the same thing as a picture of a dog called "Fred"?
THEY: Uh, what do you mean?
ME: ("Yes, hello operator. I desperately need three kg of Valium") Listen carefully, I will say this only once! (thinks: or twice,or thrice or perhaps 6.023*10^26 times...) (Very deep breath) OK. Is a picture of a dog called Fred the same thing as a picture of fish called Wanda?
THEY: I thought we were talking about the system?
ME: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRRRRRRRGGGGGGGGGHHHHHHHHHH!


Oh and by the way Paolo, that is actually a picture of a Picture that is (vicariously) called "This is not a Pipe" :P
 

I would suggest that the answer could have been that in UML 2.x components and classes are semantically DIFFERENT things, therefore they CAN have the same name... it would be like using he same name for an actor and a class... not necessarily a good idea, but not incompatible with the standard.  I think that classes realize components, so they are not the same thing semantically.

21
Uml Process / Re: Reusing UML Sequence diagrams
« on: August 09, 2017, 11:27:28 am »
Hello
Hope this can help.

I think your question is about how to use UML instead of how to use the EA tool - if you understand UML 2.x, then what to do in Sparx EA will become obvious.

If I understand what you want to achieve, I suggest you read up on <<include>> and <<extend>> use cases.  That will help you map out exactly what sequence diagram can be reused, under what circumstances (use cases are the preferred way to show what a sequence diagram does). 

Then you can use combined fragments to implement <<include>> and <<extend>> in your sequence diagrams.  "Ref" fragments can be used for <<include>> and "alt" or "opt" fragments can be used for <<extend>>.  This will give you an accurate, precise and easy way to reuse sequence diagrams.

Sorry if I misunderstood the question!  Cheers

22
Thank you KP.  I understand the point of _AttPub not being relevant to a toolbox profile.  So I would need to extend a class to have the characteristics that I want, then add the extended class to the toolbox.  But how to extend class so that the default scope for its attributes (and operations too) is public instead of EA default of private?  Thanks!!!

23
 BUMP!  Anyone has ideas?  Thanks!

24
General Board / Re: What is a "property"?
« on: August 02, 2017, 12:17:00 am »
In UML 2.5 a property is just a catch-all name for a feature of a classifier.  The excellent (and concise) "The Unified Modeling Language Reference Manual, second edition" by Rumbaugh, Jacobson and Book takes 7 PAGES to explain properties.  So, I suggest you just roll with it.....

25
General Board / Re: Can't add attributes or operations using toolbox???
« on: August 01, 2017, 06:12:45 pm »
Thank you for quick clarification!  So I guess it really depends on UML 2.5 metamodel to decide if what I want to do (add unstereotyped attribute/operation to class) is legal or not.  I think full compliance with UML spec is important... would not want to 'bastardize' the tool just to add this small convenience.

But then again, this action is possible by right clicking on model explorer or on the class in the diagram... so why not via the toolbox?  And what is the correct use of attributes and operations in the toolbox?  Forum moderator or EA gurus any takers for this question?

26
General Board / Can't add attributes or operations using toolbox???
« on: August 01, 2017, 04:25:49 pm »
Using the basic UML 2 technology (default setting in EA) I can add attributes and operations to classes using the project browser or by double clicking on each class on the diagram; but I cannot drag attributes or operations from the toolbox over the class: I get an error message "Unknown/illegal base type 'Attribute'  Command UML: Attribute".  User guide search shows that this is due to wrong metaclass - I suppose I'm using these toolbox elements in wrong way... but then what is the right way to use them?  Thanks!!!
(p.s. crosspost notice: in separate post I'm asking for help to get attribute default scope = public)

27
I created a MDG toolbox for regular class diagram.  In the profile metaclass I added an attribute _AttPub, type int, initial value 1 (following the MDG technologies user guide on page 43).  When MDG deployed everything works except when I add an attribute to the class using this toolbox, the attribute scope is Private by default. 

The MDG XML file is below.  My goal is to have all attributes scope set to public by default whenever I create a new attribute in a class.  Any help appreciated!
(p.s. crosspost notice: in separate post I'm asking for help to get attribute creation via toolbox)

Code: [Select]
<?xml version="1.0" encoding="windows-1252"?>
<MDG.Technology version="1.0"><Documentation id="0730" name="RFClass0730MDG" version="0730" notes="0730"/><DiagramProfile><UMLProfile profiletype="uml2">
<Documentation id="8B780C68-B" name="RFClass" version="1.0" notes="RFClass"/>
<Content>
<Stereotypes>
<Stereotype name="RFClassDiagram" notes="">
<AppliesTo>
<Apply type="Diagram_Logical">
<Property name="alias" value="RFClass"/>
<Property name="toolbox" value="RFClass"/>
<Property name="diagramID" value="RFClass"/>
</Apply>
</AppliesTo>
</Stereotype>
</Stereotypes>
<TaggedValueTypes/>
</Content>
</UMLProfile>
</DiagramProfile><UIToolboxes><UMLProfile profiletype="uml2">
<Documentation id="CABB778E-B" name="RFClass0730" version="1.0" alias="RFClass0730" notes="RFClass0730"/>
<Content>
<Stereotypes>
<Stereotype name="RFClassElements" alias="RFClassElements" notes="RFClassElements">
<AppliesTo>
<Apply type="ToolboxPage">
<Property name="_AttPub" value="1"/>
</Apply>
</AppliesTo>
<TaggedValues>
<Tag name="UML::Package" type="" description="" unit="" values="" default="Package"/>
<Tag name="UML::Class" type="" description="" unit="" values="" default="Class"/>
<Tag name="UML::Attribute" type="" description="" unit="" values="" default="Attribute"/>
<Tag name="UML::Operation" type="" description="" unit="" values="" default="Operation"/>
</TaggedValues>
</Stereotype>
<Stereotype name="RFClassConnectors" alias="RFClassConnectors" notes="RFClassConnectors">
<AppliesTo>
<Apply type="ToolboxPage">
<Property name="_AttPub" value="1"/>
</Apply>
</AppliesTo>
<TaggedValues>
<Tag name="UML::Association" type="" description="" unit="" values="" default="Association"/>
<Tag name="UML::AssociationClass" type="" description="" unit="" values="" default="AssociationClass"/>
<Tag name="UML::Generalization" type="" description="" unit="" values="" default="Generalization"/>
<Tag name="UML::Aggregation" type="" description="" unit="" values="" default="Aggregation"/>
<Tag name="UML::Composition" type="" description="" unit="" values="" default="Composition"/>
<Tag name="UML::Dependency" type="" description="" unit="" values="" default="Dependency"/>
<Tag name="UML::Realization" type="" description="" unit="" values="" default="Realization"/>
<Tag name="UML::Nesting" type="" description="" unit="" values="" default="Nesting"/>
</TaggedValues>
</Stereotype>
</Stereotypes>
<TaggedValueTypes/>
</Content>
</UMLProfile>
</UIToolboxes></MDG.Technology>

28
General Board / Re: EA 13 does not have a database front end?
« on: July 26, 2017, 11:37:57 am »
Thank you Helmut and QWERTY.  Your answers helped me realize that the database builder / query developer is available from CORPORATE version and up... and I have PROFESSIONAL version!!!  So back to using SQLiteman...

29
General Board / EA 13 does not have a database front end?
« on: July 24, 2017, 08:56:09 pm »
Hello I am still new to Sparx EA (using build 13.10) and I would just like to confirm my understanding that EA (Data Modeling MDG) does not provide a simple frontend for databases for things like loading test datasets and testing queries during query development.
I can connect to the database (SQLite) with OBDC and do forward/reverse engineering, so I expected that a simple frontend would be integrated in EA... but I can' t find anything on the user manual or web.  Just wanted to double check if I missed anything before I turn to SQLiteman or something similar (I would prefer not to switch between several tools).
Thanks!



30
General Board / Re: Data objetc reuse in BPMN?
« on: July 15, 2017, 12:33:40 am »
Hi QWERTY,
I seem to remember that BPMN is not a profile or 'dialect' of UML although it looks similar to activity diagrams.  I think it has different origins (graphical programming using service classes or some such...).  I'm sure other experts can comment (I only know a little because I had to learn it for a project but did not continue using it after that)

Aleksi, I seem to remember from when I was learning BPMN that you can sort of map the messages of BPMN to data structures (I seem to remember that it was not an exact mapping, but again I'm no expert...).  I'll ask some people more knowledgeable than me... I'll post again if I get an answer!

Pages: 1 [2] 3