Component Model Diagram

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Use Case Summary 13 January, 2022

Component Model
Package in package 'Model'

Component Model
Version Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Component Model diagram


Component diagram in package 'Component Model'

Component Model
Version 1.0
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Components
The Component Model defines how classes, The Components package contains modeled
artifacts and other low level elements are + Component1 components and their structural constituents.
collected into high level components and the + Component2 These include additional exposed interfaces,
interfaces and connections between them. ports and other gateways or internal structural
components.
Components are compiled software artifacts
that work together to provide the required The connectivity and internal structure of these
behavior within the operating constraints are further modeled in the Internal Structures
defined in the requirements model. and Connections packages
Components will generally be deployed to
varying hardware platforms described in the
Deployment Model.

Internal Structures
Internal Structures provide a detailed view of the
internal workings and dependencies of a
component. Using a Composite Structure
Read about Component Modeling diagram, they illustrate how the component
fulfills its behavioral contracts and provides
interface behavior to other components within
View Further Example the system.

Connections

The Connections package models the


dependencies and connectivity between the
various components, and how each is used as
part of a co-operative system to accomplish
required tasks. Typically, Components expose
interfaces and API's which are used by other
Components.

Figure 1: Component Model

Component Model diagram


Interaction diagram in package 'Component Model'

Component Model
Version 1.0
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Page 1 of 10
Use Case Summary 13 January, 2022

System Database

responsable

enregisterClient()

alt

[quantityavailable > 0] insertClient()

updateClient()

[quantityavailable < 0]

Figure 2: Component Model

Components
Package in package 'Component Model'

Components
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Components diagram
Component diagram in package 'Components'

Components
Version 1.0
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Page 2 of 10
Use Case Summary 13 January, 2022

Component1

ProvidedInterface1

Component2

RequiredInterface

Figure 3: Components

Component1
Component in package 'Components'

Component1
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Part1
Property owned by 'Component1', in package 'Components'

Part1
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

ProvidedInterface1
ProvidedInterface owned by 'Component1', in package 'Components'

ProvidedInterface1
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Component2
Component in package 'Components'

Component2
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Page 3 of 10
Use Case Summary 13 January, 2022

RequiredInterface
RequiredInterface owned by 'Component2', in package 'Components'

RequiredInterface
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Page 4 of 10
Use Case Summary 13 January, 2022

Connections
Package in package 'Component Model'

Connections
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Connections diagram
Component diagram in package 'Connections'

Connections
Version 1.0
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

The Connections package contains detailed wiring


diagrams of the explicit connections established between This component exposes an
components at run-time. interface for other components
to use. The interface is a
Typically this is shown as a dependency relationship Component1
contract to provide specific
between a required interface on one component being behavior to other components
connected to a provided interface on a second that require that service.
component. These dependency relationships show how
each components requirements for functionality are met
by other components, and how the system as a whole is
capable of performing the required work. ProvidedInterface1

This component needs the


Component2
services of another
component to perform its
RequiredInterface required work.

Figure 4: Connections

Page 5 of 10
Use Case Summary 13 January, 2022

Internal Structures
Package in package 'Component Model'

Internal Structures
Version 1.0 Phase 1.0 Proposed
created on 11/01/2022. Last modified 11/01/2022

Internal Structures diagram


CompositeStructure diagram in package 'Internal Structures'

Internal Structures
Version 1.0
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

The Internal Structures package contains models of how


components are internally wired to provide both internal
and external services. These composite structure diagrams
detail the connections and dependencies within
components, usually between classes (objects or parts) and
supported interfaces (services).

Component1

This illustrates how the


ProvidedInterface1 services offered by this
«delegate» component are internally
delegated to a specific
object.

Part1

Figure 5: Internal Structures

responsable
Actor in package 'Component Model'

responsable
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Page 6 of 10
Use Case Summary 13 January, 2022

Component Model diagram


Interaction diagram in package 'Component Model'

Component Model
Version 1.0
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

System Database

responsable

enregistrer un emprunt()

book is
available()

alt
[quantityavailable > 0]
check id is null()

alt
updateEmprunt()
[id != null]

[id == null] insertEmprunt()

livre n'est pas disponible()


[quantityavailable < 0]

Figure 6: Component Model

<anonymous>
InteractionFragment owned by 'responsable', in package 'Component Model'

<anonymous>
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

responsable
Actor in package 'Component Model'

responsable
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Page 7 of 10
Use Case Summary 13 January, 2022

responsable
Actor in package 'Component Model'

responsable
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

responsable
Actor in package 'Component Model'

responsable
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

<anonymous>
InteractionFragment in package 'Component Model'

<anonymous>
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

<anonymous>
InteractionFragment in package 'Component Model'

<anonymous>
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

<anonymous>
InteractionFragment in package 'Component Model'

<anonymous>
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

<anonymous>
InteractionFragment in package 'Component Model'

<anonymous>
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Page 8 of 10
Use Case Summary 13 January, 2022

Database
Sequence in package 'Component Model'

Database
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Database
Sequence in package 'Component Model'

Database
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Database
Sequence in package 'Component Model'

Database
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Database
Sequence in package 'Component Model'

Database
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

System
Sequence in package 'Component Model'

System
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

System
Sequence in package 'Component Model'

System
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Page 9 of 10
Use Case Summary 13 January, 2022

System
Sequence in package 'Component Model'

System
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

System
Sequence in package 'Component Model'

System
Version 1.0 Phase 1.0 Proposed
Abdo-mokh created on 11/01/2022. Last modified 11/01/2022

Page 10 of 10

You might also like