uml

when do we draw association?

Class Engine has "start(c:Component)" method. So do we need to draw an association between Engine and Component Class IF there is no "new Component()" inside Engine class. Thanks & regards ...

Can I hide the getter and setter methods in the UML2's view ?

UML2 is a plugin of eclipse, it's here http://www.eclipse.org/modeling/mdt/?project=uml2 Now, I want to hide the getters and setters, but I don't know how to get it. Any suggestions? ...

Can you help me improve my decorator-based design?

I have a small program to build a house. A house will have many floors (storeys), a storey can have many rooms, a room can contain many items. So I tend to use the Decorator Pattern for this program. Here is the initial design: Can you help me to improve the design? ...

Enterprise Architect UML Class Code Generation

I am working with EA (Ver 8.0858). I am trying to generate code based on two class diagrams. I would like it to output both to the same file since they are related and small. I can only get it to output code from one of the diagrams but not both. I have created the file manually and reverse engineered it back into EA as class diagrams. E...

How do you represent an application in UML?

Is it as simple as just a square or rectangle with the application name in the center? ...

Need help interpreting UML for C# "College Student Here"

I missed class this week, due to my son being sick and I missed this portion of the lecture for the week. This is example below is what they went over in class but im having a hard time understanding what needs to be done and the book nor the teachers examples are clearly expressed so that I can understand. I guess what I need is some gu...

Methodology to create architecture diagram

I need to create an architecture diagram for an existing system. I want to show the "big picture" as well as small details. What makes more sense: Create one diagram for the big picture, and a separate diagram for each smaller component. Create one diagram with all details. I guess this requires correct tooling to be able to show a si...

Problem modelling address generalization

Hello, I’m a bit concerned about how to model this rather simple scenario the best way in UML and ERM. When designed it has to be implemented in C# (Entity Framework 4) and SQL Server 2008. The case is that I have a person, who has a postal address. Now this address can be two types, either a postal box, or a house identifier (house nu...

Is Oracle killing Opensource Netbeans in favor of JDeveloper ?

To my surprise Netbeans UML plugin is no longer supported. Jdeveloper UML features is not equivalent to this plugin so my question. ...

How to describe algorithms when doing Use Cases?

Let's say I'm making an Use Case for a game that has a scoring system. Each action you do in the game will increase/decrease your score in the game. Here is a sketch of my Use Case: 1. ... 2. ... ... 8. The Player makes (some move). 9. The System registers the play and calculates his new score. There is some algorithm behind calculat...

How to signal that a Use Case is over?

Let's say I am making a Use Case about filling a quiz. You have only 5 minutes to fill that quiz. When doing the Use Case for "Filling the Quiz", how should I signal there is a time limit and that after that the Use Case is finished? I simply write it by text or is there anything more formal to use? Sketch of what my Use Case can be: ...

UML diagrams question regarding composition/aggregation of Base class - does the Derived class need diamond link?

Hi. If, for example, I have the following requirements: 1. Dog is an Animal 2. Zoo has Animal(s) Do I still need the 2nd diamond connector (the lower one) as shown in the image below: https://docs.google.com/drawings/edit?id=1TlnDD8LrqPo-J9_gfHdGm6Y9BpeqC8N-c6Cnc9bPwko&hl=en&authkey=CNLq5bYB Thanks. ...

UML and Algorithms

I am a bit confused about where to describe the algorithm I might use in some part of an application. Let's say I want to create a Use Case that describes how the User inputs a set of values and my application returns the average of those values (of course this is a dead-easy case, but its easier to explain it this way). 1. The User t...

UML Activity diagram - Input Activity Parameter Node

Is it allowed to connect the Output Pin of an Action to the Input Activity Parameter Node of an Activity ? ...

Is it possible to export Visual Studio UML diagrams to Enterprise Architect?

Working with Visual Studio 2010 and having all the UML diagrams in the VS solution, I wonder if it is possible to export those diagrams (classes, workflows) in Enterprise Architect to benefit of its tools. In brief, I would like to define in Enterprise Architect test scenarios for all these classes and workflows but I would like not to ...

What does inheritance in UML do with your ERD?

Hi, I created a class diagram for a system and now I have to model it into a real system. This means converting it to a database. Now there is a base class which has just a few attributes, but there are many classes that inherit from it. Now my checklist for converting says I have to create a table for every class. I don't know how to...

Are there any tools that make keeping the UML models in-sync with the code completely seamless?

UML Round-Trip Engineering tools with seamless synchronization? The Rational suite purports to do it. But it's so pricey and clunky at drawing (worse than the Rose days) that it's not in the reach of most departments. What’s amazing is that the free Bouml seems to do a fantastic job. It’s just feels too clunky to use. It has a great de...

UML/RUP and non OO applications

At my current job, we are currently implementing UML and RUP for the day by day coding and designing... The current structure have 2% of all code (100000+ lines) object oriented... So they have this issue, when a developer have this new "case" (ir, requirement, etc) they must complete all the documentation and analysis to that old thing...

Which tools do you recommend for java round-trip-engineering ?

I am especially interested in generating code from sequence diagrams and vice versa- ie., sequence diagrams from code. Ofcourse it would be nice if it was free and better if it was an eclipse plugin! ...

Why should one use factory method to create objects

Possible Duplicates: Factory Pattern. When to use factory methods? Why do static Create methods exist? Though I know what is Factory Design Pattern. But I am unable to comprehend what are the benefits of using it. Why should we create objects using Factory Design Pattern. ...