尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
STRUCTURAL MODELING AND
ANALYSIS
By: JIGAR M. MAKHIJA
Structural modeling
• It can be referred as “Thing”.
• Structural modeling shows how this Things are
related with each other.
Thing
Class Interface Object Package
What is an Object?
• A self contained entity with well defined
characteristics
Eg:
Entity=Book;
Characteristics=page no, author , publisher,
price etc.
Type of Objects
Objects
Physical &
Conceptual
Domain &
Implementation
Active & Passive
1. Physical & Conceptual :
– Tangible & Intangible objects.
– Physical objects are the things which are visible
and that can be touched . E.g.: ATM.
– Conceptual objects are the things which we can’t
see normally. E.g.: Card Strip Reader.
2. Domain & Implementation :
– The objects identified from the real world are
domain objects.
e.g. : Bank Accounts, ATM, Customers Etc.
– The objects which are not related to the real
world entities are implementation objects.
e.g. : Error Logs, Transaction Records .
3. Active & Passive:
– The objects which can change its state without
any external command are Active objects .
e.g. : Timers & Clocks.
– The objects which can change its state unless any
external command is received are known by
Passive objects.
e.g. : Properties of bank account.
What is Class?
• A set of similar objects.
• It is combination of properties and methods
that are necessary to the system.
properties=attributes;
methods=operations;
Bank Account
- Name
- Balance
+ Debit(Amt)
+ Credit(Amt)
UML NOTATION
• Attributes:
– Properties of a class.
– Attributes consist of Name & its Value along with its
Type. E.g. : Int sum=100;
• Operations:
– A set of functions to provide services in software
system.
– Operations are similar to functions that consist of
parameters and return values.
e.g. : withdraw(amt) , getBalance() .
Encapsulation
• Information Hiding.
• Objects are like Black boxes.
• The implementation of objects are hidden
from those who use them (End Users).
• But, creator or developer knows the details of
internal construction of that object.
Inheritance
• Attributes and operations common to group
of subclass are attached to superclass and
inherited by its subclasses.
• Each subclass may also include new feature of
its own.
• Properties:
Generalization Specialization
• The purpose of this property is to
distribute the commonalities
from the superclass among a
group of similar subclasses.
Generalization
• It allows subclasses to extend the
functionalities of their superclass.
• A subclass can introduce new
operations and attributes of its
own.
Specialization
Abstract Classes
• An abstract class consist of operations
without their actual implementation .
• An operations without the implementation
(body) is called abstract operations.
• A class can be specified as abstract by writing
name in italics. E.g. Shape
Polymorphism
• Polymorphism is the ability for a variable to
hold objects of its own class and subclasses at
runtime.
Role
• Each end of association has a role.
Multiplicity
• Multiplicity refers to the number of objects
associated with a given object.
Association
• It represents binary relationships among
classes.
• Represented by line.
Person Company
1..n 1Works for
Employee Employer
Multiplicity
Role
Qualification
• It serves as names or keys that are part of
association and are used to select objects at
the other end of association.
Person Bank
Person Bank
0..n 0..n
Account No0..1 0..n
Reflexive Association
• A reflexive association is an association that
relates one object of a class to another object
of the same class.
N-ary Association
• A relationship involving three classes is referref to
as an ternary relationship, and one involving
many classes is referred to as an n-ary
relationship.
Association Classes
• Associations that include additional attributes
which do not naturally belong to the objects
involved in the associations.
Person Company
Position
-title
-starting_Date
-salary
0..n 0..nWorkFor
Aggregation
• Aggregation is a stronger form of association.
• It represent the “has-a or part-of”
relationship.
Company Division
1..n
Department
1..n
Composition
• Composition is a stronger form of aggregation.
• It represent the “part-of” relationship.
Company Division
1..n
Department
1..n
Constraints and Notes
• Constraints are relation between signs &
symbols of UML element that allow the
inclusion of new rules or the modification of
existing ones.
• Constraints are represented by label in curly
brackets {constraint name}.
{Constraints}
UML Notation for Structural Modeling
Class :
Interface:
Component
Component:
Interface
UML Notation for Structural Modeling
Node:
Constraint:
Association:
Aggregation:
Generalization:
Heuristics in using Structural Analysis
• Do not attempt to develop a single giant class
diagram.
• Use model management constructs such as
package, subsystems.
• Consider both logical & physical aspects.
• Use data or middleware for communication
among major subsystems whenever possible.
Heuristics in using Structural Analysis
• Make Design Patterns flexible and adaptable.
• Apply domain analysis such as textual analysis,
documentation reviews to identify reusable
components.
• Inter-play top-down approach & bottom-up
approach.
• Use packages to organize the domain classes
incrementally as development progresses.
Heuristics in using Structural Analysis
• Conduct use case analysis to yield missing
pieces in structural model.
• Review whether a particular class is becoming
too large.
Domain Modeling and Analysis Process
• Before domain analysis is conducted we need to
understand the problem of domain of the system.
• The output of the domain analysis is domain class
model which describes the classes and their
relationships.
• The domain class model consist of class diagrams, a
data dictionary describing the classes and their
associations (relationships ).
Developing Domain Class Models
1. Preparing the problem statement.
2. Identifying the objects and classes using textual
analysis.
3. Developing a data dictionary.
4. Identifying associations between classes.
5. Identifying attributes of classes and association
classes.
6. Structuring classes using inheritance.
7. Verifying access path for likely queries.
8. Iterating and refining the model.
…
That’s all for today.

More Related Content

What's hot

INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 
Iterative model
Iterative modelIterative model
Iterative model
Vaibhav Dash
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
SHREEHARI WADAWADAGI
 
software project management Waterfall model
software project management Waterfall modelsoftware project management Waterfall model
software project management Waterfall model
REHMAT ULLAH
 
Incremental model
Incremental modelIncremental model
Incremental model
Hpibmx
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
Preeti Mishra
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
Indu Sharma Bhardwaj
 
Evolutionary process models se.ppt
Evolutionary process models se.pptEvolutionary process models se.ppt
Evolutionary process models se.ppt
bhadjaashvini1
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
barney92
 
Software reliability & quality
Software reliability & qualitySoftware reliability & quality
Software reliability & quality
Nur Islam
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and Views
Kumar
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
Rana Muhammad Asif
 
Software engineering lecture notes
Software engineering lecture notesSoftware engineering lecture notes
Software engineering lecture notes
Siva Ayyakutti
 
Ooad overview
Ooad overviewOoad overview
Ooad overview
Dr. C.V. Suresh Babu
 
Pressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-modelsPressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-models
saurabhshertukde
 
Introduction to UML
Introduction to UMLIntroduction to UML
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Testbytes
 
component based development model
component based development modelcomponent based development model
component based development model
Muneeba Qamar
 
SDLC Models
SDLC ModelsSDLC Models
SDLC Models
akash250690
 

What's hot (20)

INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Iterative model
Iterative modelIterative model
Iterative model
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
software project management Waterfall model
software project management Waterfall modelsoftware project management Waterfall model
software project management Waterfall model
 
Incremental model
Incremental modelIncremental model
Incremental model
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Evolutionary process models se.ppt
Evolutionary process models se.pptEvolutionary process models se.ppt
Evolutionary process models se.ppt
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Software reliability & quality
Software reliability & qualitySoftware reliability & quality
Software reliability & quality
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and Views
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Software engineering lecture notes
Software engineering lecture notesSoftware engineering lecture notes
Software engineering lecture notes
 
Ooad overview
Ooad overviewOoad overview
Ooad overview
 
Pressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-modelsPressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-models
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
component based development model
component based development modelcomponent based development model
component based development model
 
SDLC Models
SDLC ModelsSDLC Models
SDLC Models
 

Similar to Structural modeling and analysis

Ooad ch 1_2
Ooad ch 1_2Ooad ch 1_2
Ooad ch 1_2
anujabeatrice2
 
IBM OOAD Part1 Summary
IBM OOAD Part1 SummaryIBM OOAD Part1 Summary
IBM OOAD Part1 Summary
Haitham Raik
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
viju001
 
L1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfL1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdf
BhanuJatinSingh
 
Ooad ch 2
Ooad ch 2Ooad ch 2
Ooad ch 2
anujabeatrice2
 
Slideshow on the notes of software engineering
Slideshow on the notes of software engineeringSlideshow on the notes of software engineering
Slideshow on the notes of software engineering
erickbaldskie
 
SMD Unit ii
SMD Unit iiSMD Unit ii
SMD Unit ii
madhavi patil
 
Ooad lab manual
Ooad  lab manualOoad  lab manual
Ooad lab manual
Praseela R
 
2 uml
2 uml2 uml
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
Kumar
 
Object analysis and design
Object analysis and designObject analysis and design
Object analysis and design
Anand Grewal
 
Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)
riarana10
 
Object oriented programming
Object oriented programmingObject oriented programming
ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3
Erdem Sahin
 
DISE - OOAD Using UML
DISE - OOAD Using UMLDISE - OOAD Using UML
DISE - OOAD Using UML
Rasan Samarasinghe
 
object oriented programing lecture 1
object oriented programing lecture 1object oriented programing lecture 1
object oriented programing lecture 1
Geophery sanga
 
MODELLING WITH OBJECTS.pptx
MODELLING WITH OBJECTS.pptxMODELLING WITH OBJECTS.pptx
MODELLING WITH OBJECTS.pptx
Tarun710971
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
XanGwaps
 
Composite pattern.pptx
Composite pattern.pptxComposite pattern.pptx
Composite pattern.pptx
SeetharamNageshAppe1
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
VivekChaudhary93
 

Similar to Structural modeling and analysis (20)

Ooad ch 1_2
Ooad ch 1_2Ooad ch 1_2
Ooad ch 1_2
 
IBM OOAD Part1 Summary
IBM OOAD Part1 SummaryIBM OOAD Part1 Summary
IBM OOAD Part1 Summary
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
 
L1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfL1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdf
 
Ooad ch 2
Ooad ch 2Ooad ch 2
Ooad ch 2
 
Slideshow on the notes of software engineering
Slideshow on the notes of software engineeringSlideshow on the notes of software engineering
Slideshow on the notes of software engineering
 
SMD Unit ii
SMD Unit iiSMD Unit ii
SMD Unit ii
 
Ooad lab manual
Ooad  lab manualOoad  lab manual
Ooad lab manual
 
2 uml
2 uml2 uml
2 uml
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
Object analysis and design
Object analysis and designObject analysis and design
Object analysis and design
 
Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3ArchitectureOfAOMsWICSA3
ArchitectureOfAOMsWICSA3
 
DISE - OOAD Using UML
DISE - OOAD Using UMLDISE - OOAD Using UML
DISE - OOAD Using UML
 
object oriented programing lecture 1
object oriented programing lecture 1object oriented programing lecture 1
object oriented programing lecture 1
 
MODELLING WITH OBJECTS.pptx
MODELLING WITH OBJECTS.pptxMODELLING WITH OBJECTS.pptx
MODELLING WITH OBJECTS.pptx
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
Composite pattern.pptx
Composite pattern.pptxComposite pattern.pptx
Composite pattern.pptx
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 

More from JIGAR MAKHIJA

Php gd library
Php gd libraryPhp gd library
Php gd library
JIGAR MAKHIJA
 
Php pattern matching
Php pattern matchingPhp pattern matching
Php pattern matching
JIGAR MAKHIJA
 
Php cookies
Php cookiesPhp cookies
Php cookies
JIGAR MAKHIJA
 
Php functions
Php functionsPhp functions
Php functions
JIGAR MAKHIJA
 
Php sessions
Php sessionsPhp sessions
Php sessions
JIGAR MAKHIJA
 
Php server variables
Php server variablesPhp server variables
Php server variables
JIGAR MAKHIJA
 
Db function
Db functionDb function
Db function
JIGAR MAKHIJA
 
C++ version 1
C++  version 1C++  version 1
C++ version 1
JIGAR MAKHIJA
 
C++ Version 2
C++  Version 2C++  Version 2
C++ Version 2
JIGAR MAKHIJA
 
SAP Ui5 content
SAP Ui5 contentSAP Ui5 content
SAP Ui5 content
JIGAR MAKHIJA
 
Solution doc
Solution docSolution doc
Solution doc
JIGAR MAKHIJA
 
Overview on Application protocols in Internet of Things
Overview on Application protocols in Internet of ThingsOverview on Application protocols in Internet of Things
Overview on Application protocols in Internet of Things
JIGAR MAKHIJA
 
125 green iot
125 green iot125 green iot
125 green iot
JIGAR MAKHIJA
 
Msp430 g2 with ble(Bluetooth Low Energy)
Msp430 g2 with ble(Bluetooth Low Energy)Msp430 g2 with ble(Bluetooth Low Energy)
Msp430 g2 with ble(Bluetooth Low Energy)
JIGAR MAKHIJA
 
Embedded system lab work
Embedded system lab workEmbedded system lab work
Embedded system lab work
JIGAR MAKHIJA
 
Presentation on iot- Internet of Things
Presentation on iot- Internet of ThingsPresentation on iot- Internet of Things
Presentation on iot- Internet of Things
JIGAR MAKHIJA
 
Oracle
OracleOracle
Learn Japanese -Basic kanji 120
Learn Japanese -Basic kanji 120Learn Japanese -Basic kanji 120
Learn Japanese -Basic kanji 120
JIGAR MAKHIJA
 
View Alignment Techniques
View Alignment TechniquesView Alignment Techniques
View Alignment Techniques
JIGAR MAKHIJA
 
Letters (complaints & invitations)
Letters (complaints & invitations)Letters (complaints & invitations)
Letters (complaints & invitations)
JIGAR MAKHIJA
 

More from JIGAR MAKHIJA (20)

Php gd library
Php gd libraryPhp gd library
Php gd library
 
Php pattern matching
Php pattern matchingPhp pattern matching
Php pattern matching
 
Php cookies
Php cookiesPhp cookies
Php cookies
 
Php functions
Php functionsPhp functions
Php functions
 
Php sessions
Php sessionsPhp sessions
Php sessions
 
Php server variables
Php server variablesPhp server variables
Php server variables
 
Db function
Db functionDb function
Db function
 
C++ version 1
C++  version 1C++  version 1
C++ version 1
 
C++ Version 2
C++  Version 2C++  Version 2
C++ Version 2
 
SAP Ui5 content
SAP Ui5 contentSAP Ui5 content
SAP Ui5 content
 
Solution doc
Solution docSolution doc
Solution doc
 
Overview on Application protocols in Internet of Things
Overview on Application protocols in Internet of ThingsOverview on Application protocols in Internet of Things
Overview on Application protocols in Internet of Things
 
125 green iot
125 green iot125 green iot
125 green iot
 
Msp430 g2 with ble(Bluetooth Low Energy)
Msp430 g2 with ble(Bluetooth Low Energy)Msp430 g2 with ble(Bluetooth Low Energy)
Msp430 g2 with ble(Bluetooth Low Energy)
 
Embedded system lab work
Embedded system lab workEmbedded system lab work
Embedded system lab work
 
Presentation on iot- Internet of Things
Presentation on iot- Internet of ThingsPresentation on iot- Internet of Things
Presentation on iot- Internet of Things
 
Oracle
OracleOracle
Oracle
 
Learn Japanese -Basic kanji 120
Learn Japanese -Basic kanji 120Learn Japanese -Basic kanji 120
Learn Japanese -Basic kanji 120
 
View Alignment Techniques
View Alignment TechniquesView Alignment Techniques
View Alignment Techniques
 
Letters (complaints & invitations)
Letters (complaints & invitations)Letters (complaints & invitations)
Letters (complaints & invitations)
 

Recently uploaded

Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
EducationNC
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
BiplabHalder13
 
nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
chaudharyreet2244
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
shabeluno
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 
Creating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptxCreating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptx
Forum of Blended Learning
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
PJ Caposey
 
Decolonizing Universal Design for Learning
Decolonizing Universal Design for LearningDecolonizing Universal Design for Learning
Decolonizing Universal Design for Learning
Frederic Fovet
 
Interprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdfInterprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdf
Ben Aldrich
 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
biruktesfaye27
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
MJDuyan
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Celine George
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
Celine George
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
Infosec
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
Celine George
 

Recently uploaded (20)

Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
 
nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 
Creating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptxCreating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptx
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
 
Decolonizing Universal Design for Learning
Decolonizing Universal Design for LearningDecolonizing Universal Design for Learning
Decolonizing Universal Design for Learning
 
Interprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdfInterprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdf
 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
 

Structural modeling and analysis

  • 2. Structural modeling • It can be referred as “Thing”. • Structural modeling shows how this Things are related with each other. Thing Class Interface Object Package
  • 3. What is an Object? • A self contained entity with well defined characteristics Eg: Entity=Book; Characteristics=page no, author , publisher, price etc.
  • 4. Type of Objects Objects Physical & Conceptual Domain & Implementation Active & Passive
  • 5. 1. Physical & Conceptual : – Tangible & Intangible objects. – Physical objects are the things which are visible and that can be touched . E.g.: ATM. – Conceptual objects are the things which we can’t see normally. E.g.: Card Strip Reader.
  • 6. 2. Domain & Implementation : – The objects identified from the real world are domain objects. e.g. : Bank Accounts, ATM, Customers Etc. – The objects which are not related to the real world entities are implementation objects. e.g. : Error Logs, Transaction Records .
  • 7. 3. Active & Passive: – The objects which can change its state without any external command are Active objects . e.g. : Timers & Clocks. – The objects which can change its state unless any external command is received are known by Passive objects. e.g. : Properties of bank account.
  • 8. What is Class? • A set of similar objects. • It is combination of properties and methods that are necessary to the system. properties=attributes; methods=operations; Bank Account - Name - Balance + Debit(Amt) + Credit(Amt) UML NOTATION
  • 9. • Attributes: – Properties of a class. – Attributes consist of Name & its Value along with its Type. E.g. : Int sum=100; • Operations: – A set of functions to provide services in software system. – Operations are similar to functions that consist of parameters and return values. e.g. : withdraw(amt) , getBalance() .
  • 10. Encapsulation • Information Hiding. • Objects are like Black boxes. • The implementation of objects are hidden from those who use them (End Users). • But, creator or developer knows the details of internal construction of that object.
  • 11. Inheritance • Attributes and operations common to group of subclass are attached to superclass and inherited by its subclasses. • Each subclass may also include new feature of its own. • Properties: Generalization Specialization
  • 12. • The purpose of this property is to distribute the commonalities from the superclass among a group of similar subclasses. Generalization • It allows subclasses to extend the functionalities of their superclass. • A subclass can introduce new operations and attributes of its own. Specialization
  • 13. Abstract Classes • An abstract class consist of operations without their actual implementation . • An operations without the implementation (body) is called abstract operations. • A class can be specified as abstract by writing name in italics. E.g. Shape
  • 14. Polymorphism • Polymorphism is the ability for a variable to hold objects of its own class and subclasses at runtime.
  • 15. Role • Each end of association has a role. Multiplicity • Multiplicity refers to the number of objects associated with a given object. Association • It represents binary relationships among classes. • Represented by line. Person Company 1..n 1Works for Employee Employer Multiplicity Role
  • 16. Qualification • It serves as names or keys that are part of association and are used to select objects at the other end of association. Person Bank Person Bank 0..n 0..n Account No0..1 0..n
  • 17. Reflexive Association • A reflexive association is an association that relates one object of a class to another object of the same class. N-ary Association • A relationship involving three classes is referref to as an ternary relationship, and one involving many classes is referred to as an n-ary relationship.
  • 18. Association Classes • Associations that include additional attributes which do not naturally belong to the objects involved in the associations. Person Company Position -title -starting_Date -salary 0..n 0..nWorkFor
  • 19. Aggregation • Aggregation is a stronger form of association. • It represent the “has-a or part-of” relationship. Company Division 1..n Department 1..n
  • 20. Composition • Composition is a stronger form of aggregation. • It represent the “part-of” relationship. Company Division 1..n Department 1..n
  • 21. Constraints and Notes • Constraints are relation between signs & symbols of UML element that allow the inclusion of new rules or the modification of existing ones. • Constraints are represented by label in curly brackets {constraint name}. {Constraints}
  • 22. UML Notation for Structural Modeling Class : Interface: Component Component: Interface
  • 23. UML Notation for Structural Modeling Node: Constraint: Association: Aggregation: Generalization:
  • 24. Heuristics in using Structural Analysis • Do not attempt to develop a single giant class diagram. • Use model management constructs such as package, subsystems. • Consider both logical & physical aspects. • Use data or middleware for communication among major subsystems whenever possible.
  • 25. Heuristics in using Structural Analysis • Make Design Patterns flexible and adaptable. • Apply domain analysis such as textual analysis, documentation reviews to identify reusable components. • Inter-play top-down approach & bottom-up approach. • Use packages to organize the domain classes incrementally as development progresses.
  • 26. Heuristics in using Structural Analysis • Conduct use case analysis to yield missing pieces in structural model. • Review whether a particular class is becoming too large.
  • 27. Domain Modeling and Analysis Process • Before domain analysis is conducted we need to understand the problem of domain of the system. • The output of the domain analysis is domain class model which describes the classes and their relationships. • The domain class model consist of class diagrams, a data dictionary describing the classes and their associations (relationships ).
  • 28. Developing Domain Class Models 1. Preparing the problem statement. 2. Identifying the objects and classes using textual analysis. 3. Developing a data dictionary. 4. Identifying associations between classes. 5. Identifying attributes of classes and association classes. 6. Structuring classes using inheritance. 7. Verifying access path for likely queries. 8. Iterating and refining the model.
  翻译: