惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News | PayPal Newsroom
Security Archives - TechRepublic
Security Archives - TechRepublic
Hacker News: Ask HN
Hacker News: Ask HN
H
Hacker News: Front Page
Apple Machine Learning Research
Apple Machine Learning Research
TaoSecurity Blog
TaoSecurity Blog
Help Net Security
Help Net Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
人人都是产品经理
人人都是产品经理
博客园 - 三生石上(FineUI控件)
Security Latest
Security Latest
Cloudbric
Cloudbric
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Know Your Adversary
Know Your Adversary
A
Arctic Wolf
L
LangChain Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
W
WeLiveSecurity
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
M
MIT News - Artificial intelligence
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
小众软件
小众软件
NISL@THU
NISL@THU
云风的 BLOG
云风的 BLOG
P
Privacy & Cybersecurity Law Blog
S
Security @ Cisco Blogs
博客园 - 【当耐特】
I
InfoQ
Vercel News
Vercel News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Proofpoint News Feed
O
OpenAI News
Google DeepMind News
Google DeepMind News
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
K
Kaspersky official blog
T
Threat Research - Cisco Blogs
量子位
宝玉的分享
宝玉的分享

博客园 - 155144

GridView和DataFormatString 32.DataReader和output参数的问题 31.动态SQL中使用变量时,可使用存储过程sp_executesql 【求解算法的时间复杂度的具体步骤】 【指数与对数】 30.一个自定义32进制类初稿 【SQL行转列】 29.DataReader相关 【经典SQL语句 】 28.Lc.exe 已退出,代码 -1 26.UML笔记(UML2.0设计手册) 25.VSS相关 24.GRIDVIEW相关 23.DOTNET中引用相关 22.使用Castle时,如何获取自定义类的单个属性的PropertyAttribute.Column 21-ReSharper UnitRun for .net 20-系统分析与设计(第5版) 19-关于用例的几点知识——摘自《道法自然》 18-概念性系统设计
27.PowerDesigner中Stereotype的创建
155144 · 2008-08-24 · via 博客园 - 155144

stereotype
n.
[印]铅版, 陈腔滥调, 老套
vt.
使用铅版, 套用老套, 使一成不变

-------------------------------------------------------

在PD中,stereotype是各比较常见的单词,意为构造类型。在各种对象的属性页面中,比如用例、依赖(dependency)等。而且在下拉框中,一个可选项都没有。打开PD自带的例子中时,又会发现其中有好多选项,那么这些选项是怎么来的呢?下面给与说明:

1)选择要模型

    Resouces中有几个选项,对应我们建模的模型,如果是OOM,这在Object Languages...中添加,如果是BPM,则在Process Languages...中添加,PDM则在DBMS中添加。如图(Figure 1)

Figure 1.

2)选择模型中的模板

    对象模型中包括以下模板(这里选择的C#),然后点击红色区域(Properties)

Figure 2.

 

3)选择Metaclass

    在属性窗口中,打开Profile目录,可以看到如下绿色图标的Metaclass列表,也可以在Profile上点右键,新增Metaclass(如图Figure 3.1和Figure 3.2).

Figure 3.1

 

Figure3.2

    我们需要增加Stereotype的Metaclass,选中后右键单击,在菜单中选择New->Stereotype,如图(Figure 3.3),图中选择Dependency。

Figure3.3

4)填写 Stereotype的属性

     包括名字等,添加完后的效果如图(Figure 4),其中有extend,include,use等。

Figure 4.

5)使用Stereotype

     在工具条,选择依赖图标(如图Figure 5.1)。

Figure 5.1

 

     在用例之间画好依赖后的效果如图Figure 5.2

Figure 5.2

     双击模型中的依赖,弹出依赖属性的窗口(如图Figure 5.3),打开Stereotype的选项框,可以看见我们前面添加的选项,选择include项。

Figure 5.3

     完成后效果如图(Figure 5.4)。

Figure 5.4

_____________________________________________________________________________________
COPYRIGHT©2008,HTTP://ZEROBUG.CNBLOGS.COM .ALL RIGHTS RESERVED.