您好,欢迎访问三七文档
(RUP)2009.12RUPUMLRUPRUPRUPRUPRUPUML1UMLUML,:1()--“”,:ActorUsecaseUsecase--,:--,,:“”“”.UML8,UML””!.\.UML4,,UML4””!“/”\\12()UMLUML2UML14,:USECASE68.:usecase,.,UML2UMLRUP;;,RUPUML“”ActorUsecaseUSECASEUsecaseRUPRUP1RUP:“”.:--“”--RUP----2RUPUseCaseUSECASEUSECASERUP()()RUPtheinceptionphasetheelaborationphasetheconstructionphasethetransitionphase()--------“”.--:;()RUP.:“”-;...objectives.“”.----.--.;,/./.RUP1,.RUP---USECASE2-31)2)3)1)2)3)1):USECASEactor42):USECASE-USECASE-USECASE3)-Feature--Usecase-usecases(1)(////),,Feature,.::itemshrinks100A15,:USECASEUSECASE1USECASEUSECASE2USECASE3USECASEActor--Status(/Priority(e.g.,critical,important,orancillary)(2),-.:1manipulatethingReal-worldobjectsEventsOrderdateofsubmissiondeliveryaddressItemdescriptionpicturecostInvoiceamountdateofsubmissionlastdateofpaymentAccountbalanceowner1..*payable1..*buyer1seller1:Order,Invoice,Item,andAccount,,.:22•usecase.USECASE,usecasebusinessprocesses,actorscustomers.:•interiorworkersbusinessentitiesworkunitsusecaseusecaseBusinessentity:something,usecaseworkunit:workers:usecase.:Businessentitiesworkunit,usecase(3),1Use-Case2Use-Case-Use-CaseactorsusecasesUse-CasesystemUse-CasemodelActorUsecase**1TheUse-Casesystemdenotesthetop-levelpackageofthemodel3SystemAnalysisresponsibleforUse-caseSpecifierresponsibleforUser-interfacedesignerresponsibleforArchitectresponsibleforusecasemodelActorGlossaryUsecaseUserinterfaceprototypeArchitectureDescription4USECASE1:ActorUSECASE1:Actor-,actors•workeractor•actor,actor-actoractoractorsNote:actoractoractors,2actors:actoractorsactor“”actors,2actorsactor“”actor“”actor2:ActorsActorsactors,“”convey,Actorsactor:theBuyer,SellerBuyerABuyerrepresentsapersonwhoisresponsibleforbuyinggoodsorservicesasdescribedinthebusinessusecaseSales:fromOrdertoDelivery.Thispersonmaybeanindividualorsomeonewithinabusinessorganization.TheBuyerofgoodsandservicesneedtheBillingandPaymentSystemtosendorderandtopayinvoices.SellerASellerrepresentsapersonwhosellsanddeliversgoodsorservices.TheSellerusesthesystemtolookfornewordersandtosendorderconfirmations,invoices,andpaymentreminders.--,“”“”;,--/,3:UseCase--••••--complete.(resultofvalue).(particularactor):“”4:43UAECASE“PayInvoiceUseCases“TheusecasePayInvoiceisusedbyaBuyertoscheduleinvoicepayments.ThePayInvoiceusecasetheneffectsthepaymentontheduedate.”“Beforethisusecasecanbeinitiated,theBuyerhasalreadyreceivedaninvoice(deliveredbyanotherusecasecalledInvoiceBuyer)andhasalsoreceivedthegoodsorservicesordered.:1.Thebuyerstudiestheinvoicetopayandchecksthatitisconsistentwiththeoriginalorder.2.TheBuyerschedulestheinvoiceforpaymentbythebank.3.Onthedaypaymentisdue,thesystemcheckstoseeifthereisenoughmoneyintheBuyer’saccount.Ifenoughmoneyisavailable,thetransactionismade.”1:--[]:--[]2:usecasePriority12[]ArchitectUseCasemodel[outlined]SupplementaryRequirementsGlossaryArchitectureDescription[viewoftheusecasemodel]PrioritizedUseCases--:;--;--,3:UseCaseusecaseactorsUsecaseSpecifierUseCasemodel[outlined]SupplementaryRequirementsGlossaryUseCase[detailed]DetailaUseCaseTheresultisadetaileddescriptionofaparticularusecaseintextanddiagram.:usecaseusecaseusecaseFlowofEvents“PathsofthePayInvoiceUseCasePrecondition:Thebuyerhasreceivedthegoodsorservicesorderedandatleastoneinvoicefromthesystem.Thebuyernowplanstoscheduletheinvoice(s)forpayment.FlowofEventsBasicPath1Thebuyerinvokestheusecasebybeginningtobrowsetheinvoicesreceivedbythesystem.Thesystemchecksthatthecontentofeachinvoiceisconsistentwithorderconfirmationsreceivedearly(aspartoftheConfirmOrderusecase)andsomehowindicatesthistothebuyer.Theorderconfirmationdescribeswhichitemswillbedelivered,when,where,andatwhatprice.2Thebuyerdecidestoscheduleaninvoiceforpaymentbythebank,andthesystemgeneratesapaymentrequesttotransfermoneytotheseller’saccount.Notethatabuyermaynotschedulethesameinvoiceforpaymenttwice.3later,ifthereisenoughmoneyinthebuyer’saccount,apaymenttransactionismadeonthescheduleddate.Duringthetransaction,moneyistransferredfromthebuyer’saccounttotheseller’saccount,asdescribedbytheabstractusecasePerformTransaction(whichisusedbyPayInvoice).Thebuyerandthesellerarenotifiedoftheresultofthetransaction.Thebankcollectafeeforthetransaction,whichiswithdrawnfromthebuyer’saccountbythesystem.4Theusecaseinstanceterminates.AlternativePathInStep2,thebuyermayinsteadaskthesystemtosendaninvoicerejectionbacktotheseller.InStep3,ifthereisnotenoughmoneyintheaccount,theusecasewillcancelthepaymentandnotifythebuyer.Post-condition:Theusecaseinstanceendswhentheinvoicehasbeenpaidorwhentheinvoicepaymentwascanceledandnomoneywastransferred.”12Step13Step1-4)4Step4567(Step2Step3),8(Step3),:/usecaseusecase,;4:usecasesusecase5:UseCase:actorsusecases,usecaseusecaseusecase•usecaseusecase•usecaseadditionaloroptionalusecaseBuyerSellerPayInvoicePayInvoicePerformTransaction2usecasePerformTransactionBuyerSellerPayInvoicePayInvoicePayOverdraftFee2usecasesextendPerformTransactionPayOverdraftFeeusecaseusecasesinclude:realizationrefining[]RUP()worktobedonere
本文标题:RUP(1)
链接地址:https://www.777doc.com/doc-4350061 .html