uml,enterprise-architect , Limitations of Packaging Components in Sparx EA?

Limitations of Packaging Components in Sparx EA?


Tag: uml,enterprise-architect

I'm running into what I would say are some limitations with the Packaging Components in Sparx EA.

I use them to aggregate a number of commonly-themed web services in a Package. To be specific, they are JAX-RS Web Services. I model the Resource as a Packaging Component and the invokable method of the resource as Components.

  1. I created a profile and added stereotypes, etc. as per documentation. When I use them as an MDG Technology in my model, the stereotypes I created for Components were available, but not the ones for Packaging Components. That is, my Packaging Component stereotypes aren't offered as an option for Packaging Components I create.

  2. I tried to put two Packaging Components on a deployment diagram and connect with a Uses Connector to show that the one package of Components invokes the other. This (to my mind) was a good way to show usage at a higher level than the specific "this component uses that one" (which I model in another diagram as a Uses Connector). But, the only connecting options available for this are Dependency, Information Flow and Trace.

  3. In a deployment diagram, a "Packaging Component" cannot be contained by a "Device". I can drag a "Component" into the device, the outline highlights and a some type of containment relationship is created. However, with a "Packaging Component", this containment is not activated.

These observations challenge my understanding that a Packaging Component is "just like component, but has the added benefit of being a package for components as well".

Is that a misunderstanding of Packaging Components ... or a limitation of EA?

  1. The list might not be complete. Simply type PackagingComponent manually.
  2. I guess this connector is heritage as I can not find it in the current Superstructures 2.5. Instead use a dependency and stereotype it with <<uses>>. The default quick linker does not offer that directly but you can extend the quick linker with your own connectors.

I have a write-up for MDG here: ICR whether I used the quick linker in that example (I guess I did) but it's another tricky story good for another set of questions ;-)


Changing the Diagram Layout from down to up in Enterprise Architect via C# API

How can I change the layout direction of a diagram in Enterprise Architect via C# to get the same result as displayed in the picture: ...

Set Deafult Language for Code Engineering

May this is not the place to ask such a thing, but there are several experts here... I cannot find the definition of default code engineering language in EA 12. In previos releases it was under Tools -> Options, on the source code engineering tab: Where it it hidden?...

Does Facebook use-case have one or more actors?

As a class project I must make 5 use-case diagrams after analyzing Facebook web page. My doubts arise when whether to include FACEBOOK as an actor or simply use the user as a single actor system. Overall, I've made my diagrams like this. Use-case create an account: Here the...

EA - Obtain the `Local Project Path` directory in the project's `Version Control Settings`

Preface This relates directly to Enterprise Architect's API and its scripting capabilities and not so much with actual JScript/Javascript. Question How do you obtain the Local Project Path directory in the project's Version Control Settings using EA's scripting API? Note: [Package].XMLPath only provides the path relative to that location, which...

VS 2013 generated code from UML references error

I created an UML model about my data model with Visual Studio 2013 to manage the model easier and let the VS generate the source code of the model for me. Unexpectedly, I faced a strange issue you can see in the picture below. It says the references to the...

Limitations of Packaging Components in Sparx EA?

I'm running into what I would say are some limitations with the Packaging Components in Sparx EA. I use them to aggregate a number of commonly-themed web services in a Package. To be specific, they are JAX-RS Web Services. I model the Resource as a Packaging Component and the invokable...

Where to place a method which checks if two edges are parallel in a graph?

I'm divided as to where to place a method which checks whether two edges are parallel in a graph. In the UML class diagram seen below, I have placed my suggestions in notes. The figure depicts that a Graph consits of Edges and Vertices. Two edges are parallel if they...

Representing LinkedLists in UML diagrams?

Wondering what is the format to represent this state of a class inside a UML diagram private LinkedList<String> list; Thanks for your time...

Component diagram for WAR file?

Let say there's web project which is packed as war file. That project has dependencies on several libraries. How to show those dependencies without specifying which inner component of that war file uses which library?...

Database tables for tennis court booking system

I'm trying to find the best implementation of class diagram and database structure for football court management. The system have three actors: Super Admin : manage everything with all privileged (web back-office) Court Owner : can create a Football Club that may have more than one stadium (web back-office) Player:...

How to represent database columns and instance variables in UML

I am using Ruby 1.9 and Rails 2.3. I am designing class diagrams for Model classes. I was stuck with two doubts. 1.How to differentiate database columns and instance variables in Class diagram variables section. 2.In Ruby Active record created setters and getters for database columns automatically, In this case...

What underlying difference makes Node Instances appear different?

I have two similar (if not identical) node instances that are appearing differently in a deployment diagram (and anywhere else that I use them). I may have done some odd things in the past while beating EA into submission. But, now ... by pulling every lever I can imagine, I...

Laravel MVC application structure on UML class diagram

As shown in many examples, MVC architecture involves three classes - Model, View and Controller respectively. With this, it is simple to show MVC on UML class diagram. However, in Laravel the view is not a class directly, it is a page. Can you please tell me, how to display...

Sparx EA: What type of relationship created when a Component is added to a Node?

In this question (point #3), I asked about getting a Packaging Component recognized as contained by a Node (device or execution environment) on a deployment diagram. No direct answer. However, the answers to other points led me toward an alternative that seems simple in concept: manually create the relationship or...

Can association between package and actor be made?

Can it be done like this? I know I can make one actor which generalize behaviour of two on the left, but I need to know if this case shown below is possible. ...

What is the correct graphical representation of an empty UML class?

Most UML tools represent an empty UML class with empty fields for both, attributes and operations. But looking at the UML Infrastructure and Superstructure, there are a lot of empty classes shown as one single rectangle including the name of the class. But I cannot find a clear statement which...

Get element background color in EA

How can I get color of element (eg. boundary) by using official API? I assume that it's save in database in t_objects -> backcolor, but I cannot find property/method in Element to get it....

State Machine Diagram - Transition from all states

I build a UML state diagram and have a case where same transition to specific state exists from most of other states. What is the most elegant solution to draw it? Currently I though about two options: 1) Use junction pseudo-state with exit to my target state 2) Wrap source...

How can i generate domain model diagrams, and documentation

I imported my project files into Enterprise Architect, under the Domain Model section. The program imported the files correctly, but it did not create domain model diagrams, so i can generate documentation about it, but it is empty. If i imported the project files under the Class model section, class...

UML diagram in XMI Format

My question is: is there a document or other that explains how to represent the elements of uml diagram in universal xmi format ( for example in the class diagram how te represent a class, attribute.... in xmi format)?

sequence diagram in a specific situation

Hello I'm studying sequence diagram. For example there are 2 actors, an actor is a trader who has an online shop. Another actor is a customer who buys the trader's products. How do I represent the situation when the trader is storing the products into a database or when the...

Interfaces in UML component diagram

In the UML class diagram the interface is equivalent to the interface concept in programming languages (a set of methods that the class that implement the interface should implement). I want to know if the interface in the component diagram has the same meaning. Are the interfaces mentioned in the...

Is there any tool to generate uml diagrams for Ruby on Rails [closed]

I want to know whether any tool is available to generate uml diagrams based on the ruby class files. My Rails version: 2.3.14 Ruby version: 1.9.3p547 Thanks for the help...

How to model tight coupling in UML class diagrams

As far as I know it is possible to indicate tight coupling in a component diagram by using the port notation and a straight line between them. Contrary to the ball and socket notation. How do I indicate tight coupling in class diagrams?...

how to make a note with implementation in a UML class-diagram in visual paradigm

I have been looking around for this for ages, but could not find any way to link a UML note to an operation of a class or to display the provided implementation in the specification of an operation. The idea is illustrated in the picture. I tried to add the...

user-group aggregation relationship in UML

if a user can be part of many groups and a group can contain many users , in UML this relationship has to be represented as an Aggregation relationship? or we can just use a simple association ?

How to model an enumeration class?

An attribute of a class is an enumeration. How do i model this? Normally you do something like this: - name : string But how to do this with an enum? , what is the standard uml representation of enum ? ...

How to represent this class relationship in UML? (java)

The following class is run to instantiate all the other classes for my program. I'm wondering how to represent the relationship between the StartHere class and the UI class in a structural UML diagram. import java.awt.EventQueue; public class StartHere { public static void main(String[] s) { EventQueue.invokeLater(new Runnable() { public...

UML tool for reverse engineering a Java Project [closed]

I am currently working on a Java project with "IBM Rational Software Architect"(Licensed Version) as an IDE .My task is to understand the code flow and need to prepare Technical Document as the project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is...

Documentation with Diagram “Hyperlinks” in Enterprise Architect?

I'm struggling to get all the required (and only the required) information into the documentation of my Enterprise Architect Project. Precisely: we have modelled various requirements and displayed the source "standards" for these requirements in our diagrams by using the "hyperlink"-element out of the common toolbox. (This allows us to...

Activity Diagram and SwimLanes

Should activity diagram include detailed information about how the system functions from the start of the application? Say for example i am making a swing application in which the app loads a JList with images when the application opens, so should i specify that in activity diagram even though user...

how to represent Updates avtivity using UML

I am trying to create an activity diagram and i need to represent an update activity. So is it possible to do this in activity diagram or there is another alternatives to do so ??? thanks for your help. ...

Use Case: Almost same use case, different actors

I have one use case "Transfer request" linked to two Actors (Analyst and Inspector). The scenario/exceptions/alternate flow are essentially the same, but for each actor the pre-conditions and post-conditions are different. The request has different states, and that final state and previous states differ depending on the actor that's calling...

Conceptual Modelling - Is my drawing correct ?

I have a exam tomorrow and we have gotten a sample exam, but since there are no answers to this sample exam, Id thought Id ask here. So here we go, this is one of the questions Im not sure if ive done correctly: Q: Draw a conceptual model describing...

different ways of enforcing association relationship

For an association between two objects: If I have an "Office" object and a "Person" object. I would model that as an association and I've come up with the below example code as a means of enforcing it. But looking at it, there are a lot of things I would...

create emf generated model from an uml model

I'm triying to create a graphical editor using eclipse gmf, based on an uml model, for this I created a .gnemodel file based on my uml model but I do not have the associations in the generated .ecore file I used eclipse papyrus to create the uml model and I...

Sequence Diagram generator for Ruby or Ruby on Rails [closed]

Is there an application / gem / anything that can generate sequence diagram for Ruby method? I need to generate some sequence diagrams for a Ruby on Rails project and I cannot find anything that can help me. Thanks!...

Display Notes of Custom Stereotypes in Enterprise Architect

I want to create my own custom toolbox. Therefore I created a metaclass and a stereotype. In the stereotype I wrote a note that gives some instructions about how to populate the object. Problem is, when I create my MDG Technology, the Notes won't display in the objects I create...

Hashmap in UML diagram?

I want to write a class diagram for a class that contains a hashmap. Normally, I would do this: But my Map looks like this: private Map<Beacon, String> beaconRoute; The key is a custom class. How can I describe it in an UML diagram?...

UML Class Diagram - A user can't send a message to another user if he's not interessted in his offer

As the title mention, i have 3 classes : User, Offer, Message. There is a constraint : A user can't send a message to another user if he's not interessted in his offer. How do i model this case?! where i should add the proper attributes?!

Using “Get all latest” function of Enterprise-Architect outside of the EA

Is there a way to acces the EA function "Get All Latest" for a package of the EAP file outside of a running Enterprise architect. For example via a batch file?...

about constraints in class diagram

Take the following class diagram: I want to model the following constraint: A member must not participate in several thesis defences programmed on the same date....

Use case for multiple login option

I have a use case where user may log in via normal login, as well as social login such as Twitter, Google, Facebook. I draw the use case as below but not sure if it is correct. Login account ---extends---> normal login ---extends---> Twitter login ---extends---> Google login ---extends---> Facebook...

What is really different with FLOW CHART from ACTIVITY DIAGRAM?

I know activity diagram is more simple standardized support concurrent flows than a flow chart. But what is the reason I should use activity diagram rather than flow chart apart from those above points. I'm just started UML. And this point is unclear for me. Can anyone explain to me?...

How to move a diagram between projects?

I'm a very basic user of EA. I never had the time to learn its terminology or features and therefore i only use it to create pretty basic (yet rather big) diagrams. Unfortunately my EA project file was updated by another person and now i need to move a diagram...