Perspectives on the Unified Modeling Language semantics 10

  • Slides: 16
Download presentation
Perspectives on the Unified Modeling Language semantics 10 th SDL Forum Copenhagen, June 2001

Perspectives on the Unified Modeling Language semantics 10 th SDL Forum Copenhagen, June 2001 Trygve Reenskaug, Mogul Norway, Oslo http: //www. ifi. uio. no/~trygver Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 50 PM. 1

Three Disciplines lex mp a Co Dat Co Alg m ori plex thm s

Three Disciplines lex mp a Co Dat Co Alg m ori plex thm s of Computing Comples Processes Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 50 PM. 2

Object Management Group A World of Interacting Objects lex mp a Co Dat Co

Object Management Group A World of Interacting Objects lex mp a Co Dat Co Alg m ori plex thm s "…drive the industry towards interoperable, portable software components based on standard object-oriented interfaces. " Comples Processes Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 50 PM. 3

First OMG Achievement lex mp a Co Dat Co Alg m ori plex thm

First OMG Achievement lex mp a Co Dat Co Alg m ori plex thm s CORBA Common Object Request Broker Architecture IDL : interfaces & operations Comples Processes XML : encoding information Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 50 PM. 4

Second OMG Achievement Unified Modeling Language Co Alg m ori plex thm s lex

Second OMG Achievement Unified Modeling Language Co Alg m ori plex thm s lex mp a Co Dat The UML Specification defines a graphical language for visualizing, specifying, constructing, and documenting the artifacts of distributed object systems. Comples Processes Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 51 PM. 5

A system is a chosen view on reality A system is a part of

A system is a chosen view on reality A system is a part of the real world which we choose to regard as a whole, separated from the rest of the world during some period of consideration. A whole that we choose to consider as a collection of components, each component being characterized by attributes and by actions which may involve itself and other components. Holbæk_Hanssen et. al. : System Description and the Delta Language Oslo, 1977 Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 51 PM. 6

Open Systems For a given system, the environment is the set of all components

Open Systems For a given system, the environment is the set of all components outside the system that affect the system or that are affected by the system. Etzioni: Modern Organizations Prentice-Hall, 1964 Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 51 PM. 7

An Open system Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18:

An Open system Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 51 PM. 8

Another Open system Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18:

Another Open system Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 51 PM. 9

Perspectives on System Components Classification: Group on common characteristics Artifact: Group on common purpose.

Perspectives on System Components Classification: Group on common characteristics Artifact: Group on common purpose. • People categorize objects in terms of they roles the play within intuitive theories about how the world operates. • Artifacts can't be defined by their shape or their constitution, only by what they can do and by what someone, somewhere, wants them to do. Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 51 PM. 10

Use Case Model of Open System Activity. Network. Demo Use. Case 1: Generate test

Use Case Model of Open System Activity. Network. Demo Use. Case 1: Generate test networks Actor Use. Case 2: Frontload Use. Case 3: Allocate resource Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 52 PM. 11

Model Systems & Components with Collaborations & Roles UML Classifier. Role System: collection of

Model Systems & Components with Collaborations & Roles UML Classifier. Role System: collection of Components Collaboration: collection of Roles Activity. Network. Demo / Tool Actor Model Behavior: • Use Cases • Interactions • Sequence Diagrams • State Machines • Activity Graphs Perspectives on UML semantics / Planning Service © Trygve Reenskaug 2001 12/12/2021 9: 18: 52 PM. 12

Composition / Decomposition UML Subsystem: Behavioural grouping UML Subsystem Component = Sub-System Role =

Composition / Decomposition UML Subsystem: Behavioural grouping UML Subsystem Component = Sub-System Role = Sub-Collaboration Activity. Network. Demo / Tool Actor Model Behavior: • Use Cases • Interactions • Sequence Diagrams • State Machines • Activity Graphs Perspectives on UML semantics / Planning Service © Trygve Reenskaug 2001 12/12/2021 9: 18: 52 PM. 13

Deployment UML Component: Deployable Subsystem UML Component = Sub-System Role = Sub-Collaboration Activity. Network.

Deployment UML Component: Deployable Subsystem UML Component = Sub-System Role = Sub-Collaboration Activity. Network. Demo / Tool Actor Model Behavior: • Use Cases • Interactions • Sequence Diagrams • State Machines • Activity Graphs Perspectives on UML semantics / Planning Service © Trygve Reenskaug 2001 12/12/2021 9: 18: 52 PM. 14

Finally: Two Perspectives on UML Models • Class Perspective: Classes, Inheritance, Packages, Deployment •

Finally: Two Perspectives on UML Models • Class Perspective: Classes, Inheritance, Packages, Deployment • Role Perspective Collaborations, Roles, Containment, Behavior Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 52 PM. 15

Thank You More info at http: //ifi. uio. no/~trygver Perspectives on UML semantics ©

Thank You More info at http: //ifi. uio. no/~trygver Perspectives on UML semantics © Trygve Reenskaug 2001 12/12/2021 9: 18: 52 PM. 16