欢迎来到天天文库
浏览记录
ID:9534074
大小:98.50 KB
页数:10页
时间:2018-05-03
《外文翻译--uml 2.0 序列图组合碎片》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、中文2270字UML2.0SequenceDiagramCombinedfragmentsThediagram'spurposeThesequencediagramisusedprimarilytoshowtheinteractionsbetweenobjectsinthesequentialorderthatthoseinteractionsoccur.Muchliketheclassdiagram,developerstypicallythinksequencediagramsweremeantexclusivelyforthem.However,anorganization'sbu
2、sinessstaffcanfindsequencediagramsusefultocommunicatehowthebusinesscurrentlyworksbyshowinghowvariousbusinessobjectsinteract.Besidesdocumentinganorganization'scurrentaffairs,abusiness-levelsequencediagramcanbeusedasarequirementsdocumenttocommunicaterequirementsforafuturesystemimplementation.During
3、therequirementsphaseofaproject,analystscantakeusecasestothenextlevelbyprovidingamoreformallevelofrefinement.Whenthatoccurs,usecasesareoftenrefinedintooneormoresequencediagrams.Anorganization'stechnicalstaffcanfindsequencediagramsusefulindocumentinghowafuturesystemshouldbehave.Duringthedesignphase
4、,architectsanddeveloperscanusethediagramtoforceoutthesystem'sobjectinteractions,thusfleshingoutoverallsystemdesign.Oneoftheprimaryusesofsequencediagramsisinthetransitionfromrequirementsexpressedasusecasestothenextandmoreformallevelofrefinement.Usecasesareoftenrefinedintooneormoresequencediagrams.
5、Inadditiontotheiruseindesigningnewsystems,sequencediagramscanbeusedtodocumenthowobjectsinanexisting(callit"legacy")systemcurrentlyinteract.Thisdocumentationisveryusefulwhentransitioningasystemtoanotherpersonororganization.ThenotationSincethisisthefirstarticleinmyUMLdiagramseriesthatisbasedonUML2,
6、weneedtofirstdiscussanadditiontothenotationinUML2diagrams,namelyanotationelementcalledaframe.TheframeelementisusedasabasisformanyotherdiagramelementsinUML2,butthefirstplacemostpeoplewillencounteraframeelementisasthegraphicalboundaryofadiagram.Aframeelementprovidesaconsistentplaceforadiagram'slabe
7、l,whileprovidingagraphicalboundaryforthediagram.TheframeelementisoptionalinUMLdiagrams;asyoucanseeinFigures1and2,thediagram'slabelisplacedinthetopleftcornerinwhatI'llcalltheframe's"namebox,"asortofdog-earedrectangle,an
此文档下载收益归作者所有