﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-xyz's blog-文章分类-设计模式</title><link>http://www.blogjava.net/xyzroundo/category/28536.html</link><description>执着......坚持......</description><language>zh-cn</language><lastBuildDate>Mon, 21 Jan 2008 14:21:41 GMT</lastBuildDate><pubDate>Mon, 21 Jan 2008 14:21:41 GMT</pubDate><ttl>60</ttl><item><title>xyz笔记——rose建模</title><link>http://www.blogjava.net/xyzroundo/articles/175501.html</link><dc:creator>xyz</dc:creator><author>xyz</author><pubDate>Tue, 15 Jan 2008 08:57:00 GMT</pubDate><guid>http://www.blogjava.net/xyzroundo/articles/175501.html</guid><wfw:comment>http://www.blogjava.net/xyzroundo/comments/175501.html</wfw:comment><comments>http://www.blogjava.net/xyzroundo/articles/175501.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xyzroundo/comments/commentRss/175501.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xyzroundo/services/trackbacks/175501.html</trackback:ping><description><![CDATA[<span style="font-weight: bold;">类图</span>：<br />
在Logical view 生成class框图后，将类加入模型中。有几种类：<br />
普通类：&nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp; <br />
参数化类：用于生成一系列其他类，通常参数化类是某种容器,也称模板。例如：List.&nbsp; <img src="http://www.blogjava.net/images/blogjava_net/xyzroundo/1.jpg" alt="" align="right" border="0" height="114" width="167" /><br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  类的变元在虚线框中显示。变元提参数化类所包含项目的占位符。<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  变元可以是一个类，一个数据类型或一个常量表达式。可以加进多个变元。<br />
实例化类：是具有实际变元值的参数化类。<br />
类实例程序：类实例程序是一组操作。常用于扩展编程语言所提供的功能或放一组一般性可复用的功能模块，让许多工作系统使用。<br />
参数化类实例程序：是个参数化类，包含一组操作，是生成类实例程序的模板。<br />
实例化类实例程序：是设置个值的参数化类实例程序。<br />
元类(metaclass)：元类的实例的类而不是对象。参数化类和参数化类实例程序就是元类。<br />
=================================<br />
版型机制可以有将类分类。UML中主要有三种类版型：<br />
Boundary Classes(边界类）：位于系统与外界的交界处，包括所有窗体、报表、与打印机和扫描仪等硬件的接口、以及与其他系统的接口。要找边界类，可以找User Case。每个角色/使用案例交互至少要有一个边界类。<br />
Entity Classes（实体类）：保存要放进存储体的信息。<br />
Control Classses（控制类）：负责协调其他类的工作。每个使用案例通常有一个控制类，来控制使用案例中的事件<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  顺序。
<img src ="http://www.blogjava.net/xyzroundo/aggbug/175501.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xyzroundo/" target="_blank">xyz</a> 2008-01-15 16:57 <a href="http://www.blogjava.net/xyzroundo/articles/175501.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>