تحليل انظمة و تصميمها الوحدة الخامسة أ.محمد زكي شبير.

Slides:



Advertisements
Similar presentations
UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
Advertisements

UML Class Diagram. UML Class Diagrams2 Agenda What is a Class Diagram? Essential Elements of a UML Class Diagram Tips.
Slide 1 Systems Analysis & Design CS183 Spring Semester 2008 Dr. Jonathan Y. Clark Course Website:
Slide 1 Chapter 7 Structural Modeling. Slide 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business.
Page 1  Copyright © 1997 by Rational Software Corporation Class Diagrams A class diagram shows the existence of classes and their relationships in the.
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Sharif University of Technology1 Design and Use-case Realization Software Engineering Laboratory Fall 2006.
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Structural Modeling Chapter 7
Slide 1 Structural Modeling Chapter 7. Slide 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business.
Databases : Data Modeling 2007, Fall Pusan National University Ki-Joune Li.
UML Class Diagram Trisha Cummings. What we will be covering What is a Class Diagram? Essential Elements of a UML Class Diagram UML Packages Logical Distribution.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Haley Wixom, and David Tegarden Chapter 7: Structural Modeling.
Lecture 1: UML Class Diagram September 12, UML Class Diagrams2 What is a Class Diagram? A class diagram describes the types of objects in the system.
Structural Modeling Chapter 7. Key Ideas A structural or conceptual model describes the structure of the data that supports the business processes in.
1 Structural Modeling Chapter 7. 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business processes.
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.
Object Oriented Analysis and Design Class and Object Diagrams.
advanced data modeling
Class Diagram Chapter 21 Applying UML and Patterns Craig Larman.
PowerPoint Presentation for Dennis, Wixom & Tegardem Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Haley Wixom, and David Tegarden Chapter 7: Structural Modeling.
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
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.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Haley Wixom, and David Tegarden Chapter 7: Structural Modeling.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
Entity-Relationship Model
Enhanced Entity-Relationship (EER) Model
The Enhanced Entity- Relationship (EER) Model
CompSci 280 S Introduction to Software Development
UML Diagrams: Class Diagrams The Static Analysis Model
Object-Oriented Modeling
Object-oriented and Structured System Models
COMP 2710 Software Construction Class Diagrams
Structural Modeling.
Enhanced Entity-Relationship and Object Modeling Objectives
Session 2 Welcome: The sixth learning sequence
Chapter 5: Structural Modeling
Class Diagrams.
Class diagram Description
Chapter 7: Entity-Relationship Model
Outline of the ER Model By S.Saha
Abstract descriptions of systems whose requirements are being analysed
IDEF1X Standard IDEF1X (Integrated Definition 1, Extended) was announced as a national standard in 1993 It defines entities, relationships, and attributes.
UML Unified Modelling Language
OO models with relational databases
Conceptual data modeling
Advanced Java Programming
UML Class Diagrams: Basic Concepts
Object Oriented Analysis and Design
“Unified Modeling Languge“ Class Diagram
System models October 5, 2005.
Software Engineering Lecture #11.
Module 8 – Database Design Using the E-R Model
2018, Fall Pusan National University Ki-Joune Li
UML Class Diagram.
INFS 6225 Object Oriented Systems Analysis & Design
Software Construction Lecture 2
Software Engineering System Modeling Extra examples Dr.Doaa Sami
Entity Relationship Model
Understand and Use Object Oriented Methods
Software Design Lecture : 15.
Class Diagrams Class diagram is basically a graphical representation of the static view of the system and represents different aspects of the application.
Database Management System
Chapter 6b: Database Design Using the E-R Model
2019, Fall Pusan National University Ki-Joune Li
Presentation transcript:

تحليل انظمة و تصميمها الوحدة الخامسة أ.محمد زكي شبير

اهداف الوحدة توضيح اهمية نماذج بنية النظام تحدد عناصر بنية النظام تبين العلاقات بين الاصناف تستخدم بطاقة الصنف ، المسؤولية و التعاون ترسم مخطط الاصناف أ.محمد زكي شبير

نماذج بنية النظام على محلل النظم العلم بمجال العمل محاسبة – نظام تسجيل لجامعة – نظام لمستشفي

مكونات نموج بنية النظام الاصناف Classes الصفات Attributes الطرق Methods العلاقات Relationships

الاصناف Classes قالب لصنع الكينونات Objects وتقسم الى الأصناف الصلبة Solid Classes عندما يكون الصنف ذا علاقة مباشرة بمجال العمل و نقول عنها اصناف ملموسة مثال : الراتب او الكتاب

الاصناف Classes 2 الاصناف المفاهيمية Conceptual Classes تشير الى كينونات معنوية غير ملموسة. حيث تصف الاصناف الرئيسية و العلاقات بينها مثال : صنف الموظف المندرج تحت صنف الشخص

الاصناف Classes 3 الاصناف الحقيقية Real World Classes مثال: واجهات الاستخدام و قواعد البيانات

مكونات الاصناف الصفات Attributes الطرق Methods الطالب رقم الطالب اسم الطالب الهاتف العنوان معدل الثانوية - اضافة () - حذف () - تعديل () - تخصص () الصفات Attributes الطرق Methods

الصفات Attributes عبارة عن قطعة معلومات مفيدة ترتبط بوصف جزء من الصنف مثال: صفات الموظف : الاسم، العنوان، لون الشعر هل لون الشعر مفيد في نظام المرتبات

الطرق Methods الأفعال التي تنفذها كينونات مشتقة من صنف معين مثال : اضافة و حذف و تعديل

مثال على الصنف الطالب رقم الطالب اسم الطالب الهاتف العنوان معدل الثانوية - اضافة () - حذف () - تعديل () - تخصص () الصف الصفات الطرق

هل لديكم امثلة اخرى؟

العلاقات Relationships روبط بين الاصناف العلاقات لتمثيل متطلبات الكينونات الموجة object oriented وهي ثلاث انواع: علاقة التعميم علاقة التجميع علاقة التشارك

علاقة التعميم Generalization علاقة التعميم تمكن المحلل من انشاء اصناف تستطيع توارث Inheritance صفات و عمليات اصناف اخرى Super class Sub class

علاقة التعميم Generalization 2 العلاقة بين الصنف للرئيسي للفرعي تسمى Specialization العلاقة بين الصنف الفرعي للرئيسي Globalization

مثال عملاء شركة ما عملاء خارجيين الرقم ، الاسم ، العنوان ، رقم الهاتف ، نوع العمله ، طريقة التصدير و البلد عملاء داخليين العملاء الداخليين قسمان عملاء دائمين الرقم ، الاسم ، العنوان ، رقم الهاتف ، صندوق البريد و الخصم عملاء غير دائمين الرقم ، الاسم ، العنوان ، رقم الهاتف ، صندوق البريد و المحافظه

العملاء الرقم الاسم العنوان الهاتف داخلي خارجي صندوق البريد نوع العملة طريقة التصدير البلد غير دائم دائم المحافظة الخصم

علاقة التجميع Aggregation يستخدم هذا النوع من العلاقات في نمذجة البيانات و تمثيل المعلموات بتجميع صفات اصناف عديدة لتكون صنف واحد Aggregation can occur when a class is a collection or container of other classes أ.محمد زكي شبير

علاقة التجميع 2 Aggregation اشكال التجميع علاقة جزء من part of علاقة باب السيارة بالسيارة محتواه في contained in طلاب سنة اولي من الطلاب مشارك ب participate in اعطاء فريق القدم لكل فرد دور معيين

علاقة التجميع Aggregation 3

علاقة التشارك Association مجموعة من العلاقات بين الاصناف (التعددية) An association represents a family of links وهذا النوع مختلف عن التجميع او التعميم شكل معين من التجميع بشكل مشروط المريض عندما يحدد موعد مع الطبيب يصبح الموعد مشروط بالمريض

علاقة التشارك Association 2

توثيق الأصناف Classes Documentation يجب توثيق كل صنف بالشكل التالي الصنف الصفات العمليات الطالب رقم الطالب اسم الطالب الهاتف العنوان معدل الثانوية - اضافة () - حذف () - تعديل () - تخصص () الصف الصفات الطرق

بطاقات الصنف ، المسؤولية و التعاون Class Responsibility Collaboration CRC تستخدم هذه البطاقات لكل صنف و تقسم الى معرفة معرفة كينونات اخري فعل تفيذ العمليات

بطاقات الصنف ، المسؤولية و التعاون Class Responsibility Collaboration CRC Class Name: Student ID:01 Type: General Description: This Class represents a general student class Responsibilities Collaboration Login to Reg System String Register for Courses Network and Connection Know the offered Course Attributes: Number, Name, Year Relations Course Instructors Other associations Part Time Student

مخطط الأصناف Class Diagrams 1: exactly one 0..*: zero or more 1..*: one to more 0..1: zero or one 2..4: specified range 1..3,5: multiple, disjoint يوضح مخطط الاصناف الاصناف العلاقات تعميمية تشاركية التعديدية

مثال: مخطط الاصناف