yyy2

Exercise 5-1: Investigate Design Patterns
Objectives
● Investigate link design patterns.
● Investigate enumerated type design patterns.
● Discuss the patterns.
Scenario
Use Rational Rose and the Windchill API to investigate existing design patterns.
Step 1. Open Rational Rose.
Step 2. Use a web browser and the HTML version of the object model to view the diagrams associated with various EnumeratedType patterns.
a. Open the diagram A. WTPart under wt.part. It contains 3 EnumeratedType extensions —PartType, QuantityUnit and Source.
b. What are the modeled values for QuantityUnit?
c. Open all diagrams containing wt.epm.EPMAuthoringAppType.
Step 3. As a class, discuss the information learned.
Step 4. Open the diagrams associated with various link design patterns.
a. WTPartMaster to WTPart via wt.part.WTPartUsageLink.
b. WTPart to WTDocument via wt.part.WTPartDescribeLink.
c. WTPart to WTDocumentMaster via wt.part.WTPartReferenceLink.
d. EPMDocument to EPMDocumentMaster via wt.epm.structure.EPMMemberLink.
e. EPMDocument to WTPart via wt.epm.structure.EPMDescribeLink.
f. EPMDocument to WTPart via wt.epm.build.EPMBuildRule.
Step 5. Open the Windchill API to wt.fc.EnumeratedType and view the section Known Subclasses:
Step 6. As a class, discuss the information learned.
Review
Take a few minutes to answer the following questions and then review them with your
instructor.
1. Question: What is a design pattern?
2. Question: Summarize the master-version-iteration pattern.
3. Question: What is the purpose of extending EnumeratedType?
Summary
After completing this module, you should be able to:
• Perform tasks related to the customization process as defined in the Application Solution Development module of the System RVP work stream.
• Explain the concept of design patterns.
• Explain the master-version-iteration design pattern pattern.
• Explain the enumerated type pattern.
58
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值