预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共16页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

UseCaseDesign 汤涛 tangt@sinosoft.com.cn Agenda „WhatisdoneUse-CaseDesign „InputstoUse-CaseDesign „Resultingartifacts „Use-CaseRealizationwithdesign mechanisms „InteractionDiagrams „ClassDiagram „UnifiedDesignClasses WhatisdoneinUse-CaseDesign? „Incorporateinterfaces(identifiedin ArchitecturalDesign)intoUse-Case realization „Identifynewsubsystems–reuse opportunities „Describetransactions „IncorporationofarchitectureintoUse-Case realization InputstoUse-CaseDesign „Use-CaseModel „Use-CaseRealization(Analysis) „DesignGuidelines–DesignMechanisms StepsInvolved IncorporateInterfacesintoRealization IdentifynewSubsystems(optional) DescribeTransactions IncorporateDesignMechanismsinto Realization Example:Subsystems AnalysisClassesDesignElements <<boundary>> BillingSystem<<subsystem>> BillingSystem //submitbill()IBillingSystem makePayment(Movie,Amount,Customer) <<boundary>> MovieCatalogSystem<<subsystem>> MovieCatalogSystem //getcourseofferings()IMovieCatalogSystem getMovieListing(today):MovieList Example:BeforeIncorporatingSSinterface :BookingMovieForm:BookingController:MovieCatalogSystem:Schedule:Customer :Customer 1.//createschedule() 1.1.//getmovielisting() Customerwishesto Bookamovie1.1.1.//getmovieofferings(today) 1.2.//displaymovielisting() Alistoftheavailable moviefortoday aredisplayed Amovieschedule1.3.//displaymovieschedule() isdisplayedforthe customertoselect movie 2.//selectamovie() 2.1.//createschedulewithmoviedetail() 2.1.1.//createwithmoviedetail() 2.1.2.//addschedule(Schedule) Atthispoint,theSubmitSchedulesubflowisexecuted Example:AfterIncorporatingSSinterface :BookingMovie:BookingController:IBookingCatalog:Schedule:Customer :CustomerFormSystem 1://createschedule() 1.1.//getmovielisting() Studentwishesto createanew1.1.1.//getmovieofferings(today) schedule 1.2://displaymovielisting() Alistoftheavailable moviefortodayReplacedwithsubsysteminterface aredisplayed Amovieschedule1.3://displayschedule() isdisplayedforthe c