uml

Active class versus passive class

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In UML specification superstructure 2.5(still Beta, page 203) A Class may be designated by setting isActive to true as active (i.e., each of its instances is an active object). When isActive is false the Class is passive (i.e., each of its instances executes within the context of some other object). I wonder if there is a simple example illustrates the differences in applying each one of them? And elaborate this concept a bit? 回答1: By definition, Active Objects In UML, active classes, and therefore active objects , exist in their own thread

MVC UML class diagram

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've have to work on a new project,written in C# mvc,the first thing i would like to do is create an UML class diagram. Is there somewhere an example of how to do this? Most examples show one controller with one view and one model. But in this project there is per controller multiple Views and multiple ModelDto's Thanks. 回答1: You can do like below by using MS visio or any other UML tool. Just a sample looks like below (methods and properties should differ) Like above you can extend the above diagram for more views and models per controller.

USE case to Class Diagram - How do I?

谁说我不能喝 提交于 2019-12-03 02:50:00
问题 I would like your guidance on how to create classes and their relationships (generalization, association, aggregation and composition) accurately from my USE case diagram (please see below). I am trying to create this class diagram so I can use it to create a simple online PHP application that allows the user to register an account, login and logout, and store, search and retrieve data from a MySQL database. Are my classes correct? Or should I create more classes? And if so, what classes are

How to show asynchronous operations on UML Activity diagram

為{幸葍}努か 提交于 2019-12-03 02:48:45
问题 I am about to draw/document for some client-server connection establishing code to better understand it. There are several operations that are done asynchronously in separate threads (connecting threads, data receiving threads, etc). Should I show them on separate diagrams? I would prefer to have it on a single diagram to grasp overall view but don't know how to represent it on Activity diagram. 回答1: I'm not sure if there's a correct way of doing this, I developed my own method by testing

Relational UML Diagram inspired by SO

匿名 (未验证) 提交于 2019-12-03 02:33:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My homework was to create a relational UML diagram about a discussion site. I used the SO schema , and I did some modifications: removed Age in the User Information added representatives, which allows users to categorise posts by their usernames (voluntary) Otherwise, the schema is rather similar, but rudimentary. How would you improve it? Clarification The main idea of representatives is to categorise posts. The list contains only a handful possible names. In contrast to badges, the idea is not to funny, but organised. If you ask questions

Are UML diagrams only for Object oriented approach?

匿名 (未验证) 提交于 2019-12-03 02:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there any restriction that UML diagrams could be drawn only for systems with Object oriented approach? Can we use them for other approaches (E.g.: procedural)? 回答1: Yes, you can definitely use UML for modeling with other approaches, for example the use case diagram or acitivity diagram are in no way bound to OOP. 回答2: A discussion in the comments of another echange lead me to make another answer here because I think the other answer is a bit short. In fact, the original authors of UML, Booch , Jacobson and Rumbaugh ,in their books ( The

Creating UML Class Diagrams in NetBeans 7.1.1

允我心安 提交于 2019-12-03 02:27:59
I want to install/enable the NetBeans plugin for creating and viewing UML diagrams, as seen here . However, fairly extensive searching has turned up results for NetBeans 6.5 and lower, whereas I am using NetBeans 7.1.1. (I've tried those solutions, though, but to no avail; what they said should be in the IDE was not, such as the Update Manager) Does anyone know how to get NetBeans 7.1.1 to show UML diagrams of Java projects? blackcompe Netbeans 6.7 was the last version to support UML. For 7.1, there's (1) a semi-broken workaround and (2) yWorks UML Doclet , which will let you generate diagrams

Free Tools to Automatically Create UML Diagrams from an Existing .Net Project

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Are there any free tools to automatically create UML diagrams from an existing .Net/Visual Studio 2005 projects? 回答1: If you are using Visual Studio Team Suite 2005 (note: not 2008) I believe you have the option to reverse engineer the .Net code into UML in Visio, Note, this doesn't apply to Visual Studio Team Suite 2008! To reverse engineer .Net code into UML with Team Suite 2005 you should be able to click on the following menu items: Projects -> Visio UML -> Reverse Engineer. For Team Suite 2008 (just as an FYI, since you are using VS

What is the best source for learning UML? [closed]

China☆狼群 提交于 2019-12-03 02:18:35
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . What is a great way to learn good UML design? How often do you draw diagrams (other than static diagram of classes)? What is the best

free, cheap or open source UML and Visio-like tool [closed]

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We're looking for free/cheap or open source UML tools. What tools have you used ? It's OK if there are 2 tools, one each for Flow charts and UML. If a UML tool or Flow Chart tool is cheap(we're a NON-PROFIT), and no open source is good enough, we're open to look at them. Thanks and BR, ~A 回答1: Simple and easy to use: JudeUML . There is a free Community Edition. This software is now released as astah community . 回答2: It's online, but I think yUML is the best free tool I've used. I've used Violet for University work but found it clunky and