uml visual paradigm and code genration-up.pptx

27
UML Visual Paradigm and Code Generation Presenter : Syed Salman Mehdi 12 MS (Software Technology) 06

Upload: salman-mehdi

Post on 04-Aug-2015

56 views

Category:

Documents


0 download

DESCRIPTION

Uploaded from Google Docs

TRANSCRIPT

Page 1: UML Visual Paradigm and Code Genration-up.pptx

UML Visual Paradigm and Code Generation

Presenter : Syed Salman Mehdi

12 MS (Software Technology) 06

Page 2: UML Visual Paradigm and Code Genration-up.pptx

Unified Modeling Language

• The Unified Modeling Language (UML) is used to specify, visualize, modify, construct and document the artifacts of an object-oriented software-intensive system under development. UML offers a standard way to visualize a system's architectural blueprints, including elements such as:

• activities

• actors

• business processes

• database schemas

• (logical) components

• programming language statements

• reusable software components.

Page 3: UML Visual Paradigm and Code Genration-up.pptx

Software Development Methods

• UML is not a development method by itself; however, it was designed to be compatible with the leading OOSD methods of its time.

• Since UML has evolved, some of these methods have been recast to take advantage of the new notations and new methods have been created based on UML, such as IBM - RUP. Others include Abstraction Method & DSDM.

Page 4: UML Visual Paradigm and Code Genration-up.pptx

Diagram & Model

• Diagram• A diagram is a partial graphic representation

of a system's model.

• Model• The model also contains documentation that

drives the model elements and diagrams.

Page 5: UML Visual Paradigm and Code Genration-up.pptx

Types of Diagrams

• Static (or structural) view• emphasizes the static structure of the system

using objects, attributes, operations and relationships. The structural view includes class diagrams and composite structure diagrams.

• Dynamic (or behavioral) view• emphasizes the dynamic behavior of the system

by showing collaborations among objects and changes to the internal states of objects. This view includes sequence diagrams, activity diagrams and state machine diagrams.

Page 6: UML Visual Paradigm and Code Genration-up.pptx

UML Diagrams

Page 7: UML Visual Paradigm and Code Genration-up.pptx

Types of Diagram

Page 8: UML Visual Paradigm and Code Genration-up.pptx

Structure Diagrams

• Structure diagrams emphasize the things that must be present in the system being modeled. Since structure diagrams represent the structure, they are used extensively in documenting the software architecture of software systems.

Page 9: UML Visual Paradigm and Code Genration-up.pptx

Class Diagram

• Describes the structure of a system by showing the system's classes, their attributes, and the relationships among the classes.

Page 10: UML Visual Paradigm and Code Genration-up.pptx

Component Diagram

• Describes how a software system is split up into components and shows the dependencies among these components.

Page 11: UML Visual Paradigm and Code Genration-up.pptx

Composite Structure Diagram

• Describes the internal structure of a class and the collaborations that this structure makes possible

Page 12: UML Visual Paradigm and Code Genration-up.pptx

Deployment Diagram

• Describes the hardware used in system implementations and the execution environments and artifacts deployed on the hardware

Page 13: UML Visual Paradigm and Code Genration-up.pptx

Object Diagram

• Shows a complete or partial view of the structure of an example modeled system at a specific time

Page 14: UML Visual Paradigm and Code Genration-up.pptx

Package Diagram

• Describes how a system is split up into logical groupings by showing the dependencies among these groupings

Page 15: UML Visual Paradigm and Code Genration-up.pptx

Profile Diagram

• Operates at the meta-model level to show stereotypes as classes with the <<stereotype>> stereotype, and profiles as packages with the <<profile>> stereotype. The extension relation (solid line with closed, filled arrowhead) indicates what meta-model element a given stereotype is extending.

Page 16: UML Visual Paradigm and Code Genration-up.pptx

Behavior Diagrams

• Behavior diagrams emphasize what must happen in the system being modeled. Since behavior diagrams illustrate the behavior of a system, they are used extensively to describe the functionality of software systems.

Page 17: UML Visual Paradigm and Code Genration-up.pptx

Activity Diagram

• Describes the business and operational step-by-step workflows of components in a system. An activity diagram shows the overall flow of control.

Page 18: UML Visual Paradigm and Code Genration-up.pptx
Page 19: UML Visual Paradigm and Code Genration-up.pptx

State Machine Diagram

• Describes the states and state transitions of the system.

Page 20: UML Visual Paradigm and Code Genration-up.pptx

Use Case Diagram

• Describes the functionality provided by a system in terms of actors, their goals represented as use cases, and any dependencies among those use cases.

Page 21: UML Visual Paradigm and Code Genration-up.pptx

Interaction Diagrams

• Interaction diagrams, a subset of behavior diagrams, emphasize the flow of control and data among the things in the system being modeled

Page 22: UML Visual Paradigm and Code Genration-up.pptx

Communication Diagram

• It shows the interactions between objects or parts in terms of sequenced messages. They represent a combination of information taken from Class, Sequence, and Use Case Diagrams describing both “the static structure and dynamic behavior of a system”.

Page 23: UML Visual Paradigm and Code Genration-up.pptx

Interaction Overview Diagram

• Provides an overview in which the nodes represent communication diagrams

Page 24: UML Visual Paradigm and Code Genration-up.pptx
Page 25: UML Visual Paradigm and Code Genration-up.pptx

Sequence Diagram

• Shows how objects communicate with each other in terms of a sequence of messages. Also indicates the lifespans of objects relative to those messages.

Page 26: UML Visual Paradigm and Code Genration-up.pptx

Timing Diagram

• a specific type of interaction diagram where the focus is on timing constraints.

• Timing diagrams are used to explore the behaviors of objects throughout a given period of time. A timing diagram is a special form of a sequence diagram. The differences between timing diagram and sequence diagram are the axes are reversed so that the time is increased from left to right and the lifelines are shown in separate compartments arranged vertically.

Page 27: UML Visual Paradigm and Code Genration-up.pptx

Criticisms

• Although UML is a widely recognized and used modeling standard, it is frequently criticized for the following

• Standards bloat• Problems in learning and adopting• Linguistic incoherence• Capabilities of UML and implementation language mismatch• Dysfunctional interchange format• Cardinality Notation• Exclusive