UML design(一) tools

UML design(一) tools

UML design on eclipse

document location
http://www.vogella.de/articles/UML/article.html

install location
http://www.vogella.de/articles/Eclipse/article.html#updatemanager

step1 Installation

update location Galileo- http://download.eclipse.org/releases/galileo

find UML2 Extender SDK and UML2 Tools SDK under Modeling and install them.

step 2 Creating UML Diagrams
In my project cat-aries, I create a directory in doc/uml and select [New] --> [Other] --> [UML 2.1 Diagrams] --> [class diagram]

you can create a package and create class in the picture with the help of Palette

If you select your UML diagram and click on the outgoing arrow you can create associations.

UML Design on internet

On line UML design tool, the URL is http://yuml.me

Syntax Overview

Class [Customer]
Directional [Customer]->[Order]
Bidirectional [Customer]<->[Order]
Aggregation [Customer]+-[Order] or [Customer]<>-[Order]
Composition [Customer]++-[Order]
Inheritance [Customer]^[Cool Customer], [Customer]^[Uncool Customer]
Dependencies [Customer]uses-.->[PaymentStrategy]
Cardinality [Customer]<1-1..2>[Address]
Labels [Person]customer-billingAddress[Address]
Notes [Person]-[Address],[Address]-[note: Value Object]
Full Class [Customer|Forename;Surname;Email|Save()]
Splash of Colour [Customer{bg:orange}]<>1->*[Order{bg:green}]

The simplest example:
[Manager]->[Address]
[Address]->[Email]

and we can access the picture from this URL http://yuml.me/diagram/scruffy;/class/[Manager]-%3E[Address],%20[Address]-%3E[Email]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
DataUml Design 是面向开发人员使用的一个永久免费的软件,提高软件的开发效率和代码的规范度。它主要包括三大功能,数据模型、代码生成和UML建模,数据模型功能类似于PowerDesigner软件,代码生成类似于动软的代码生成器. DataUml Design是采用WPF开发的一款软件,该软件功能包括实体类建模、数据库设计、模型与数据库同步、数据库与模型同步、代码生成、文档生成、数据库生成实体模型等功能。以往的软件修改模型之后还得修改数据表结构,需要同步修改两个地方,而DataUml Design解决了该问题, 软件开发人员只需要修改模型结构或数据表结构,然后利用软件的同步功能即可达到模型与数据表结构的一致性。方便开发人员轻轻松松地管理自己的模型与数据库。 DataUml Design的自定义模板采用微软的4T技术,开发人员可以配置自己的代码模板。如实体层、数据访问层和UI层都可以用模板来配置,由模型一键生成代码,实现模型与代码的一致性。 DataUml Design支持数据的导入与导出,可以导出模型结构的文档,也支持其实数据导入生成数据模型(下一版本将实现)。 DataUml Design目前只支持MS Server和Oracle数据库、C#和Java语言,其它数据库和语言下一版本将实现。 DataUml Design功能特点 1)、模型设计 DataUml Desing数据建模采 用图形化设计,基于UML标准,遵循UML类图概念。模型中的类和数据库中的表对应,类的成员分为字段、属性、事件等,类的属性对应数据表中的字段。类的 属性成员的属性又包括数据表中字段的所有属性。类与类的关联关系包括单向关联、双向关联、组合、聚合。关联关系与数据表中的外键相对应。关联关系也具有属 性。 2)、模型和数据库同步 数据模型与数据库绑定,设计模型之后可以一键把模型提交到绑定的数据库中,如果数据库中表存在,则会更新数据表结构,如果数据库中代不存在,则会创建一张新表,用户不需要关心如何数据库类型,DataUml Design会帮你完成所有功能。 如果数据表中增加了字段或修改了某个字段,需模型中需没有更改,只需把数据表同步到模型即可,不需要开发人员对照数据表结构来修改模型结构。 3)、代码生成 DataUml Desing采用代码模板来生成代码,软件开发人员可以根据自己的要求来设计代码模板。代码模板可以生成任务语言的代码。软件开发人员可以用代码模板获取到类的所有属性以及关联的类。 软件下载地址: www.netuml.com
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值