uml

Loop in UML activity diagram using a region

久未见 提交于 2019-12-02 18:14:12
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 true. Otherwise, it returns false (please no comments on sense or nonsense, it's only for the sake of

How to design/plan for web application development?

走远了吗. 提交于 2019-12-02 17:43:38
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. Follow-up (Added 11/18/09): What do coders/developers use as a guide during coding i.e. creation of

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

让人想犯罪 __ 提交于 2019-12-02 17:26:55
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 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 attribute. This set of instance can be ordered or duplicates in it may be allowed. Parameters of multiplicity

How can I automatically generate UML diagrams from Objective-C code?

天大地大妈咪最大 提交于 2019-12-02 17:21:51
Is there a way to create automatically the UML diagram from the code, in objective-C ? Cheers, Niels epatel Have a look at doxygen . Which seem to have support for Objective-C. It might not give you an UML diagram but it is able to show references etc in graphs and with added comments you can give more information for the formatted output. See here for an example in Objective-C, the clang project (oups, clang is actually written in C++ and works on Objective-C code) But I found this blog post about using doxygen for Objective-C code Same problem, still looking for answer: Checked Doxygen , but

UMLet Diagrams like Use Case, Class, Activity, etc

99封情书 提交于 2019-12-02 17:21:08
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. First and for most let me discuss UML and Use Cases . UML is just a graphical way of describing software systems. There are two types of UML namely: UML Sketching - here you only want to communicate an idea and go through

面向对象方法与UML的历史与发展

冷暖自知 提交于 2019-12-02 17:21:01
一、 不同的分析与设计方法 1.功能分解法( function decomposition ) 以系统需要提供的功能为中心来组织系统。 首先定义各种功能,然后把功能分解为子功能,对较大的子功能进一步分解,直到可给出明确的定义 设计功能 / 子功能所需要的数据结构 定义功能 / 子功能之间的接口。 (作为一种早期的建模方法,没有明确地区分分析与设计) 建模过程:层层进行功能分解 功能分解法得到的系统模型(由模块及其接口构成) 优点与缺点: 直接地反映用户的需求,所以工作很容易开始; 不能直接地映射问题域,很难检验结果的正确性; 对需求变化的适应能力很差; 局部的错误和修改很容易产生全局性的影响。 2.结构化方法: 结构化分析( structured analysis , SA ) 结构化设计( structured design 。 SD ) 结构化分析又称数据流法,其基本策略是跟踪数据流,即研究问题域中数据如何流动,以及在各个环节上进行何种处理,从而发现数据流和加工。得到的分析模型是数据流图( DFD ),主要模型元素是数据流、加工、文件及端点,外加处理说明和数据字典。 数据流图 结构化设计与功能分解法基本相同,基于模块的概念建立设计模型,分为概要设计和详细设计。 概要设计:确定系统中包含哪些模块以及模块之间的调用关系,得到模块结构图( MSD )。 详细设计

MyEclipse教程:使用UML创建模块库——第一部分(二)

帅比萌擦擦* 提交于 2019-12-02 17:20:48
MyEclipse 在线购买低至75折! 火爆开抢>> 【 MyEclipse最新版下载 】 UML1建模文件存储在建模库中,建模可用于生成Java代码,或者可以从代码中生成模型。本教程将向您展示如何执行与建模资源库相关的任务。 你将学到如何: 创建一个UML模型库 创建和编辑UML图 正向设计一个图来生成Java代码 将Java代码反向工程到一个图中 没有MyEclipse? 立即下载 二、创建和编辑UML图 模型存储库可以包含任意数量的任何类型图表。要将新图添加到模型存储库,请在编辑器中打开UML存储库文件,单击图编辑器工具栏上的New Diagram下拉箭头,然后从菜单中选择适当的新UML Diagram操作。 编辑器工具栏中的New Diagram图标菜单 图表也可以从UML Outline视图中创建。 Outline视图中新的Diagram下拉菜单 要编辑或查看UML图,请从Diagram Editors工具栏上的下拉图列表或MyEclipse UML Outline视图中选择它。 查看/编辑UML图 在编辑UML图表时,您可以进入“mass-add”模式,该模式允许您在图表区域中不断点击添加相同类型的元素。要进入批量添加模式,请双击要添加到图表的元素类型,然后开始单击图表画布。 Mass-add模式 要退出批量添加模式,请单击工具栏上的选择工具图标(黑色箭头)

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

廉价感情. 提交于 2019-12-02 16:42:07
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 to: Run in Windows and Mac OS X. Display enums in some nice manner. Generate output in a diagram format

How to show asynchronous operations on UML Activity diagram

霸气de小男生 提交于 2019-12-02 16:22:06
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. I'm not sure if there's a correct way of doing this, I developed my own method by testing different strategies until I came up with something that worked for my own mindset. This is how I do it:

What is the best way to structure these use cases?

柔情痞子 提交于 2019-12-02 16:11:14
问题 At the moment, I have defined 3 different use cases that are really just 3 steps in a business process ... Say I have a list of people, and all these people are interested in obtaining one or more limited resources (say for example, they are seats at concerts). Ultimately, I want to automatically and fairly allocate these people to the available seats. I have a few different algorithms I use to do this. I am documenting a system that already exists (retrospectively), so even through the