SlideShare uma empresa Scribd logo
1 de 29
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
1
Class 9
UML: Use Case Class Diagram Modelling
Relational Model
Ano 2013
Sistemas de Informação
para a Indústria
António Grilo, Izunildo Cabral
Prof. Auxiliar FCT-UNL,
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
2
Content
• What is UML?
• Types of UML diagrams
• Use case modelling
• Use case diagram
- Core elements
- Examples
• Class diagram (the Entity Relationships, E-R)
- Core elements
- Examples
• References
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
3
What is UML?
The UML is a language for the visual modelling of software systems. The reasons
for the wide appliance of the UML to modelling software systems (and non-
software too), stand in the fact that the UML is only a rich notation independent
from the modelling process, which gives possibilities for defining different
approaches with the use of the language in different manners and for different
purposes (Brdjanin, Maric, & Ieee, 2007).
In UML, five views of a system can be developed:
 Use case (external user perspective)
 Logical (internal system design)
 Component (architectural constituents)
 Concurrency (describing mechanisms of co-ordination between independently
processing system parts)
 Deployment (mapping system parts onto a physical architecture)
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
4
Types of UML diagrams
From UML views a series of diagrams are developed. They are:
 Use case
 Class
 Object
 State
 Sequence
 Collaboration
 Activity
 Component
 Deployment
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
5
Use case modelling
Use case modelling was first presented as part of the Object-Oriented
Software Engineering (OOSE) methodology for software development
(Jacobson et al., 1992, 1995).
Use case modelling is a requirement engineering technique that similarly
leads to the identification od system activities, but is driven more by the
needs of the system’s users than those of the system. In use case
modelling, a system is defined by a set of use cases, each describing a
system requirement (transaction or function) (Bustard, He, & Wilkie, 2000).
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
6
Use cases and use cases diagram
A use case is a description of system usage and represent a very suitable
tool for the identification and specification of system requirements. Use
case modelling is concerned with system description in a conceptual way.
Use case diagrams show the interaction of the system with external
entities, the so-called actors and describe the functionality of the system
as a black box, without revealing its internal structure (Back, Petre, & Paltor, 1999).
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
7
Use cases diagram – core elements
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
8
Use cases diagram – core elements
System - sets the boundary of the system in relation to the actors who use
it (outside the system) and the features it must provide (inside the system)
(T. A. Pender, 2002).
Actors - Roles adopted by external entities that interact with the system
directly (Arlow & Neustadt, 2005). Represent the agents who carry out, or cause
to be carried out, the main activities of the system (Bustard, He, & Wilkie, 2000).
Use case - identifies a key feature (requirements) of the system (T. A.
Pender, 2002).
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
9
Use cases diagram – core elements
Association - identifies an interaction between actors and Use Cases (T.A.
Pender, 2002).
Dependency - identifies a communication relationship between two use
cases (T. A. Pender, 2002).
Generalization - defines a relationship between two actors or two use
cases where one use case inherits and adds to or overrides the properties
of the other (T. A. Pender, 2002).
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
10
Use cases diagram – examples
Consider the example of a Car Driver visiting a Shopping Centre:
Actors: Car Driver and Shopping Centre Information System (IS).
Description of the use case diagram (enter the Car Park): the Car
Driver visit the Shopping Centre and attempt to enter in the Park. The
Shopping Centre IS will check if space is available, and if so increment the
number of Cars present, allow the Car Driver to enter, and record the date
and time of entry. If the park is full, the driver wait or drive on.
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
11
Use cases diagram – Car Driver example
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
12
Use cases diagram – login into a Supply Chain IS
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
13
Use cases diagram – search and insert a conference
Source: António, 2008
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
14
Use cases diagram – check suppliers’ inventory level
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
15
Use cases diagram – calculate the SC LARG performance
Super Entity
Insert Entity ID
Introduce LARG
indicators
Edit system content
Search for LARG
indicators
Extract LARG
indicators
Data analysis
Define formula
Extract LARG
performance
System
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
16
Class diagram – the Entity Relationship, E - R
Class diagram (overview)
Classes represent things; relationships represent the connections
between things (Vidgen, 2003).
The class diagram illustrates the structural component of the system and
clearly identifies the classes, interfaces and their relationships within the
system (António, 2008).
Besides representing the concepts, the class diagram allows us to
establish the relationships between classes (António, 2008).
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
17
Class diagram – core elements and types of relationships
Source: Haug et al., 2010
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
18
Class diagram – class notation
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
19
Class diagram – relationships description
Assotiation - An association is a structural relationship between things
showing that one can navigate from the instances of one class to the
instances of another (and possibly vice versa) (Vidgen, 2003).
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
20
Class diagram – relationships description
Aggregation – is a special type of association used to indicate that the
participating objects are not just independent objects that know about
each other (T. A. Pender, 2002). Represents the association that exists when an
object contains other (António, 2008).
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
21
Class diagram – relationships description
Composition – is a special way of aggregation, with the restriction that
the objects components belong, in fact, the object compound (António, 2008).
Is used for aggregations where the life span of the part depends on the life
span of the aggregate (T. A. Pender, 2002).
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
22
Class diagram – aggregation vs composition
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
23
Class diagram – relationships description
Generalization – is the process of organizing the properties of a set of
objects that share the same purpose. Generalization relates classes
together where each class contains a subset of the elements needed to
define a type of object (T. A. Pender, 2002).
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
24
Class diagram – relationships description
Dependence – the dependence relationships is used to describe
situations in which a class depends on the other (António. 2008).
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
25
Class diagram – examples
Source: T. A. Pender, 2002
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
26
Class diagram – examples
Source: Alsaadi, 2006
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
27
References
- Cabral, I. F. (2011). An Information Model for Lean, Agile, Resilient and Green
Supply Chain Management. Master thesis, FCT/UNL.
- Jacobson, I., Christerson, Jonsson, P., & Overgaard, G. (1992). Object Oriented
Software Engineering: A Use Case Driven Approach.
- Jacobson, I., Ericcson, M., & Jacobson, A. (1995). The Object Advantage:
Business Process Re-Engineering With Object Technology.
- Bustard, D. W., He, Z., & Wilkie, F. G. (2000). Linking soft systems and use-
case modelling through scenarios. Interacting with Computers, 13(1), 97-110.
- Brdjanin, D., Maric, S., & Ieee. (2007). An example of use-case-driven
conceptual design of relational database.
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
28
References
- António, N. R. (2008). Um Processo de Modelação de Sistemas Software com
Integração de Especificações Rigorosas. (PhD), Universidade do Minho.
- Pender, T. A. (2002). UML Weekend Crash Course
- Arlow, J., & Neustadt, I. (2005). UML 2 and the Unified Process.
- Back, R. J., Petre, L., & Paltor, I. R. (1999). Analysing UML use cases as
contracts. In R. France & B. Rumpe (Eds.), Uml'99 - the Unified Modeling
Language - Beyond the Standard (Vol. 1723, pp. 518-533). Berlin: Springer-
Verlag Berlin.
Sistemas de Informação para Indústria
© António Grilo 2013Departamento de Engenharia Mecânica e Industrial
29
References
- Vidgen, R. (2003). Requirements analysis and UML - Use cases and class
diagrams. [Article]. Computing & Control Engineering Journal, 14(1), 12-17.
- Haug, A., Hvam, L., & Mortensen, N. H. (2010). A layout technique for class
diagrams to be used in product configuration projects. Computers in
Industry, 61(5), 409-418. doi: 10.1016/j.compind.2009.10.002.
- Alsaadi, A. (2006). Applying the UML class diagram in the performance
analysis. In A. Horvath & M. Telek (Eds.), Formal Methods and Stochastic
Models for Performance Evaluation (Vol. 4054, pp. 148-165). Berlin: Springer-
Verlag Berlin.

Mais conteúdo relacionado

Semelhante a Aula 9 21032013 sii-v0

Software engineering in industrial automation state of-the-art review
Software engineering in industrial automation state of-the-art reviewSoftware engineering in industrial automation state of-the-art review
Software engineering in industrial automation state of-the-art reviewTiago Oliveira
 
Efficiency of bond graph and external model integration for alarm processing ...
Efficiency of bond graph and external model integration for alarm processing ...Efficiency of bond graph and external model integration for alarm processing ...
Efficiency of bond graph and external model integration for alarm processing ...IJAAS Team
 
FROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATION
FROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATIONFROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATION
FROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATIONijseajournal
 
Formalization of a Hospital Management System
Formalization of a Hospital Management SystemFormalization of a Hospital Management System
Formalization of a Hospital Management Systemijcseit
 
Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...
Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...
Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...IOSR Journals
 
Data Exchange Standards & STEP, EXPRESS & EXPRESS-G
Data Exchange Standards & STEP, EXPRESS & EXPRESS-GData Exchange Standards & STEP, EXPRESS & EXPRESS-G
Data Exchange Standards & STEP, EXPRESS & EXPRESS-Gmetalalp
 
System Modelling.ppt
System Modelling.pptSystem Modelling.ppt
System Modelling.pptAnishNarayan4
 
IRJET- Next Generation System Assistant
IRJET- Next Generation System AssistantIRJET- Next Generation System Assistant
IRJET- Next Generation System AssistantIRJET Journal
 
IRJET- Use of Simulation in Different Phases of Manufacturing System Life Cycle
IRJET- Use of Simulation in Different Phases of Manufacturing System Life CycleIRJET- Use of Simulation in Different Phases of Manufacturing System Life Cycle
IRJET- Use of Simulation in Different Phases of Manufacturing System Life CycleIRJET Journal
 
FORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEM
FORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEMFORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEM
FORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEMijcseit
 
YSU Industrial Engineering Overview
YSU Industrial Engineering OverviewYSU Industrial Engineering Overview
YSU Industrial Engineering Overviewdrwallace
 
Application Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded SystemsApplication Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded Systemsijseajournal
 
HRM with optimized functional implementation of National Data Center reducing...
HRM with optimized functional implementation of National Data Center reducing...HRM with optimized functional implementation of National Data Center reducing...
HRM with optimized functional implementation of National Data Center reducing...Ashfaque Ahmed
 
Aula 8 21032013 sii-vfinal
Aula 8   21032013 sii-vfinalAula 8   21032013 sii-vfinal
Aula 8 21032013 sii-vfinalAneesh Zutshi
 
IRJET - Virtual Mechanisms
IRJET - Virtual MechanismsIRJET - Virtual Mechanisms
IRJET - Virtual MechanismsIRJET Journal
 
RELIABILITY OF MECHANICAL SYSTEM OF SYSTEMS
RELIABILITY OF MECHANICAL SYSTEM OF SYSTEMSRELIABILITY OF MECHANICAL SYSTEM OF SYSTEMS
RELIABILITY OF MECHANICAL SYSTEM OF SYSTEMScscpconf
 

Semelhante a Aula 9 21032013 sii-v0 (20)

ch2lect.ppt
ch2lect.pptch2lect.ppt
ch2lect.ppt
 
Software engineering in industrial automation state of-the-art review
Software engineering in industrial automation state of-the-art reviewSoftware engineering in industrial automation state of-the-art review
Software engineering in industrial automation state of-the-art review
 
Efficiency of bond graph and external model integration for alarm processing ...
Efficiency of bond graph and external model integration for alarm processing ...Efficiency of bond graph and external model integration for alarm processing ...
Efficiency of bond graph and external model integration for alarm processing ...
 
Hh3512801283
Hh3512801283Hh3512801283
Hh3512801283
 
FROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATION
FROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATIONFROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATION
FROM PLM TO ERP : A SOFTWARE SYSTEMS ENGINEERING INTEGRATION
 
Formalization of a Hospital Management System
Formalization of a Hospital Management SystemFormalization of a Hospital Management System
Formalization of a Hospital Management System
 
Notacion uml
Notacion umlNotacion uml
Notacion uml
 
Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...
Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...
Interpretive Structural Modeling of the Prospects of Ict Enabled Process Cont...
 
Data Exchange Standards & STEP, EXPRESS & EXPRESS-G
Data Exchange Standards & STEP, EXPRESS & EXPRESS-GData Exchange Standards & STEP, EXPRESS & EXPRESS-G
Data Exchange Standards & STEP, EXPRESS & EXPRESS-G
 
System Modelling.ppt
System Modelling.pptSystem Modelling.ppt
System Modelling.ppt
 
IRJET- Next Generation System Assistant
IRJET- Next Generation System AssistantIRJET- Next Generation System Assistant
IRJET- Next Generation System Assistant
 
IRJET- Use of Simulation in Different Phases of Manufacturing System Life Cycle
IRJET- Use of Simulation in Different Phases of Manufacturing System Life CycleIRJET- Use of Simulation in Different Phases of Manufacturing System Life Cycle
IRJET- Use of Simulation in Different Phases of Manufacturing System Life Cycle
 
FORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEM
FORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEMFORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEM
FORMALIZATION OF A HOSPITAL MANAGEMENT SYSTEM
 
YSU Industrial Engineering Overview
YSU Industrial Engineering OverviewYSU Industrial Engineering Overview
YSU Industrial Engineering Overview
 
Application Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded SystemsApplication Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded Systems
 
HRM with optimized functional implementation of National Data Center reducing...
HRM with optimized functional implementation of National Data Center reducing...HRM with optimized functional implementation of National Data Center reducing...
HRM with optimized functional implementation of National Data Center reducing...
 
Aula 8 21032013 sii-vfinal
Aula 8   21032013 sii-vfinalAula 8   21032013 sii-vfinal
Aula 8 21032013 sii-vfinal
 
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMSDEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
 
IRJET - Virtual Mechanisms
IRJET - Virtual MechanismsIRJET - Virtual Mechanisms
IRJET - Virtual Mechanisms
 
RELIABILITY OF MECHANICAL SYSTEM OF SYSTEMS
RELIABILITY OF MECHANICAL SYSTEM OF SYSTEMSRELIABILITY OF MECHANICAL SYSTEM OF SYSTEMS
RELIABILITY OF MECHANICAL SYSTEM OF SYSTEMS
 

Mais de Aneesh Zutshi

Aula 1 03032016 sii-v1
Aula 1   03032016 sii-v1Aula 1   03032016 sii-v1
Aula 1 03032016 sii-v1Aneesh Zutshi
 
Class 2 digital ecosystems and ecosystem actors
Class 2   digital ecosystems and ecosystem actorsClass 2   digital ecosystems and ecosystem actors
Class 2 digital ecosystems and ecosystem actorsAneesh Zutshi
 
Class 1 digital business - unique features and future evolution
Class 1   digital business - unique features and future evolutionClass 1   digital business - unique features and future evolution
Class 1 digital business - unique features and future evolutionAneesh Zutshi
 
Class 5 Digital Business Models
Class 5 Digital Business ModelsClass 5 Digital Business Models
Class 5 Digital Business ModelsAneesh Zutshi
 
Aula 4 27032015 sii-v1
Aula 4   27032015 sii-v1Aula 4   27032015 sii-v1
Aula 4 27032015 sii-v1Aneesh Zutshi
 
Class 3 Architectures of IS
Class 3 Architectures of ISClass 3 Architectures of IS
Class 3 Architectures of ISAneesh Zutshi
 
Class 2 Typologies of IS
Class 2 Typologies of ISClass 2 Typologies of IS
Class 2 Typologies of ISAneesh Zutshi
 
Aula 1 06032015 sii-v1
Aula 1   06032015 sii-v1Aula 1   06032015 sii-v1
Aula 1 06032015 sii-v1Aneesh Zutshi
 
Aula 11 23052013 sii-v1
Aula 11   23052013 sii-v1Aula 11   23052013 sii-v1
Aula 11 23052013 sii-v1Aneesh Zutshi
 
Aula 10 16052013 sii-v1
Aula 10   16052013 sii-v1Aula 10   16052013 sii-v1
Aula 10 16052013 sii-v1Aneesh Zutshi
 
Mobile computing fct
Mobile computing fctMobile computing fct
Mobile computing fctAneesh Zutshi
 
Aula 4 21032013 sii-v1
Aula 4   21032013 sii-v1Aula 4   21032013 sii-v1
Aula 4 21032013 sii-v1Aneesh Zutshi
 
Aula 3 14032013 sii-v1
Aula 3   14032013 sii-v1Aula 3   14032013 sii-v1
Aula 3 14032013 sii-v1Aneesh Zutshi
 

Mais de Aneesh Zutshi (16)

Aula 1 03032016 sii-v1
Aula 1   03032016 sii-v1Aula 1   03032016 sii-v1
Aula 1 03032016 sii-v1
 
Class 2 digital ecosystems and ecosystem actors
Class 2   digital ecosystems and ecosystem actorsClass 2   digital ecosystems and ecosystem actors
Class 2 digital ecosystems and ecosystem actors
 
Class 1 digital business - unique features and future evolution
Class 1   digital business - unique features and future evolutionClass 1   digital business - unique features and future evolution
Class 1 digital business - unique features and future evolution
 
Class 5 Digital Business Models
Class 5 Digital Business ModelsClass 5 Digital Business Models
Class 5 Digital Business Models
 
Aula 4 27032015 sii-v1
Aula 4   27032015 sii-v1Aula 4   27032015 sii-v1
Aula 4 27032015 sii-v1
 
Class 3 Architectures of IS
Class 3 Architectures of ISClass 3 Architectures of IS
Class 3 Architectures of IS
 
Class 2 Typologies of IS
Class 2 Typologies of ISClass 2 Typologies of IS
Class 2 Typologies of IS
 
Aula 1 06032015 sii-v1
Aula 1   06032015 sii-v1Aula 1   06032015 sii-v1
Aula 1 06032015 sii-v1
 
Aula 11 23052013 sii-v1
Aula 11   23052013 sii-v1Aula 11   23052013 sii-v1
Aula 11 23052013 sii-v1
 
Aula 10 16052013 sii-v1
Aula 10   16052013 sii-v1Aula 10   16052013 sii-v1
Aula 10 16052013 sii-v1
 
Aula 7 18042013
Aula 7   18042013Aula 7   18042013
Aula 7 18042013
 
Mobile computing fct
Mobile computing fctMobile computing fct
Mobile computing fct
 
Business model fct
Business model fctBusiness model fct
Business model fct
 
Aula 4 21032013 sii-v1
Aula 4   21032013 sii-v1Aula 4   21032013 sii-v1
Aula 4 21032013 sii-v1
 
Aula 3 14032013 sii-v1
Aula 3   14032013 sii-v1Aula 3   14032013 sii-v1
Aula 3 14032013 sii-v1
 
Aula 6 14042011 sii
Aula 6   14042011 siiAula 6   14042011 sii
Aula 6 14042011 sii
 

Último

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 

Último (20)

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 

Aula 9 21032013 sii-v0

  • 1. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 1 Class 9 UML: Use Case Class Diagram Modelling Relational Model Ano 2013 Sistemas de Informação para a Indústria António Grilo, Izunildo Cabral Prof. Auxiliar FCT-UNL,
  • 2. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 2 Content • What is UML? • Types of UML diagrams • Use case modelling • Use case diagram - Core elements - Examples • Class diagram (the Entity Relationships, E-R) - Core elements - Examples • References
  • 3. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 3 What is UML? The UML is a language for the visual modelling of software systems. The reasons for the wide appliance of the UML to modelling software systems (and non- software too), stand in the fact that the UML is only a rich notation independent from the modelling process, which gives possibilities for defining different approaches with the use of the language in different manners and for different purposes (Brdjanin, Maric, & Ieee, 2007). In UML, five views of a system can be developed:  Use case (external user perspective)  Logical (internal system design)  Component (architectural constituents)  Concurrency (describing mechanisms of co-ordination between independently processing system parts)  Deployment (mapping system parts onto a physical architecture)
  • 4. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 4 Types of UML diagrams From UML views a series of diagrams are developed. They are:  Use case  Class  Object  State  Sequence  Collaboration  Activity  Component  Deployment
  • 5. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 5 Use case modelling Use case modelling was first presented as part of the Object-Oriented Software Engineering (OOSE) methodology for software development (Jacobson et al., 1992, 1995). Use case modelling is a requirement engineering technique that similarly leads to the identification od system activities, but is driven more by the needs of the system’s users than those of the system. In use case modelling, a system is defined by a set of use cases, each describing a system requirement (transaction or function) (Bustard, He, & Wilkie, 2000).
  • 6. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 6 Use cases and use cases diagram A use case is a description of system usage and represent a very suitable tool for the identification and specification of system requirements. Use case modelling is concerned with system description in a conceptual way. Use case diagrams show the interaction of the system with external entities, the so-called actors and describe the functionality of the system as a black box, without revealing its internal structure (Back, Petre, & Paltor, 1999).
  • 7. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 7 Use cases diagram – core elements Source: T. A. Pender, 2002
  • 8. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 8 Use cases diagram – core elements System - sets the boundary of the system in relation to the actors who use it (outside the system) and the features it must provide (inside the system) (T. A. Pender, 2002). Actors - Roles adopted by external entities that interact with the system directly (Arlow & Neustadt, 2005). Represent the agents who carry out, or cause to be carried out, the main activities of the system (Bustard, He, & Wilkie, 2000). Use case - identifies a key feature (requirements) of the system (T. A. Pender, 2002).
  • 9. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 9 Use cases diagram – core elements Association - identifies an interaction between actors and Use Cases (T.A. Pender, 2002). Dependency - identifies a communication relationship between two use cases (T. A. Pender, 2002). Generalization - defines a relationship between two actors or two use cases where one use case inherits and adds to or overrides the properties of the other (T. A. Pender, 2002).
  • 10. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 10 Use cases diagram – examples Consider the example of a Car Driver visiting a Shopping Centre: Actors: Car Driver and Shopping Centre Information System (IS). Description of the use case diagram (enter the Car Park): the Car Driver visit the Shopping Centre and attempt to enter in the Park. The Shopping Centre IS will check if space is available, and if so increment the number of Cars present, allow the Car Driver to enter, and record the date and time of entry. If the park is full, the driver wait or drive on.
  • 11. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 11 Use cases diagram – Car Driver example
  • 12. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 12 Use cases diagram – login into a Supply Chain IS
  • 13. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 13 Use cases diagram – search and insert a conference Source: António, 2008
  • 14. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 14 Use cases diagram – check suppliers’ inventory level
  • 15. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 15 Use cases diagram – calculate the SC LARG performance Super Entity Insert Entity ID Introduce LARG indicators Edit system content Search for LARG indicators Extract LARG indicators Data analysis Define formula Extract LARG performance System
  • 16. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 16 Class diagram – the Entity Relationship, E - R Class diagram (overview) Classes represent things; relationships represent the connections between things (Vidgen, 2003). The class diagram illustrates the structural component of the system and clearly identifies the classes, interfaces and their relationships within the system (António, 2008). Besides representing the concepts, the class diagram allows us to establish the relationships between classes (António, 2008).
  • 17. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 17 Class diagram – core elements and types of relationships Source: Haug et al., 2010
  • 18. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 18 Class diagram – class notation Source: T. A. Pender, 2002
  • 19. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 19 Class diagram – relationships description Assotiation - An association is a structural relationship between things showing that one can navigate from the instances of one class to the instances of another (and possibly vice versa) (Vidgen, 2003). Source: T. A. Pender, 2002
  • 20. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 20 Class diagram – relationships description Aggregation – is a special type of association used to indicate that the participating objects are not just independent objects that know about each other (T. A. Pender, 2002). Represents the association that exists when an object contains other (António, 2008). Source: T. A. Pender, 2002
  • 21. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 21 Class diagram – relationships description Composition – is a special way of aggregation, with the restriction that the objects components belong, in fact, the object compound (António, 2008). Is used for aggregations where the life span of the part depends on the life span of the aggregate (T. A. Pender, 2002). Source: T. A. Pender, 2002
  • 22. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 22 Class diagram – aggregation vs composition Source: T. A. Pender, 2002
  • 23. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 23 Class diagram – relationships description Generalization – is the process of organizing the properties of a set of objects that share the same purpose. Generalization relates classes together where each class contains a subset of the elements needed to define a type of object (T. A. Pender, 2002). Source: T. A. Pender, 2002
  • 24. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 24 Class diagram – relationships description Dependence – the dependence relationships is used to describe situations in which a class depends on the other (António. 2008). Source: T. A. Pender, 2002
  • 25. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 25 Class diagram – examples Source: T. A. Pender, 2002
  • 26. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 26 Class diagram – examples Source: Alsaadi, 2006
  • 27. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 27 References - Cabral, I. F. (2011). An Information Model for Lean, Agile, Resilient and Green Supply Chain Management. Master thesis, FCT/UNL. - Jacobson, I., Christerson, Jonsson, P., & Overgaard, G. (1992). Object Oriented Software Engineering: A Use Case Driven Approach. - Jacobson, I., Ericcson, M., & Jacobson, A. (1995). The Object Advantage: Business Process Re-Engineering With Object Technology. - Bustard, D. W., He, Z., & Wilkie, F. G. (2000). Linking soft systems and use- case modelling through scenarios. Interacting with Computers, 13(1), 97-110. - Brdjanin, D., Maric, S., & Ieee. (2007). An example of use-case-driven conceptual design of relational database.
  • 28. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 28 References - António, N. R. (2008). Um Processo de Modelação de Sistemas Software com Integração de Especificações Rigorosas. (PhD), Universidade do Minho. - Pender, T. A. (2002). UML Weekend Crash Course - Arlow, J., & Neustadt, I. (2005). UML 2 and the Unified Process. - Back, R. J., Petre, L., & Paltor, I. R. (1999). Analysing UML use cases as contracts. In R. France & B. Rumpe (Eds.), Uml'99 - the Unified Modeling Language - Beyond the Standard (Vol. 1723, pp. 518-533). Berlin: Springer- Verlag Berlin.
  • 29. Sistemas de Informação para Indústria © António Grilo 2013Departamento de Engenharia Mecânica e Industrial 29 References - Vidgen, R. (2003). Requirements analysis and UML - Use cases and class diagrams. [Article]. Computing & Control Engineering Journal, 14(1), 12-17. - Haug, A., Hvam, L., & Mortensen, N. H. (2010). A layout technique for class diagrams to be used in product configuration projects. Computers in Industry, 61(5), 409-418. doi: 10.1016/j.compind.2009.10.002. - Alsaadi, A. (2006). Applying the UML class diagram in the performance analysis. In A. Horvath & M. Telek (Eds.), Formal Methods and Stochastic Models for Performance Evaluation (Vol. 4054, pp. 148-165). Berlin: Springer- Verlag Berlin.