uml

Aggregation vs Composition vs Association vs Direct Association

别说谁变了你拦得住时间么 提交于 2019-11-27 04:57:33
问题 I am reviewing my knowledge in object-oriented programming. Under the relationship between classes topic, I have encountered some relationships which are a bit ambiguous to me. I know dependency "uses-a" and inheritance "is-a" but I'm a bit unfamiliar with Aggregation, Composition, Association and Direct Association; also, which of them is "has-a" relationship. Some use Aggregation interchangeably with Association. What is Direct Association? Also, what is Composition? In UML diagrams, the

Understanding Diagrams [closed]

て烟熏妆下的殇ゞ 提交于 2019-11-27 04:55:31
I want to learn about Design Patterns and everywhere I see diagrams like this: Is it UML or something else? I just need a quick reference to learn what do each of different lines mean? which one is inheritance, etc.. 1 Yes it is UML. You can read more (with examples) about class diagrams and other UML diagrams e.g. at http://www.uml-diagrams.org/class-diagrams-overview.html 2 Although it is possible to Google out and print and pin up on your notice board some " UML cheat sheet " or " UML quick reference card " (e.g. http://www.holub.com/goodies/uml ). 3 it is much better to first read a good

业务领域建模Domain Modeling

两盒软妹~` 提交于 2019-11-27 03:48:00
一、什么是业务领域建模 领域建模: 从领域模型开始,我们就开始了面向对象的分析和设计过程,可以说,领域模型是完成从需求分析到面向对象设计的一座桥梁。 顾名思义,就是显示最重要的业务概念和它们之间关系,是真实世界各个事物的表示(现实世界的可视化抽象字典)而不是软件中各构件的表示。领域模型是描述业务领域(业务实体)的静态结构。 理论派观点: Domain Model是一个商业建模范畴概念,即使一个企业不开发软件,也具备其业务模型; 所有同行企业,其业务模型必定有非常大的共性和内在的规律性。 由行业内的各个企业的业务模型再向上抽象出整个行业的业务模型,这个模型称之为“领域模型”。 领域模型是一种特殊的业务模型,它分析范围是整个行业,抽象出行业里共性和内在规律性的业务,比业务模型更加抽象,它不属于软件开发范畴的概念,与软件开发无关。 实战派观点: 领域模型是一个分析模型,帮助系统分析人员、用户认识现实业务的工具,描述的是业务中涉及到的实体及其相互之间的关系,它是需求分析的产物,与问题域相关。 是需求分析人员与用户交流的有力工具,是彼此交流的语言。 领域模型是一种分析模型,在软件开发过程分析阶段用于分析如何满足系统功能性需求,属于软件开发范畴,在UML中主要使用类图来描述领域模型。 业务模型是业务建模的输出物,业务建模研究的对象是公司或者组织,业务建模属于软件开发过程中的初始阶段。

How to use doxygen to create UML class diagrams from C++ source

蓝咒 提交于 2019-11-27 02:51:01
I have been searching for some material that describes how to generate simple class diagrams with doxygen, but couldn't find one. Can anybody help? I need to create diagrams as shown below from a set of C++ files. If there are better tools to achieve this easier, please let me know. DPD Doxygen creates inheritance diagrams but I dont think it will create an entire class hierachy. It does allow you to use the GraphViz tool. If you use the Doxygen GUI frontend tool you will find the relevant options in Step2: -> Wizard tab -> Diagrams . The DOT relation options are under the Expert Tab. average

Generating UML from C++ code? [closed]

自古美人都是妖i 提交于 2019-11-27 02:35:48
Is there a tool that can parse C++ files within a project and generate UML from it? jwpfox Here are a few options: Step-by-Step Guide to Reverse Engineering Code into UML Diagrams with Microsoft Visio 2000 - http://msdn.microsoft.com/en-us/library/aa140255(office.10).aspx BoUML - http://bouml.fr/features.html StarUML - http://staruml.sourceforge.net/en/ Reverse engineering of the UML class diagram from C++ code in presence of weakly typed containers (2001) - http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.27.9064 Umbrello UML Modeller - http://uml.sourceforge.net/ A list of other tools

UML diagram for dependency between systems

泪湿孤枕 提交于 2019-11-27 02:03:17
Which UML diagram is the best for showing dependency between our IT system and other external IT systems? For example I would like to show on diagram: system A gets data from system B system B can call some functionality from system A I'm wondering between component diagram and sequence diagram. What do you think? Components definitelly, and dependencies. Dependency does not go in direction of the data-flow, but from the component that "knows" other component (invokes something from it, creates an object, etc). The following diagram shows the idea. It is common (and highly recommendable)

UML: how to implement Association class in Java

霸气de小男生 提交于 2019-11-27 01:07:51
问题 I have this UML Association class. Note that: horizontal line is a solid line and the vertical line is a dashed line. --------- --------- | |*(a) *(b)| | | CLASS |________________| CLASS | |STUDENT | | | COURSE | --------- | --------- |*(c) ______|______ | | | | | CLASS | | TRANSCRIPT | |_____________| I understand this relationship but I have met some problems when implement this UML to code. I can implement relation between class Student and class Course to code. Here is my code: class

Is there a free Eclipse plugin that creates a UML diagram out of Java classes / packages? [closed]

可紊 提交于 2019-11-27 00:37:06
问题 This seemed to me like the easiest thing to find, a simple way to display my classes as UML in eclipse But except this: http://java2uml.gforge.enseeiht.fr/ and this http://sourceforge.jp/projects/amateras/releases/ I haven't found any new, maintained and "good" implementation (with all due respect to the above two) Anything else I've missed? 回答1: Did you consider Creating UML 2 diagrams with Eclipse UML2 Tools - Tutorial ? I had older references for such tools, but the new ones are build upon

Eclipse plugin for generating a class diagram [closed]

大兔子大兔子 提交于 2019-11-26 23:48:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . What is a good Eclipse plugin for generating a class diagram (for a project)? This image right here is exactly what I'm talking about. 回答1: Assuming that you meant to state 'Class Diagram' instead of 'Project Hierarchy', I've used the following Eclipse plug-ins to generate Class Diagrams at various points in my

Is UML practical? [closed]

。_饼干妹妹 提交于 2019-11-26 23:37:26
In college I've had numerous design and UML oriented courses, and I recognize that UML can be used to benefit a software project, especially use-case mapping, but is it really practical? I've done a few co-op work terms, and it appears that UML is not used heavily in the industry. Is it worth the time during a project to create UML diagrams? Also, I find that class diagrams are generally not useful, because it's just faster to look at the header file for a class. Specifically which diagrams are the most useful? Edit: My experience is limited to small, under 10 developer projects. Edit: Many