uml recordviit

Upload: dhanunjayarao

Post on 07-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/4/2019 Uml Recordviit

    1/31

    INSTI

    1

  • 8/4/2019 Uml Recordviit

    2/31

    INDEX

    1. INTRODUCTION TO UML

    2. ARCHITECTURE OF UML:

    3. SIMULATED COMPANY

    4. UNIFIED LIBRARY APPLICATION

    5. POINT OF SALE

    INTRODUCTION TO UML

    2

  • 8/4/2019 Uml Recordviit

    3/31

    The unified modeling language(UML) is a standard language for writing software blue

    prints.The uml will be used to visualize specify ,construct and document the artifacts of a

    software intensive system.

    AN OVERVIEW OF UML:

    An UML is language for1.visualizing

    2.specifiying

    3.constructing4.documenting

    THE UML IS A LANGUAGE

    1.A modeling language is a language whose vocabulary and rules focus on theconceptual and physical representation of a system.

    2.A modeling language such as the uml is thus a standard language for software blue prints.

    3.Modelling yields an understanding of a system.NO one model is ever sufficient .Rather,you

    often need multiple models that are connected to one anather in order to understand anything butthe most trivial system. For software-intersive systems,this recquires a language that addresses

    the different views of a systems architecture as it evolves throughout the software developmentlife cycle.

    THE UML IS A LANGUAGE FOR VISUALIZING:

    The uml is more than just a bunch of graphical symbols. Rather ,behind each symbol in the uml

    notation is a well defined semantics. In this manner ,one developer can write a model in the uml,and another developer can write a model in the uml.,and anather developer,or even another

    tool,can interpret that model unambiguously.

    THE UML IS LANGUAGE FOR SPECIFYINGSpecifying means building models that are precise,unambiguous and complete.In particular ,the

    UML addresses the specification of all the important analysis,design,and implementation

    decisions that must be made in developing and deploying a software intensive system.THE UML IS A LANGUAGE FOR CONSTRUCTING:

    The uml is not a visual programming language.but it models can directly connected to a variety

    of programming languages.this means that is possible to map from a model in uml to aprogramming language such as java,c++ ,or visual basic,or even to a relational database. Things

    that are best expressed graphically are done so graphically in uml. The uml is sufficiently

    expressed under ambiguously to permit the direct executioin of models.

    THE UML IS LANGUAGE FOR DOCUMENTING:

    3

  • 8/4/2019 Uml Recordviit

    4/31

    The artifacts include:

    1. Requirements

    2. Architecture

    3. Design

    4. Source code

    5. Project plans

    6. Tests

    7. Prototypes

    8. Releases

    The uml addresses the documentation of a systems architecture and all of its details. Theuml also provides a language for expressing requirements and for tests.finally ,the umlprovides a language for modeling the activities of project planning and release management.

    WHERE CAN THE UML BE USED?

    The uml is intended primarily for software-intensive systems. It has been used effectively forsuch domains as

    1. Enterprise information systems

    2. Banking and financial services

    3. Telecommunications

    4. Transportation

    5. Defense/aerospace

    6. Retail

    7. Medical electronics

    8. Scientific

    9. Distributed web-based services

    The uml is not limited to modeling software. In fact,it is expressive enough to modelnonosoftware systems. Such as workflow in the legal system,the structure and behaviou

    of a patient healthcare system,and the design of hardware.

    ARCHITECTURE OF UML:

    4

  • 8/4/2019 Uml Recordviit

    5/31

    Visualizing,specifying,constructing,and documenting a software intensive system demands that

    the system be viewed from a number of perspectives.Different stakeholders-end

    users,analysts,developers,system integrators,testers,technical writers,and project managerseachbring different agendas to a project and each looks at that system in different ways at different

    times over the projects life.

    Architecture is the set of significant decision about1. The organization of a software system

    2. The selection of the structural elements and their interfaces by which the system is

    composed

    3. Their behavior ,as specified in the collaborations among those elements

    4. The composition of these structural and behavioral elements into progressively larger

    subsystems

    5. The architectural style that guides this organization:the static and dynamic elements and

    their collaborations,and their composition

    THE USE CASE VIEW:

    The use case view of a system encompasses the use cases that describe the behavior of

    the system as seen by its end users,analysts,and testers. This view doesnt really specifythe organization of a software system.

    THE DESIGN VIEW:

    The design view of a system encompasses the classes,interfaces,and collaborations thatform the vocabulary of the problem and its solution. This view primarily supports the

    functional requirements of the system,meaning the services that the system should

    provide to its end users.

    5

  • 8/4/2019 Uml Recordviit

    6/31

  • 8/4/2019 Uml Recordviit

    7/31

    SIMULATED COMPANY

    INTRODUCTION

    Companies are emerging like mushrooms nowadays. It is necessary for us to

    examine how a company runs and the basic transactions taking place in a company. This projectemphasizes on the working of company with main actors being managing director, marketing

    manager and catalog

    Director collects capital and then starts company by installing machinery andappointing labor. He then starts the production activity. After production marketing manager

    along with managing director decides the price of product which is then marketed by marketing

    manager. He then submits reports to the director about the sales which are analyzed by the

    director. All these activities are updated into the catalog from time to time

    Let us just have an overview of point of sale:

    Director collects capital from various sources

    Director installs machinery and employs labor to begin production activity

    Director along with managing director decides price

    Marketing manager does marketing and submits reports to the director

    TEXTUAL ANALYSIS

    (a) ACTORS

    i. Director

    ii. Marketing Manager

    iii. Catalog

    (b) VERBS

    i. Director:

    1. Collects capital

    2. Installs machinery

    3. Employ labor

    4. Begin Production

    5. Decide price

    6. Analyze reports

    7

  • 8/4/2019 Uml Recordviit

    8/31

    ii. Marketing Manager:

    1. Decide price

    2. Do marketing

    3. Submit reports

    4. Update catalog

    iii. Catalog

    1. Stores reports

    USECASE DIAGRAM

    Use case diagram is created to visualize the interaction of our system with the outside world. The

    components of use case diagram are:

    Use Case: Scenarios of the system

    Actor: Someone or something who is interacting with the system

    Relationship: Semantic link between use case and actor. The forms of relationship are:

    a. Association

    b. Dependency

    c. Generalization

    8

  • 8/4/2019 Uml Recordviit

    9/31

    ACTIVITY DIAGRAM

    Activity diagram shows the flow of events within our system.

    The components are:

    a) Start State

    b) End State

    c) Transition

    d) Decision Boxe) Synchronization Bar

    f) Swim Lane

    9

  • 8/4/2019 Uml Recordviit

    10/31

    10

  • 8/4/2019 Uml Recordviit

    11/31

    INTERACTION DIAGRAM

    An interaction diagram models the dynamic aspects of the system by showing the

    relationship among the objects and messages they may dispatch. There are two types of

    interaction diagrams:

    SEQUENCE DIAGRAMSequence diagram shows the step to step what mush happen to accomplish a piece of

    functionality provided by the system. The components are:

    a) Actor

    b) Objectc) Messages

    d) Lifeline

    e) Focus of Control

    11

  • 8/4/2019 Uml Recordviit

    12/31

    COLLABORATION DIAGRAM

    Collaboration diagram displays object interactions organized around objects and their links to

    one another. The components are:

    a) Actor

    b) Object

    c) Link

    CLASS DIAGRAM

    Class diagram shows structure of the software system. The class diagram shows a set ofclasses, interfaces and their relationships. The components are:

    a) Class

    b) Relationship:

    The forms of relationship are:

    1. Association2. Aggregation

    3. Generalization

    4. Composition

    5. Dependency

    12

  • 8/4/2019 Uml Recordviit

    13/31

    STATE CHART DIAGRAM

    State chart diagram show a life cycle of a single class. The state is a condition where the

    object may be in. The components are:

    a) Start state

    b) End state

    c) State

    d) Transition

    Catalog

    Director

    Marketing Manager

    13

  • 8/4/2019 Uml Recordviit

    14/31

    UNIFIED LIBRARY

    APPLICATION

    INTRODUCTION

    Unified Library Application

    System emphasizes on the onlinereservation, issue and return of

    books. This system globalizes the

    present library system. Using this

    application the member can reserveany book from anywhere in the

    world. Still in nascent stages, this

    application soon revolutionizes

    present library system.

    Let us just have an overview of the unified library application system:

    Librarian lends books and magazines

    Librarian maintains the list of all the members of library

    Borrower makes reservation online

    Borrower can remove reservation online

    Librarian issues books to the borrower

    Librarian calculates dues to be paid by the borrower

    Borrower issues/returns books and/or magazines

    Librarian places order about the requirements to the master librarian

    Librarian updates system

    Master librarian maintains librarians

    TEXTUAL ANALYSIS

    (a) ACTORS

    i. Librarian

    ii. Borrower

    iii. Catalog

    iv. Master Librarian

    14

  • 8/4/2019 Uml Recordviit

    15/31

    (b) VERBS

    i. Borrower:

    1. Logs into the system

    2. Browses/searches for books or magazines

    3. Makes/removes reservation

    4. Views results and reports from the unified library application system

    ii. Librarian:

    1. Manages and validates members

    2. View reports from the system

    3. Issues books

    4. Calculates dues

    5. Takes books

    6. Places orders to the master librarian

    7. Maintains list of books and magazineiii. Master Librarian

    1. Maintains other librarians

    USECASE DIAGRAM

    Use case diagram is created to visualize the interaction of our system with the outside world. The

    components of use case diagram are:

    Use Case: Scenarios of the systemActor: Someone or something who is interacting with the system

    Relationship: Semantic link between use case and actor. The forms of relationship are:

    a. Associationb. Dependency

    c. Generalization

    15

  • 8/4/2019 Uml Recordviit

    16/31

    ACTIVITY DIAGRAM

    Activity diagram shows the flow of events within our system.

    The components are:

    a) Start Stateb) End State

    c) Transition

    d) Decision Box

    e) Synchronization Barf) Swim Lane

    16

  • 8/4/2019 Uml Recordviit

    17/31

    INTERACTION DIAGRAM

    An interaction diagram models the dynamic aspects of the system by showing the

    relationship among the objects and messages they may dispatch. There are two types ofinteraction diagrams:

    SEQUENCE DIAGRAM

    Sequence diagram shows the step to step what mush happen to accomplish a piece of

    functionality provided by the system. The components are:a) Actor

    b) Object

    c) Messages

    d) Lifeline

    17

  • 8/4/2019 Uml Recordviit

    18/31

    e) Focus of Control

    COLLABORATION DIAGRAM

    Collaboration diagram displays object interactions organized around objects and their links to

    one another. The components are:

    a) Actor

    b) Object

    c) Link

    18

  • 8/4/2019 Uml Recordviit

    19/31

    CLASS DIAGRAM

    Class diagram shows structure of the software system. The class diagram shows a set ofclasses, interfaces and their relationships. The components are:

    a) Class

    b) Relationship:

    The forms of relationship are:

    1. Association

    2. Aggregation

    3. Generalization4. Composition

    5. Dependency

    19

  • 8/4/2019 Uml Recordviit

    20/31

    STATE CHART DIAGRAM

    State chart diagram show a life cycle of a single class. The state is a condition where the

    object may be in. The components are:

    a) Start state

    b) End state

    c) State

    d) Transition

    20

  • 8/4/2019 Uml Recordviit

    21/31

    Member:

    Librarian

    21

  • 8/4/2019 Uml Recordviit

    22/31

    Library Administrator

    22

  • 8/4/2019 Uml Recordviit

    23/31

    POINT OF SALE

    INTRODUCTION

    Shops are the integral part of any civilization. They are present in every culturesince ages. This application emphasizes on the transaction going on between the customer and

    shop keeper during sale of product.

    The customer approaches the shop keeper/ sales boy and places his order. Theshop keeper forwards the order to sales boy who fetches the required goods from inventory. Then

    the shop keeper calculates bill and issues to the customer. The customer on paying the bill takes

    goods from the shop keeper. In turn, shop keeper fetches goods from supplier

    Let us just have an overview of point of sale:

    Customer places order to the shop keeper/sales boy

    Sales boy collects goods and forwards them to shop keeper

    Shop owner calculates bill and forwards to the customer

    Customer on paying the bill receives goods from shop keeper

    Shop keeper places order to supplier and receives goods

    TEXTUAL ANALYSIS

    (a) ACTORS

    i. Customer

    ii. Shop Owner

    iii. Sales boy

    iv. Supplier

    (b) VERBS

    i. Customer:

    1. Places order to shop owner/sales boy

    2. Receives bill from shop owner

    3. Pay the bill

    4. Receive goods

    ii. Shop Owner:

    1. Receives order from customer

    2. Forwards order to sales boy

    3. Receive goods from sales boy

    23

  • 8/4/2019 Uml Recordviit

    24/31

    4. Calculates bill

    5. Receives payment

    6. Places orders to supplier

    7. Maintains inventory

    iii. Supplier

    1. Receives order from shop owner

    2. Delivers goods to shop owner

    USECASE DIAGRAM

    Use case diagram is created to visualize the interaction of our system with the outside world. The

    components of use case diagram are:

    Use Case: Scenarios of the system

    Actor: Someone or something who is interacting with the system

    Relationship: Semantic link between use case and actor. The forms of relationship are:

    a. Association

    b. Dependency

    c. Generalization

    24

  • 8/4/2019 Uml Recordviit

    25/31

    ACTIVITY DIAGRAM

    Activity diagram shows the flow of events within our system.

    The components are:

    a) Start State

    b) End State

    c) Transition

    d) Decision Box

    e) Synchronization Bar

    f) Swim Lane

    25

  • 8/4/2019 Uml Recordviit

    26/31

    26

  • 8/4/2019 Uml Recordviit

    27/31

    INTERACTION DIAGRAM

    An interaction diagram models the dynamic aspects of the system by showing the

    relationship among the objects and messages they may dispatch. There are two types of

    interaction diagrams:

    SEQUENCE DIAGRAMSequence diagram shows the step to step what mush happen to accomplish a piece of

    functionality provided by the system. The components are:

    a) Actor b) Object

    c) Messages

    d) Lifeline

    e) Focus of Control

    27

  • 8/4/2019 Uml Recordviit

    28/31

    COLLABORATION DIAGRAM

    Collaboration diagram displays object interactions organized around objects and their links to

    one another. The components are:

    a) Actor

    b) Object

    c) Link

    CLASS DIAGRAM

    Class diagram shows structure of the software system. The class diagram shows a set of

    classes, interfaces and their relationships. The components are:a) Class

    b) Relationship:The forms of relationship are:

    1. Association

    2. Aggregation

    3. Generalization4. Composition

    5. Dependency

    28

  • 8/4/2019 Uml Recordviit

    29/31

    STATE CHART DIAGRAM

    State chart diagram show a life cycle of a single class. The state is a condition where theobject may be in. The components are:

    a) Start state

    b) End state

    c) Stated) Transition

    Customer

    29

  • 8/4/2019 Uml Recordviit

    30/31

    Shop Owner

    Supplier

    30

  • 8/4/2019 Uml Recordviit

    31/31

    Sales boy

    STIMULUS RESPONSE DIAGRAM

    Stimulus Response Diagram emphasizes on describing the life cycle of entire system as awhole. The components are:

    a) Start state

    b) End statec) State

    d) Transition