uml

Is UML still seen as a viable way of documenting a software design? [closed]

寵の児 提交于 2019-12-03 05:00:22
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . Is UML still seen as a viable way of a documenting a software design? Extra points for references that back up any claims :) 回答1: I am responding to the new version of the question which speaks to UML as a documentation tool. I will try and role in UML as a communication tool

Loop in UML activity diagram using a region

我只是一个虾纸丫 提交于 2019-12-03 04:58:09
问题 I am modeling a loop in an UML activity diagram. It works well with simple condition nodes (diagram 1), but I am looking for a more expressive way to emphasise the loop semantic . So I came to "regions" or "interruptible regions" which are shown here and there, but I couldn't find many really satisfying examples. My example is a function which processes messages of a given list. The loop aborts as soon as the first valid message is found, then the message is processed and the function returns

UML类图总结

浪子不回头ぞ 提交于 2019-12-03 04:54:21
UML类图 1.基本概念 UML(Unified Modeling Language)是一种统一建模语言,为面向对象开发系统的产品进行说明、可视化、和编制文档的一种标准语言。 2.类图 用户根据用例图抽象成类,描述类的内部结构和类与类之间的关系,是一种静态结构图。 在UML类图中,常见的有以下几种关系: 泛化(Generalization), 实现(Realization),关联(Association),聚合(Aggregation),组合(Composition),依赖(Dependency) 各种关系的强弱顺序: 泛化 = 实现 > 组合 > 聚合 > 关联 > 依赖 2.1 泛化 【泛化关系】:是一种继承关系,表示一般与特殊的关系,它指定了子类如何继承父类的所有特征和行为。例如:老虎是动物的一种,即有老虎的特性也有动物的共性 2.2 实现 【实现关系】:是一种类与接口的关系,表示类是接口所有特征和行为的实现 2.3 关联 【关联关系】:是一种拥有的关系,它使一个类知道另一个类的属性和方法;如:老师与学生,丈夫与妻子关联可以是双向的,也可以是单向的。双向的关联可以有两个箭头或者没有箭头,单向的关联有一个箭头。 【代码体现】:成员变量 2.4 聚合 【聚合关系】:是整体与部分的关系, 且部分可以离开整体而单独存在 。如车和轮胎是整体和部分的关系,轮胎离开车仍然可以存在。

How to design/plan for web application development?

岁酱吖の 提交于 2019-12-03 04:30:51
问题 I'm interested in learning how to design/plan for web application development, in a multiple developer team scenario. Assuming the role of "Project Manager/Lead": What "documents" are needed for successful web application development? What UML diagrams are needed and to what degree? In the design/plan phase does each - as per use case - class need to be diagrammed? How detailed (depth and breadth) should the class diagrams be? If you have any helpful book/website recommendations, please share

How to understand the design and code flow of any product quickly? [closed]

狂风中的少年 提交于 2019-12-03 04:19:10
问题 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 . I have switched to a new company and I am working on a product that has a huge code base without documentation. I want to quickly get

Free utility which runs in Linux to create a UML class diagram from Java source files

白昼怎懂夜的黑 提交于 2019-12-03 04:15:13
问题 I prefer to jot down UML-diagrams on paper and then implement them using Java. It would be nice to have a utility which could create UML-diagrams for me which I may share on-line and include in the digital documentation. In other words: I want to create UML diagrams from Java source code. The utility must be able to: Run in Linux. Handle Generics, i.e show List<Foo> correctly in parameters and return type. Show class inheritance and interface implementations. It's nice if the utility is able

How to represent an attribute's data type as an array of objects on class diagram?

≯℡__Kan透↙ 提交于 2019-12-03 04:06:43
问题 Which way is the right one to show that an attribute's data type is an array of objects? I have found two different versions online. I have a SportsCentre class and I also have an Employee class 回答1: Both are correct, but the second one, when multiplicity is set to more than one is used is more natural, and it is not necessary do define collection class as it is shown on the first picture of your example. Simply said, multiplicity defines how many instances of specific type can be stored by

UMLet Diagrams like Use Case, Class, Activity, etc

自古美人都是妖i 提交于 2019-12-03 03:58:44
问题 Can you please help me find a detailed tutorial on this topics: UML Behavior Diagrams Use Case Diagrams Activity Diagrams Structure Diagrams Class Diagram Interaction Diagrams Sequence Diagram Communication Diagram I'm really a newbie and I want know what are the ideas in using UML diagrams, there differences, and the tools (like UMLet) that are ideal for novices like me. 回答1: First and for most let me discuss UML and Use Cases . UML is just a graphical way of describing software systems.

Eclipse UML plugin with Java Code Generation

瘦欲@ 提交于 2019-12-03 03:24:42
Does anyone know of a good (read: Free) Eclipse UML plugin that can also do code generation? If not, does anyone know of any good Eclipse UML plugins? EDIT : I'm running Eclipse IDE on Fedora Linux TIA Noob eUML is free (read the license for restrictions): http://www.soyatec.com/euml2/features/ Also Jupe: http://jupe.binaervarianz.de/ I've had some luck creating UML diagrams based on java code with ObjectAid: ObjectAid Download Page . It was made for Eclipse so it should work. However, I don't know if it does code generation... but it makes a pretty picture! The site lays out how to install it

UML tool for reverse engineering an eclipse project

匿名 (未验证) 提交于 2019-12-03 03:05:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am currently working on a project in Eclipse but the problem is that this project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to make a reverse enineering of the project to see his architecture in UML. Do you know an eclipse plugin who can complete this task very easily? Thanks for your answer !! 回答1: I think MoDisco is what you are looking for ( here for a short intro) 回答2: It seems that the question is dealing with Eclipse plugin therefore Modisco and StartUML