uml

guidance with OO design of my UML diagram

喜欢而已 提交于 2019-12-13 05:13:31
问题 Could I please get some feedback on this UML diagram? It's a simplified diagram only showing the layout and interconnectivity of the classes with instance variables, constructors and methods intentionally left out at this point in time. Inventory Project Simplified UML Diagram The main thing I need guidance with is the object-oriented design. Do I have the right classes implementing interfaces or should I move the interface(s) to subclass(es)/superclass(es), do I have the association,

UML各种图总结

六眼飞鱼酱① 提交于 2019-12-13 04:40:03
UML各种图总结-精华 UML(Unified Modeling Language)是一种统一建模语言,为面向对象开发系统的产品进行说明、可视化、和编制文档的一种标准语言。下面将对UML的九种图+包图的基本概念进行介绍以及各个图的使用场景。 想要知道UML更多内容的朋友,可以点击以下课程学习相关知识:    https://edu.csdn.net/course/play/24752/280547 一、基本概念     如下图所示,UML图分为用例视图、设计视图、进程视图、实现视图和拓扑视图,又可以静动分为静态视图和动态视图。静态图分为:用例图,类图,对象图,包图,构件图,部署图。动态图分为:状态图,活动图,协作图,序列图。    1、用例图(UseCase Diagrams):   用例图主要回答了两个问题:1、是谁用软件。2、软件的功能。从用户的角度描述了系统的功能,并指出各个功能的执行者,强调用户的使用者,系统为执行者完成哪些功能。    2、类图(Class Diagrams):      用户根据用例图抽象成类,描述类的内部结构和类与类之间的关系,是一种静态结构图。 在UML类图中,常见的有以下几种关系: 泛化(Generalization), 实现(Realization),关联(Association),聚合(Aggregation),组合(Composition)

UML - Sequence Diagram how to show alternate course

不打扰是莪最后的温柔 提交于 2019-12-13 04:20:06
问题 I've a function called logon(uname,pass) which returns either success or failure message. Should i show this as ALT fragment? Basically I'm after transforming this use case to sequence diagram: > main flow: > 1. User provide username password. > 2. Display successful message after logon. > > alternate flow: > 1. User provide invalid username and passsword. > 2. Display invalid username or passwrod message. Thanks 回答1: See this example. Having said that, I'm with @Tanparmaiel in preferring an

Project and software analysis - where to begin?

会有一股神秘感。 提交于 2019-12-13 04:08:38
问题 Recently i took project and software analysis lessons. At first i found the subject kinda boring but then i began to see the importance of them. Modeling is pretty important. My teacher showed us some basic diagrams: classes, use cases, sequence and statemachine. It was only 7 lessons and now i want to pursue further education on the subject. As a developer, i think it would improve my work. Where do i begin? Any books or web sites? I'm still pretty much a newbie at it so please, not too much

Understanding the code process of Ccleaner [closed]

吃可爱长大的小学妹 提交于 2019-12-13 03:55:13
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . How does a Register cleaner tool works if you would analyze the code ? I'm not asking for specific code here...I'm just wondering the code for a tool like Ccleaner for instance is working, roughly explained. The reason why I ask this is because I want to create an class diagram

Convert UML To Java

老子叫甜甜 提交于 2019-12-13 03:46:28
问题 i searched several forums and google in turn but couldn't find a proper way to do this. any help would be welcome. 回答1: The UML conversion to java is really very poor. Except Omondo using either diagram<>model<>code live synchronization or diagram<>model live synchronization and then merge of UML and Java Ids in order to deliver quality code all the other tools are just crap !! I mean that: Why to generate code using just one package ? why to mix class and interfaces in the same package. This

responsibility of each class and how they interact each other in UML

纵饮孤独 提交于 2019-12-13 03:32:14
问题 I'm trying to draw an class diagram for my project management software describing the following scenario. It contains project Manager Employee Manager can create project manager can change project deadline manager can change project name manager can assign a employee To Project (single project have only one assigned employee) employee can submit project For the above requirements created this Class diagram and implement it in code using php as shown below Class Manager { private $Id; private

Converting UML to OWL Ontology

為{幸葍}努か 提交于 2019-12-13 03:05:28
问题 I am trying to develop an OWL ontology based on different UML file resources presented in xmi format. Reading through the internet for a while now, it seems that almost all the available tools or approaches are outdated and even when trying some of them they don't provide the expected outcome. Since this ontology plays a really important role in our project, i wanted to know what is the best approach/tools to be used in order to convert UML to OWL ? 回答1: I have looked into this myself as well

How do I draw an ESB on a SoaML diagram?

て烟熏妆下的殇ゞ 提交于 2019-12-13 02:14:27
问题 I've recently had to draw some architectural diagrams that feature the use of an Enterprise Service Bus. The ESB is critical, so everyone wants it to show up on the diagram. But since it's the center of what everything is connected to, it really of gets in the way. I settled on trying to use SoaML. I color-coded the request points blue and service points green, to help then stand out. The text names on the ports give you a sense of what talks to what, and it's incredibly obvious that

事后诸葛亮分析报告

眉间皱痕 提交于 2019-12-13 01:58:50
设想和目标 1. 我们的软件要解决什么问题?是否定义得很清楚?是否对典型用户和典型场景有清晰的描述? 我们的软件需要解决小微型个体户的进销存管理软件的使用问题。对于需要解决的问题有较为清楚的定义。但对用户和典型场景的描述不够清晰。 2. 我们达到目标了么(原计划的功能做到了几个? 按照原计划交付时间交付了么? 原计划达到的用户数量达到了么?) 达到了原计划的功能。交付时间稍晚于原计划。用户数量未达到原计划。 3. 有什么经验教训? 如果历史重来一遍, 我们会做什么改进? 在经验教训方面首先是时间安排,如果再来一次,会指定更加合理更易执行的时间安排。在设计方面,如果再来一次,会希望把更多时间放在设计上面,并且将设计文档做的更完善。 计划 1. 是否有充足的时间来做计划? 有,虽然经过了团队成员的讨论,但是计划还是不够科学,低估了一些环节的困难,致使分配给这些环节的时间不够,从而导致后续环节也无法按计划进行。 2. 团队在计划阶段是如何解决同事们对于计划的不同意见的? 通过商量解决,在平时的会议上提出异议并尽量在会上解决。 3. 你原计划的工作是否最后都做完了? 如果有没做完的,为什么?、 还没,由于目前所涉及的静态资源较少,原计划要做的动静分离就并没有进行配置。 4. 有没有发现你做了一些事后看来没必要或没多大价值的事? 有,使用了第三方包来生成JSON。 5.