uml

UML中数据流图,用例图,类图,对象图,角色图,活动图,序列图详细讲述保存供参考

久未见 提交于 2019-12-06 07:59:41
这个文章,是我在急需的情况下在园子里搜索到的,原创作者是:DO-websoftware,为了自己看方便,所以复制到我的空间,希望原创者不要介意哦~~~~很详细的介绍,对我的帮助很大,谢谢哦。。。。 类图,对象图,角色图: 一、UML中基本的图范畴: 在 UML 2 中有二种基本的图范畴:结构图和行为图。每个 UML 图都属于这二个图范畴。 结构图的目的是显示建模系统的静态结构。 它们包括类,组件和(或)对象图。另一方面, 行为图显示系统中的对象的动态行为 ,包括如对象的方法,协作和活动之类的内容。行为图的实例是活动图,用例图和序列图。 二、UML中的类图: 1.类图的表示: 类的 UML 表示是一个长方形,垂直地分为三个区,如图 1 所示。顶部区域显示类的名字。中间的区域列出类的属性。底部的区域列出类的操作。在一个类图上画一个类元素时,你必须要有顶端的区域,下面的二个区域是可选择的(当图描述仅仅用于显示分类器间关系的高层细节时,下面的两个区域是不必要的)。 描述: 顶部区域显示类的名字。中间的区域列出类的属性。底部的区域列出类的操作。当在一个类图上画一个类元素时,你必须要有顶端的区域,下面的二个区域是可选择的(当图描述仅仅用于显示分类器间关系的高层细节时,下面的两个区域是不必要的)。 ·类名:如果是抽象类,则采用斜体 ·类属性列表: name : attribute type 如

How do you convert a document in UML 1.3 - XMI 1.1 format to UML 2.1 XMI?

放肆的年华 提交于 2019-12-06 07:29:08
问题 I am trying to convert a file exported from PowerDesigner in the UML 1.3 - XMI 1.1 format to the UML 2.1 XMI Interchange Model from Rational Software Architect. How can I do this? 回答1: It can be worth to give a try to the XMI file converter its web based using Php. 回答2: If RSA won't import XMI 1.1 then you'll need to find another tool that will. Enterprise Architect by Sparx Systems can import XMI 1.1 and can write XMI 2.1. You can get a free 30 day trial from their website at http://www

Class diagram: Can I share a composition?

孤人 提交于 2019-12-06 07:28:44
Let's say I'm using the mvc pattern to make a simple game in c++ and have a world object whose lifetime is managed by a controller class. This feels clearly like a composition, but what if, say a game logic class needs a permanent reference to the same world as well, or environments to this world (who is owned by the world) needs references to it, are these just regular associations or should I make all shared aggregations? What makes me confused is that composition is defined as 'unshared'. But does this mean not shared with any other relationship, or only not shared with other aggregations

Resources for learning how to better read code

雨燕双飞 提交于 2019-12-06 07:18:02
问题 I recently inherited a large codebase and am having to read it. The thing is, I've usually been the dev starting a project. As a result, I don't have a lot of experience reading code. My reaction to having to read a lot of code is, well, umm to rewrite it. But I need to bring myself up to speed quickly and build on top of an existing system. Do other people have techniques they've learned to absorb a code base? At this point, I'm just reading through the code. I've tried generating UML

UML

时光总嘲笑我的痴心妄想 提交于 2019-12-06 07:13:54
uml 来源: https://www.cnblogs.com/Jomini/p/11968522.html

Create or build UML schema from Doctrine entity yml or Xml in symfony2

心不动则不痛 提交于 2019-12-06 06:57:51
I generated all entities in my symfony projects,can I have any idea or solution or software to create or regenerate a UML schema from doctrine entity generated on my project(xml or yml). Using free tools, a way to do is to use the command phpuml -x 1 -o C:\symfony\httpfoundation.xmi C:\symfony\vendor\symfony\src\Symfony\Component\HttpFoundation (this is a sample for generating the schema from symfony source code) Then using BoUml Viewer or ArgoUML for viewing the generated file. I tried other way to do it but none was giving good results... The best way I found (and I use) is to do it with

“Action State” vs “State” in UML Activity diagram

China☆狼群 提交于 2019-12-06 06:55:54
I'm a newbie with UML and Microsoft Visio. Today, I have a homework which I need to draw an activity diagram in an UML project. My team use Visio 2003 to draw these diagrams. When I open Visio and seek for Activity Diagram I see both Action State and State icon in the left panel, I'm very confused with the difference between them, then I post this question. Sorry for my bad English From the UML 1.4.2 specification (section 4.13.2.1): An action state represents the execution of an atomic action, typically the invocation of an operation. ActionState has been replaced, as of UML 2.0, by Action.

Can I extend actor in use case? [closed]

前提是你 提交于 2019-12-06 06:37:24
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center . Closed 7 years ago . Can I extend actor in use case? for example I have "normal user" , "student user" and "teacher user"... every use case the "normal user" uses it ,by default the "student user" and "teacher user" use it too.. so can I extend "normal user" for "student user" and "teacher user" ? is that popular ? Thanks a lot :)

How to categorized the UML diagrams based on priorities/ levels?

蓝咒 提交于 2019-12-06 06:16:44
I am new to UML. I have studied more tutorials.I learned two broad categories like, UML Diagrams: 1. Structural Diagrams Class diagram Object diagram Component diagram Deployment diagram 2. Behavioral Diagrams Use case diagram Sequence diagram Collaboration diagram Statechart diagram Activity diagram But I dont know which one is high level design and low design. Anyone list out the UML diagram types based on priorities. (high-level diagrams to low level) There is not really a well-defined order of higher-level versus lower-level diagram languages in UML. The same diagram language (e.g. class

Which UML Diagram is suitable ? Two object interacting, and one is changing the state of other

半世苍凉 提交于 2019-12-06 06:12:32
My requirement : I want to come up with a suitable UML diagram based on the case which is described below. I need to know which UML will best suit this condition. The case : Two object A and B in the form of "Application Forms" interacts with each other.Certain event in object A triggers a state change of object B.Both object interacts with each other for a Use Case. I tried using State Diagram but it fails as here 2 object interact with each other to change the state of one object, whereas State diagram is suitable to depict state change of one object only without showing interaction with