![PowerDesigner與對(duì)象建模_第1頁](http://file3.renrendoc.com/fileroot_temp3/2022-2/21/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d1.gif)
![PowerDesigner與對(duì)象建模_第2頁](http://file3.renrendoc.com/fileroot_temp3/2022-2/21/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d2.gif)
![PowerDesigner與對(duì)象建模_第3頁](http://file3.renrendoc.com/fileroot_temp3/2022-2/21/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d3.gif)
![PowerDesigner與對(duì)象建模_第4頁](http://file3.renrendoc.com/fileroot_temp3/2022-2/21/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d4.gif)
![PowerDesigner與對(duì)象建模_第5頁](http://file3.renrendoc.com/fileroot_temp3/2022-2/21/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d/ef236f5e-ab5f-4bd9-97ca-7cb0dd80451d5.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、PowerDesigner PowerDesigner 與對(duì)象建模與對(duì)象建模2Why UsingWhy Using UML?UML? Visually define and communicate the structure and behavior of an application Represent systems using Object-Oriented concepts Link OO concepts to executable code3Brief Overview of UMLBrief Overview of UMLUML is defined by OMG.UML con
2、sists of 9 diagrams: Static Class diagram Object diagram Dynamic Use Case diagram Sequence diagram Statechart diagram Collaboration diagram Activity diagram Implementation Component diagram Deployment diagram4UML Support in UML Support in PowerDesignerPowerDesigner PowerDesigner supports all nine UM
3、L diagrams PowerDesigner supports UML 1.4 Future version of PowerDesigner will support UML 2.05Use Case Use Case DiagramDiagram A Use Case Diagram describes the Actors, the Use Cases and the interaction between the Actors and the Use Cases.LogonLogoffCustomerShip To AddressPurchaseDisplay CatalogLis
4、t OrdersList CartNewsShipping6Collaboration Collaboration DiagramDiagram A Collaboration Diagram describes the interaction between objects (instance of classes) by exchanging messages. Collaboration Diagram can be used to identify classes and operations2.2: OK1: LoginCustomerMain pageValidate LoginD
5、isplay Catalog4: Purchase2.2: OK3: Product List2.1: Error1: LoginCustomerMain pageValidate LoginDisplay ErrorDisplay CatalogAdd in Shopping Cart7Sequence DiagramSequence Diagram A Sequence Diagram describes the interaction between objects and how the messages are exchanged over time. Sequence Diagra
6、m is used to identify classes and operationsopen4: Purchase2.2: OK3: Product List2.1: Error1: LoginMain pageValidate LoginDisplay ErrorDisplay CatalogAdd in Shopping CartCustomer8Activity DiagramActivity Diagram An Activity Diagram describes the logic and the control flow of a Use Case, an Operation
7、 or another Activity.NoYesMain PageLoginDisplay CatalogPurchaseSelect ProductOK?Login ErrorPurchase Products Action StepsCheck Out9Statechart DiagramStatechart Diagram A Statechart Diagram is used to model the States and Transitions of a ClassIntialPlayPause10Object DiagramObject Diagram An Object D
8、iagram shows the relationships between Object Instances:Customeridname = 101 = XiaoYun Wang:Orderiddate = 1 = 3/25/200411Class DiagramClass Diagram A Class Diagram defines the Classes, Interfaces, Attributes, Operations, Relationships, Inheritances, A Class Diagram can be used to define persistent o
9、bjects, control objects and user-interface objects. A Class Diagram can be used to generate the Physical Data Model and the application implementation code. 0.*peripheral0.1personalcomputersparallelPeripheral+periphIdperiphCodeNamevendorName: String: String: String+registerPeriph ()testPort ()testPw
10、Supply ()testMotherBd (): void: void: void: voidprinter+laserprintSpeed: boolean: int+ printPage () : voidscanner+flatBedresolution: boolean: int+preview ()registerPeriph ()testPort ()testPwSupply ()testMotherBd (): void: void: void: void: voidPeripheral+registerPeriph ()testPort ()testPwSupply ()te
11、stMotherBd (): void: void: void: voidperipheral tester+test #testNametestDate: int: String: java.util.Date+ printReport () : voidComputer+serial #ownerName: String: String12Component DiagramComponent Diagram A Component Diagram can be used to define the components you need to create for an applicati
12、on A Component can use Classes, Interfaces PowerDesigner uses Components to represent EJBs, Servlets, JSPs, ASPs and Web ServicesProductEntityBean_CMPGetProductListServletGetProductPageJSP13Deployment DiagramDeployment Diagram A Deployment Diagram is used to define the deployment architecture Deploy
13、ment Diagram shows the Nodes (machines, servers), the Component Instances deployed in a Node and the Links between NodesJCustomerBeanOrderBeanProductBeanWeb ServiceCRM14Object/Relational (O/R) MappingObject/Relational (O/R) Mapping Generate a Class Diagram from a Physical Data Model with
14、 O/R mapping Generate a Physical Data Model from a Class Diagram with O/R mapping Manually define complex O/R mapping Generate select, insert, update, delete SQL statements Use O/R mapping to generate EJB CMP (WebLogic, WebSphere, EAServer), JDO, Cocobase, .NET (future)15O/R MappingO/R Mapping Examp
15、leExampleGenerate O/R mapping when generating a PDM from an OOMUse O/R mapping to generate SQL16Java SupportJava Support Provide wizards to automatically create EJBs, Servlets, JSPs, Web Services Generate and reverse engineer Java code Generate collection management accessor functions Generate deplo
16、yment descriptors Generate O/R mapping descriptor for WebLogic, WebSphere, EAServer, JDO, JBoss (future) Generate project files for JBuilder and Eclipse Generate Ant script to compile, package and deploy J2EE application17CustomerBeanabstract -idnameemailphoneejbContext: java.lang.Integer: java.lang
17、.String: java.lang.String: java.lang.String: EntityContext+CustomerBean ()ejbActivate ()ejbLoad ()ejbPassivate ()ejbRemove ()ejbStore ()setEntityContext (.)unsetEntityContext (): void: void: void: void: void: void: voidCustomerPK- id : java.lang.Integer+CustomerPK ()equals (.)hashCode (): boolean: i
18、ntCustomerCustomerLocalCustomerHome+findByPrimaryKey (.) : CustomerCustomerLocalHome+findByPrimaryKey (.) : CustomerLocalExample Example of EJBof EJBEJB wizardEJB Classes and InterfacesCustomerEntityBean_CMPEJB Component18.NET Support Reverse engineer C# and Visual Basic .NET code Reverse engineer .NET binary code in C# or VB .NET Generate C# and VB .NET code Generate collection management accessor func
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 買房合同范例中戶型
- 勞務(wù)駐廠培訓(xùn)合同范例
- 白蟻防治合同范本
- 個(gè)人預(yù)購(gòu)房合同范本
- 石材幕墻工程施工合同范本
- 廈門門市長(zhǎng)期賃合同范本
- 供貨商簽合同范本
- 寫入合同范本
- 2025年度國(guó)際物流供應(yīng)鏈管理合同范本
- 臨時(shí)設(shè)備租用合同范本
- 天津市河?xùn)|區(qū)2023-2024學(xué)年九年級(jí)上學(xué)期期末數(shù)學(xué)試題
- 黑龍江省哈爾濱市2024年數(shù)學(xué)八年級(jí)下冊(cè)期末經(jīng)典試題含解析
- 克羅恩病的外科治療
- 金屬表面處理中的冷噴涂技術(shù)
- 河北省石家莊市2023-2024學(xué)年高一上學(xué)期期末教學(xué)質(zhì)量檢測(cè)化學(xué)試題(解析版)
- 建設(shè)平安校園筑牢安全防線
- 黑龍江省齊齊哈爾市2023-2024學(xué)年高一上學(xué)期1月期末英語試題(含答案解析)
- 精神科常見藥物中毒急救與護(hù)理課件
- 新生兒的護(hù)理 新生兒科課件
- 麥當(dāng)勞市場(chǎng)調(diào)研
- 《電機(jī)與電氣控制(第三版)》 課件全套 課題1-6 直流電機(jī)的應(yīng)用- 常用機(jī)床電氣控制線路的安裝與調(diào)試
評(píng)論
0/150
提交評(píng)論