您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > 使用UML分析与设计软件
Page1ΡAnalysisandDesignwithUMLCopyright?1997byRationalSoftwareCorporationPage2ΡAgendaBenefitsofVisualModelingHistoryoftheUMLVisualModelingwithUMLTheRationalIterativeDevelopmentProcessCopyright?1997byRationalSoftwareCorporationPage3ΡWhatisVisualModeling?ComputerSystemBusinessProcessOrderItemShipviaModelingcapturesessentialpartsofthesystem.Dr.JamesRumbaughVisualModelingismodelingusingstandardgraphicalnotationsCopyright?1997byRationalSoftwareCorporationPage4ΡVisualModelingCapturesBusinessProcessUseCaseAnalysisisatechniquetocapturebusinessprocessfromuser뭩perspectiveCopyright?1997byRationalSoftwareCorporationPage5ΡVisualModelingisaCommunicationToolUsevisualmodelingtocapturebusinessobjectsandlogicUsevisualmodelingtoanalyzeanddesignyourapplicationCopyright?1997byRationalSoftwareCorporationPage6ΡVisualModelingManagesComplexityCopyright?1997byRationalSoftwareCorporationPage7ΡVisualModelingDefinesSoftwareArchitectureUserInterface(VisualBasic,Java)BusinessLogic(C++,Java)DatabaseServer(C++&SQL)ModelyoursystemindependentofimplementationlanguageCopyright?1997byRationalSoftwareCorporationPage8ΡVisualModelingPromotesReuseMultipleSystemsReusableComponentsCopyright?1997byRationalSoftwareCorporationPage9ΡWhatistheUML?Copyright?1997byRationalSoftwareCorporationUMLstandsforUnifiedModelingLanguageTheUMLcombinesthebestofthebestfrom–DataModelingconcepts(EntityRelationshipDiagrams)–BusinessModeling(workflow)–ObjectModeling–ComponentModelingTheUMListhestandardlanguageforvisualizing,specifying,constructing,anddocumentingtheartifactsofasoftware-intensivesystemItcanbeusedwithallprocesses,throughoutthedevelopmentlifecycle,andacrossdifferentimplementationtechnologiesPage10ΡHistoryoftheUMLNov?7UMLapprovedbytheOMGCopyright?1997byRationalSoftwareCorporationPage11ΡUMLSupportsApplicationDevelopmentRelationshipsObjectsBusinessObjectslargescalesystemORDBMSOracleClassesapplicationpartitioningComponentsMicrosoftScenariosCORBAOMGUseCasesActiveX/COMMicrosoftBusinessProcessCopyright?1997byRationalSoftwareCorporationPage12ΡUMLConceptsTheUMLmaybeusedto:–Displaytheboundaryofasystem&itsmajorfunctionsusingusecasesandactors–Illustrateusecaserealizationswithinteractiondiagrams–Representastaticstructureofasystemusingclassdiagrams–Modelthebehaviorofobjectswithstatetransitiondiagrams–Revealthephysicalimplementationarchitecturewithcomponent&deploymentdiagrams–ExtendyourfunctionalitywithstereotypesCopyright?1997byRationalSoftwareCorporationPage13ΡPuttingtheUMLtoWorkTheESUUniversitywantstocomputerizetheirregistrationsystem–TheRegistrarsetsupthecurriculumforasemester•Onecoursemayhavemultiplecourseofferings–Studentsselect4primarycoursesand2alternatecourses–Onceastudentregistersforasemester,thebillingsystemisnotifiedsothestudentmaybebilledforthesemester–Studentsmayusethesystemtoadd/dropcoursesforaperiodoftimeafterregistration–Professorsusethesystemtoreceivetheircourseofferingrosters–UsersoftheregistrationsystemareassignedpasswordswhichareusedatlogonvalidationCopyright?1997byRationalSoftwareCorporationPage14ΡActorsAnactorissomeoneorsomethingthatmustinteractwiththesystemunderdevelopmentRegistrarProfessorStudentBillingSystemCopyright?1997byRationalSoftwareCorporationPage15ΡUseCasesAusecaseisapatternofbehaviorthesystemexhibits–EachusecaseisasequenceofrelatedtransactionsperformedbyanactorandthesysteminadialogueActorsareexaminedtodeterminetheirneeds–Registrar--maintainthecurriculum–Professor--requestroster–Student--maintainschedule–BillingSystem--receivebillinginformationfromregistrationMaintainScheduleMaintainCurriculumRequestCourseRosterCopyright?1997byRationalSoftwareCorporationPage16ΡDocumentingUseCasesAflowofeventsdocumentiscreatedforeachusecases–WrittenfromanactorpointofviewDetailswhatthesystemmustprovidetotheactorwhentheusecasesisexecutedTypicalcontents–Howtheusecasestartsandends–Normalflowofevents–Alternateflowofevents–ExceptionalflowofeventsCopyright?1997byRationalSoftwareCorporationPage17ΡMaintainCurriculumFlowofEventsThisusecasebeginswhentheRegistrarlogsontotheRegistrationSystemandentershis/herpassword.Thesystemverifiesthatthepasswordisvalid(E-1)andpromptstheRegistrartoselectthecurrentsemesterorafuturesemester(E-2).TheRegistrarentersthedesiredsemester.Thesystempromptstheprofessortoselectthedesiredactivity:ADD,DELETE,REVIEW,orQUIT.IftheactivityselectedisADD,theS-1:AddaCoursesubflowisperformed.IftheactivityselectedisDELETE,theS-2:DeleteaCoursesubflowisperformed.IftheactivityselectedisREVIEW,theS-3:ReviewCurriculumsubflowisperformed.IftheactivityselectedisQUIT,theusecaseends....Copyright?1997byRationalSoftwareCorporationPage18ΡUseCaseDiagramUsecasediagramsarecreatedtovisualizetherelationshipsbetweenactorsandusecasesStudentRegistrarProfessorMaintainScheduleMaintainCurriculumRequestCourseRosterBillingSystemCopyright?1997byRationalSoftwareCorporationPage19ΡUsesandExtendsUseCaseRelationshipsAstheusecasesaredocumented,otherusecaserelationshipsmaybediscovered–Ausesrelationshipshowsbehaviorthatiscommontooneormoreusecases–Anextendsrelationshipshow
本文标题:使用UML分析与设计软件
链接地址:https://www.777doc.com/doc-4211527 .html