Introduction to UML

上传人:小** 文档编号:243146109 上传时间:2024-09-16 格式:PPT 页数:10 大小:149KB
返回 下载 相关 举报
Introduction to UML_第1页
第1页 / 共10页
Introduction to UML_第2页
第2页 / 共10页
Introduction to UML_第3页
第3页 / 共10页
点击查看更多>>
资源描述
Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,*,Introduction to UML,David Davenport,Computer Eng. Dept.,Bilkent UniversityAnkara - Turkey.,email: davidbilkent.edu.tr,Unified Modeling Language,IMPORTANT,Students,This presentation is designed to be used in class as part of a guided discovery sequence. It is not self-explanatory! Please use it only for revision purposes after having taken the class. Simply flicking through the slides will teach you nothing. You must be actively thinking, doing and questioning to learn!,Instructors,You are free to use this presentation in your classes and to make any modifications to it that you wish. All I ask is an email saying where and when it is/was used. I would also appreciate any suggestions you may have for improving it.,thank you,David,.,What & Why UML?,UML - Unified,Modeling,Language,Standard notation to help designers,Visualize, Specify, Guide and Document,complex software projects,UML,is programming language independent,is a combination of several diagramming methods,was designed by The Three Amigos: James,Rumbaugh,Ivar,Jacobson, Grady,Booch,.,version 1.0 completed late nineties, now v1.5/2.0,Simple Class Diagram,Classname,Properties,access name : type,Methods, inc. constructors,access name(,params,) : type,Person,#,name : String,# age :,int,# salary : double,# comments : String,+ Person(,name:String,age:int,),+,getName,() : String,+,getAge,() :,int,+,getNetSalary,() : double,+,getComments,() : String,+,setComments,( String),Access,+ public,# protected,- private,List constructors first,Static items are,underlined,Relations btw Classes,Student,Person,Company,Person,Multiplicities: 0.n, 1, *,Rolename,:,company,employs,person student,takes,course,Navigatability,:,arrow on line,Person,PersonTest,aggregation,generalisation,association,1,2,1.*,Object Diagram,cs101_instructor : Person,name = “David”,age = 22,salary = 1000,comments = “Nice”,derya,: Person,name = “,Derya,”,age 18,salary = 500,comments = “Sweet”,Object Diagrams,Depict objects run-time state,Object name & class,Methods: common, so not shown,More advanced UML,for CS102, including,Abstract classes,Abstract methods,Interfaces,State Diagrams,Abstract Classes & Interfaces,ICatMedia,Use,italics,to indicate:,Class names,Interface names,Abstract methods,ICategory,IMedia,Media,MusicCD,Video,abstract,classname,+,method1,+ method2#,method3,Dotted line indicates “implementation”,Stereotype,often written above class name to indicate interfaces (& abstract classes),State Diagrams,depict object states, transitions btw those states & conditions for transitions to occur,Further reading,UML has many other diagrams,Use cases,Sequence diagrams,Packaging diagrams, etc.,Practical UML: A Hands-On Introduction for Developers, Quick Guide to The Unified,Modeling,Language,http:/www.csci.csusb.edu/dick/samples/uml0.html,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 小学资料


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!