160 likes | 182 Vues
Explore the Unified Modeling Language (UML) semantics and system components, diving into complex data, algorithms, processes, and the principles of object-oriented design. Learn about system perspectives, open systems, and UML modeling roles and deployments.
E N D
Perspectives on theUnified Modeling Language semantics 10th SDL Forum Copenhagen, June 2001 Trygve Reenskaug, Mogul Norway, Oslo http://www.ifi.uio.no/~trygver Perspectives on UML semantics
ComplexData ComplexAlgorithms ComplesProcesses Three Disciplinesof Computing Perspectives on UML semantics
ComplexData ComplexAlgorithms ComplesProcesses Object Management GroupA World of Interacting Objects "…drive the industry towards interoperable, portable software components based on standard object-oriented interfaces." Perspectives on UML semantics
ComplexData ComplexAlgorithms ComplesProcesses First OMG AchievementCORBA Common Object Request Broker Architecture IDL : interfaces & operations XML : encoding information Perspectives on UML semantics
ComplexData ComplexAlgorithms ComplesProcesses Second OMG AchievementUnified Modeling Language The UML Specification defines a graphical language for visualizing, specifying, constructing, and documenting the artifacts of distributed object systems. Perspectives on UML semantics
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
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
An Open system Perspectives on UML semantics
Another Open system Perspectives on UML semantics
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
Use Case Modelof Open System ActivityNetworkDemo UseCase 1: Generate test networks Actor UseCase 2: Frontload UseCase 3: Allocate resource Perspectives on UML semantics
UML ClassifierRole Model Systems & Components withCollaborations & Roles System: collection of ComponentsCollaboration: collection of Roles ActivityNetworkDemo / Tool Actor • Model Behavior: • Use Cases • Interactions • Sequence Diagrams • State Machines • Activity Graphs / Planning Service Perspectives on UML semantics
Composition / DecompositionUML Subsystem: Behavioural grouping Component = Sub-SystemRole = Sub-Collaboration UML Subsystem ActivityNetworkDemo / Tool Actor • Model Behavior: • Use Cases • Interactions • Sequence Diagrams • State Machines • Activity Graphs / Planning Service Perspectives on UML semantics
DeploymentUML Component: Deployable Subsystem Component = Sub-SystemRole = Sub-Collaboration UML Component ActivityNetworkDemo / Tool Actor • Model Behavior: • Use Cases • Interactions • Sequence Diagrams • State Machines • Activity Graphs / Planning Service Perspectives on UML semantics
Finally:Two Perspectives on UML Models • Class Perspective:Classes, Inheritance, Packages, Deployment • Role PerspectiveCollaborations, Roles, Containment, Behavior Perspectives on UML semantics
Thank You More info at http://ifi.uio.no/~trygver Perspectives on UML semantics