uml

UML2: ports and interfaces in component diagrams

蓝咒 提交于 2019-12-04 04:58:40
Since I have not yet completely understood the correct usage of port and interface symbols in component diagrams, a few questions: I. Imagine a piece of software which wants to use a very special remote logger service over network (TCP). The messages may be some XML. So the logger exposes an interface which specifies things like handshake, XML structure, XML elements etc. so that the logger will accept a message. a) Am I right that this interface may be called "ILoggerProtocol", the port may be named after the service it provides ("logging")? b) So the component in my application implements

How can I reverse engineer my JavaScript files with js/uml?

丶灬走出姿态 提交于 2019-12-04 04:44:23
Goal My goal is to get an UML model out of my JavaScript project (consisting of several .js files) and store it as XMI. How far I've come I searched the internet and found out js/uml is the first place to go. I've managed it to get the js/uml plugin running with Eclipse 3.7.1 (Win32) and a local installation of my pre-downloaded additional plugins: mdt-uml2tools-Update-incubation-I201103290512.zip (installs required org.eclipse.uml2.diagram.clazz 0.10.0) jsuml-eclipse-0.8.4.zip (only works with Eclipse 3.7.1 (Indigo)) I loaded the provided example project jsuml-example-yui-0.8.4.zip into

Naming convention for UML

谁说我不能喝 提交于 2019-12-04 04:33:40
Is there any name convention for UML? I am interested in knowing how to name classes, packages and methods. However, if there is some document which specifies all naming convention for each UML diagram, please share it. The UML standard does not specify any naming convention. The naming standard you choose depends on the target audience of your UML model. This audience again is dependend on the purpose of your model. If you intend e.g. to generate code from your model than you need to have a result that will fit your target platform. My own experience is that choosing a platform independent

Is there a Harel Statechart DSL tool for Java?

北城以北 提交于 2019-12-04 04:24:14
I'm looking for a tool that understands a DSL in which I can define my statechart that generates Java code or where the statechart in the DSL is runnable as is. The tool would ideally be written in Java and must support superstates and orthogonal regions by definition of Harel Statecharts (or equivalently UML 2 State Machines). Alternatively, what would be the best library or tool to write such a DSL with? ahcox Yakindu looks good: http://www.statecharts.org Harel Statecharts Visual Language Textual DSL Generates Java Generates C Generates C++ Generation configurable / customisable Eclipse

java中类的关系及UML中的表达

久未见 提交于 2019-12-04 04:18:42
一、6种关系(关联由强到若)   泛化(也叫继承)=实现>组合>聚合>关联>依赖 1、泛化(或者继承) 泛化(generalization):简单来说就是继承关系is-a 也是四种关系中耦合度最大的一种,通常我们在绘制UML类图的时候,子类以 带三角箭头的实线 指向父类,比如下面的UML类图中的MainActivity指向父类抽象类。 如:HashMap继承AbstractMap 2、实现 实现(Realization):在类图中就是接口和实现的关系。在UML类图中使用 带三角箭头的虚线 表示,箭头从实现类指向接口。如下图所示MainActivity实现了ICallBack这个接口: 如:HashMap实现Serializable、Cloneable、Map 3、组合 组合 (Composition) : 是关联关系的特例,表示contains-a的关系,是一种强烈的包含关系。组合类负责被组合类的生命周期。是一种更强的聚合关系。部分不能脱离整体存在。如公司和部门的关系,没有了公司,部门也不能存在了;调查问卷中问题和选项的关系;人和大脑的关系。在类图使用 实心的菱形 表示,菱形与整体连接。如下UML类图所示:( 注: 组合关系中的成员变量一般会在构造方法中赋值 。) 4、聚合 聚合(Aggregation):也是关联关系的特例,表示has-a关系,是一种不稳定的包含关系

How to make a composite key to be unique?

瘦欲@ 提交于 2019-12-04 04:06:48
I am making a database of students in one school.Here is what I have so far: If you don't like reading jump to the "In short" part The problem is that I'm not happy with this design. I want the combination of grade , subgrade and id_class to be unique and to serve as a primary key for the students table. I can remove the student_id and make a composite key from the 3 but I don't want that either. Maybe I should make another table lets say combination_id where grade , subgrade and id_class are foreign keys and there is one extra column comb_id that serves as ID for the table. And all the

Is there any way to generate sequence diagram from android studio

空扰寡人 提交于 2019-12-04 03:59:16
I have created sample android project. Now i have to create sequence diagram for that. Is there any way to automatically generate sequence diagram for android project from android studio. venkatesh gowda Finally I got the solution. I have installed a plugin, previously called SequencePluginReload from Android Studio, now called SequenceDiagram It is very easy to use and works like charm. I have downloaded SequenceDiagram suggested by @venkatesh in above answer, but didn't understand how to use it. After searching I found how to use it. Download the zip file in the above link. Go to Android

《基于UML的高校教务管理系统的设计与实现 》论文笔记(六)

梦想与她 提交于 2019-12-04 03:52:05
一、基本信息 标题:基于UML的高校教务管理系统的设计与实现 时间:2018 来源:南昌航空大学 研究方向 :高校教务系统 关键词:教育信息化; 教务管理系统; UML; SSH; Oracle; 二、 研究内容 论文内容: 本论文中介绍到的高校教务管理系统基于SSH集成框架开发、Ajax交互技术实现具体的功能业务,数据库采用Oracle 11g。用于改善传统教务管理方式的低效和不足,实现了学校的教学信息的共享,为构建互联互通、高效共享、统一管理的数字化校园。 论文结构: 第一章,绪论。通过介绍了教育模式的国内外研究现状及发展趋势引出本文的研究内容,系统分为了开课、排课、选课、学籍等七大管理模块 第二章,相关和技术。这个大多都一样,相关技术的概述。 第三章,系统分析。 开课管理用例图 开课管理类图 系统总体结构图 开课及排课业务的核心类图 包图 三、 结论 这篇论文讲述的系统很全面,无论是在技术方案的选择上、还是系统分析与设计和系统实现这些方面都做得很好,在设计阶段采用模块化思想将复杂的业务系统层层分解,明确了教务管理系统应有的教务流程和功能规范。 四、 参考文献 [1] 基于UML的高校教务管理系统的设计与实现 [D] 熊巍 南昌航空大学 2019.05 来源: https://www.cnblogs.com/zztcat/p/11829506.html

Rational, EA, or something else?

白昼怎懂夜的黑 提交于 2019-12-04 03:46:06
Does anyone have any thoughts on Rational Software Architect vs Sparx EA? Are there other tools I should be looking at? Specifically, I'm interested in the following; Adherance to some methodology (RUP, SOMF, etc.) -- we're not settled on one now, but need to pick one that suits a SoA architecture. Multi-modeling -- I need to model all the way from hardware (ideally with cost/spec tracking across physical and cloud) to deployment, classes/services, etc. Roundtrip -- reverse our code/data and then generate stubs as we add new classes to the model. NoSQL support Focus on code -- we're less data

How to show namespace in UML?

旧城冷巷雨未停 提交于 2019-12-04 02:24:50
How to show that certain types are in a specific namespace? Accordingly to UML 2. You can create the package and include those items in the package. Note that UML2 has the notion of package, that is also a namespace (and gets translated as such into programming languages). I'd say that the package construct is close enough to the idea of namespace. Use that. As far as I know, there is no specific "namespace" notation in UML. Just use a package around any components that belong in a specific namespace (and use the namespace as the package name). In UML we use package with <> stereotype for