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

你可能感兴趣的:(C++,c,Web,C#,F#)