Department of Electrical Engineering and Computer Science University of Central Florida Fall 2014.

Slides:



Advertisements
Similar presentations
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Advertisements

 Kia Manoochehri ◦  Office Hours: 2:30-4:00 M/W ◦ HEC 308 (The Cave)
Improved software quality through semantic descriptions (Skutt) Karlstad University Dept. of Computer Science UML introduction A short introduction.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Page 1  Copyright © 1997 by Rational Software Corporation Class Diagrams A class diagram shows the existence of classes and their relationships in the.
IMSE 11 - UML Class Diagrams
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
Unified Modeling Language
CS 2511 Fall UML Diagram Types  2 Main Types Structure Diagrams ○ Class Diagrams ○ Component Diagrams ○ Object Diagrams Behavior Diagrams ○
 2008 Pearson Education, Inc. All rights reserved (Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements.
Introduction to UML Lian Yu Department of Computer Science and Engineering Arizona State University Tempe, AZ
OBJECT ORIENTED PROGRAMMING LECTURE 12 Instructor: Rashi Garg Coordinator: Gaurav Saxena.
Department of Electrical Engineering and Computer Science University of Central Florida Fall 2014.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 4 - Domain Classes.
Lab 04.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Domain Modeling Part2: Domain Class Diagram Chapter 4 pp part 2 1.
Unit 1 INTRODUCTION TO MODELING AND CLASS MODEL Ref : L7-UML.PDF.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
© 2005 Prentice Hall9-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
Fall 2010 CS4310 Requirements Engineering A Brief Review of UML & OO Dr. Guoqiang Hu Department of Computer Science UTEP 1.
UML Diagrams: The Static Model Class Diagrams. The Static Model Define the static structure of the logical model Represent classes, class hierarchies.
(Reference: Jason Roff – UML Beginner’s Guide).  Box  Top section is class name  Second section is class attributes (data members)  Third section.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Using COMET with Visio Visio UML Modeling. Creating a Drawing After opening Visio, you will see a list of templates available.
Design Jon Walker. More UML ● What is UML again?
Class Diagram. Classes Software Design (UML) Class Name attributes operations A class is a description of a set of objects that share the same attributes,
Design Model Lecture p6 T120B pavasario sem.
Object Oriented Analysis: Associations. 2 Object Oriented Modeling BUAD/American University Class Relationships u Classes have relationships between each.
Class Modeling Design Class diagram. Classes The term “class ” refers to a group of objects that share a common attributes and common behaviour (operations).
Class Diagram Chapter 21 Applying UML and Patterns Craig Larman.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
Basic ER modeling was adequate for simpler databases, but in the 1980’s more demanding databases required more extensive modeling requirements. Some such.
Class Diagram Lecture # 1. Class diagram A Class Diagram is a diagram describing the structure of a system shows the system's classes Attributes operations.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
25/2/16. Software Design (UML) ClassName attributes operations A class is a description of a set of objects that share the same attributes, Operations.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
Inf 43: Introduction to Software Engineering May 7, 2016.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Unified Modeling Language (UML)
Object-Orientated Analysis, Design and Programming
UML Diagrams: Class Diagrams The Static Analysis Model
UML PPt by: Hong Qing Yu.
Introduction to UML Introduction to UML Shiyuan Jin September,23,2002
COP 4331 Recitation #2 University of Central Florida
UML Diagrams: The Static Model Class Diagrams
Unified Modeling Language
Domain Class Diagram Chapter 4 Part 2 pp
Software Engineering Lecture #11.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4th edition, Prentice Hall, Hans Van Vliet, Software Engineering:
Software Engineering Lecture 10.
COP 4331 Recitation #1 University of Central Florida
Unified Modeling Language
COP 4331 Recitation #1 University of Central Florida
Appendix A Object-Oriented Analysis and Design
Software Engineering System Modeling Extra examples Dr.Doaa Sami
Class and Object Diagrams
Understand and Use Object Oriented Methods
Class Diagrams Class diagram is basically a graphical representation of the static view of the system and represents different aspects of the application.
Class Diagram.
Object Oriented System Design Class Diagrams
Information System Design
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

Department of Electrical Engineering and Computer Science University of Central Florida Fall 2014

Class & Sequence Diagrams

 Each class is divided into three components:

Class Name

 Each class is divided into three components: Class Name Attributes

 Each class is divided into three components: Class Name Attributes Attributes can be: + Public - Private # Protected

 Each class is divided into three components: Class Name Attributes Operations

Patron

# ID_Number : integer +Name : String - Fines : double

Patron # ID_Number : integer +Name : String - Fines : double checkFines() payFines()

 Class diagrams also contain information regarding the relationship between them ◦ Association ◦ Dependency ◦ Generalization

 Association: A link indicating that two classes need to communicate with one another StudentProfessor

 Association: A link indicating that two classes need to communicate with one another ◦ Multiplicity: Every professor has 1 or more students StudentProfessor [1…*]

 Association: A link indicating that two classes need to communicate with one another ◦ Multiplicity: Every professor has 1 or more students ◦ Role Names: Students learn from Professors StudentProfessor learns from teaches

 Aggregation: “has a” association. Each part exists outside of the whole  Shown by using an empty diamond Car Wheel Engine

 Composition: demonstrates strong ownership, the part cannot exist without the whole and vice versa  Shown by using a filled diamond Person Arm Leg

 Dependency relationship: ◦ Is a semantic relationship between classes because the functionality of one depends on the other Calendar addEvent(p: Party) Party

 Generalization: connection between a subclass and a superclass People StudentProfessor

 Sequence diagrams emphasis the time ordering of messages

◦ Objects create the “object life line”

 Messages are shown by a horizontal line between life lines ◦ May include a condition CustomerBank withdraw money

 A return message is a response from the object CustomerBank withdraw money money

 The end of an object life line is demonstrated by an X Bank

 Shari Lawrence Pfleeger and Joanne M. Atlee, "Software Engineering: Theory and Practice", 4th Edition, Prentice Hall, Prepared/modified by  Kia Manoochehri ◦  Gurkan Solmaz ◦