uml

6.每周总结

感情迁移 提交于 2019-11-26 22:40:46
这周做的事 正在自学了UML和java; 练习pta平台基础编程; html进行了简单的了解和软件的下载sublime和eclipse; 下周将做的事: 1.进入PTA平台进行程序的编写; 2.阅读java程序设计 用java练习一些小程序 3.每天自学1-2个小时的JAVA; 5.自学html和UML; 来源: https://www.cnblogs.com/zzmds/p/11334201.html

Game class diagram

冷暖自知 提交于 2019-11-26 22:06:08
问题 I have a problem with taking a class diagram for a game. The world in which the game takes place, can be represented by fields. Each field is identified by the coordinates x and y. The field may be convenient to establish a settlement or not. If there is a settlement on the field, the only one. Each field is linked to a landscape as a bitmap. In some fields, there may be resources (eg coal, ore), or other artifacts which are not proprietary. Each player is the ruler of a principality. May

UML aggregation vs association

懵懂的女人 提交于 2019-11-26 21:51:14
Here I am, with another question about aggregation and association. I wanted to learn some basics of UML, so I started reading "UML distilled" by Martin Fowler. I read both chapters about classes, and there is one thing that I can't fully grasp I think, and that is aggregation vs association. In the book there is this quote: In the pre-UML days, people were usually rather vague on what was aggregation and what was association. Whether vague or not, they were always inconsistent with everyone else. As a result, many modelers think that aggregation is important, although for different reasons.

ModelMaker的教學網站

巧了我就是萌 提交于 2019-11-26 21:47:18
減輕程式碼維護負擔導入塑模導向架構(MDA,Model Driven Architecture) Delphi 7 Studio以UML技術為基礎,提供視覺化塑模(visual modeling)及重構(Refactoring)工具,有效率地協助您規劃應用程式架構。Delphi 7 Studio Enterprise版本以上內建ModelMaker塑模工具,原生整合於Delphi開發環境中,將視覺化繪製之UML圖形轉換為程式碼。Delphi 7 Studio Architect版所提供之Bold for Delphi塑模環境,進一步提供反向工程(reverse engineering)能力,即時將您的程式碼轉化為視覺化UML圖形,提昇設計與程式碼品質,並可運用現成之設計模式(design patterns)及建立較大之模型(model),節省您寶貴的時間。 Delphi 7 Studio的企業版及專業版內建ModelMaker工具,可以簡化類別(class)及介面的設計、架構及維護工作。ModelMarker是一個CASE(Computer Assisted Software Engineering;電腦協助軟體工程)的工具,可使類別、介面、單元(unit)的開發更容易,讓資訊人員專注於定義物件的成員及相互關係,而不只是乏味地寫程式而已。 在建立好模組之後

Explanation of the UML arrows

廉价感情. 提交于 2019-11-26 21:12:16
I have recently been studying UML and drawing simple diagrams with ordinary plain arrows between classes, but I know it's not enough. There are plenty of other arrows: generalization, realisation and etc. which have meaning to the diagram reader. Is there a nice resource which could explain each arrow (ordinary, plain, dotted, diamond-filled, diamond)? It would be the best if it will have some code examples for them. Here's some explanations from the Visual Studio 2015 docs: UML Class Diagrams: Reference : https://msdn.microsoft.com/library/dd409437%28VS.140%29.aspx 5 : Association : A

What is the correct way to represent template classes with UML?

旧城冷巷雨未停 提交于 2019-11-26 20:27:57
On a UML diagram, what is the correct way to represent a template class? Normal rectangle with a dotted rectangle in the top right corner, to represent the template parameter. Something like this: ....... ___________: T : | :.....: | | | ClassName | | | |______________| A more useful approach is to use a UML Classifier for the Template. This is a UML Element that represents an extension to the UML notation. If your tool supports profiles create the Classifier within one. Define the Classifier for the Template, and include the properties and methods from the template, then instead of using the

看懂UML类图和时序图

旧时模样 提交于 2019-11-26 20:27:09
看懂UML类图和时序图 这里不会将UML的各种元素都提到,我只想讲讲类图中各个类之间的关系; 能看懂类图中各个类之间的线条、箭头代表什么意思后,也就足够应对 日常的工作和交流; 同时,我们应该能将类图所表达的含义和最终的代码对应起来; 有了这些知识,看后面章节的设计模式结构图就没有什么问题了; 本章所有图形使用Enterprise Architect 9.2来画,所有示例详见根目录下的design_patterns.EAP 从一个示例开始 请看以下这个类图,类之间的关系是我们需要关注的: 车的类图结构为<<abstract>>,表示车是一个抽象类; 它有两个继承类:小汽车和自行车;它们之间的关系为实现关系,使用带空心箭头的虚线表示; 小汽车为与SUV之间也是继承关系,它们之间的关系为泛化关系,使用带空心箭头的实线表示; 小汽车与发动机之间是组合关系,使用带实心箭头的实线表示; 学生与班级之间是聚合关系,使用带空心箭头的实线表示; 学生与身份证之间为关联关系,使用一根实线表示; 学生上学需要用到自行车,与自行车是一种依赖关系,使用带箭头的虚线表示; 下面详细介绍这六种关系; 类之间的关系 泛化关系(generalization) 类的继承结构表现在UML中为:泛化(generalize)与实现(realize): 继承关系为 is-a的关系;两个对象之间如果可以用 is-a 来表示

第十三周助教小结

谁都会走 提交于 2019-11-26 20:25:04
本周心得: 本周大部分学校课程已经结束,但是还不能放弃学习点评。 本周完成了一次软考辅导,帮助了很多学生进行软考突击培训。其中软考程序员和软件工程师等级考试对于UML知识考分很多。现在大学生比较忽视软件工程的学习,认为UML图与之前学习的软件工程各类图形并没有什么作用,但是在实际工作和考试当中,对于软件工程学习都非常重视。其中初级程序员考试一道大题考察--理解类图完成面向对象语言JAVA或C++的编程。而中级软件工程师考试中考察E-R图、数据流图、类图等,下午考试题基本都是这些范围。我帮助了很多班级参与考试的学生,完成了UML图的理解与考题的分析讲解,提高了他们通过的概率。 1.助教博客链接 https://www.cnblogs.com/longjiangteng/ 2. 本周点评作业0篇: 3. 本周点评有困难的作业链接: 4. 本周落实的改进/优化:   (1) UML图中学习状态图,活动图   (2) UML图中学习序列图,协作图 5. 下周计划改进/优化:   (1) 继续熟悉各种UML图   (2)理解UML图与实际项目的关系 本周大部分学校课程已经结束,但是还不能放弃学习点评。 本周完成了一次软考辅导,帮助了很多学生进行软考突击培训。其中软考程序员和软件工程师等级考试对于UML知识考分很多。现在大学生比较忽视软件工程的学习

Differences between a conceptual UML class diagram and an ERD?

核能气质少年 提交于 2019-11-26 19:46:01
问题 If I create a conceptual class diagram such that each class captures 'name' and 'attributes' but not 'operations', have I not basically created what would be otherwise considered an ERD? I'm trying to gain an understanding of what the differences are between creating a conceptual class diagram as I have described versus calling it a ERD? If these are still two different animals, can somebody please explain what the differences are? 回答1: There´s little difference in the expressiveness of both

UML association vs. composition and detail level

北城以北 提交于 2019-11-26 19:25:08
问题 Actually, make that a couple of amateur UML questions! When creating a UML diagram to model some domain concepts and you come across a domain concept that "holds" some information about another concept, is it better to hold a stamp/reference to that entity or hold the whole entity in the model itself? Please bear in mind that this is relating to creating a simple high-level model - I'm sure in the implementation stage things would be slightly different. For example, which of the two models