DESIGNING

CLASS DIAGRAM:-

Classes and interfaces:- In UML show architecture and features of the designed system.

Aggregation

Aggregation:- is a special type of association in which objects are assembled or configured together to create a more complex object. An aggregation describes a group of objects and how you interact with them.

Dependency

Dependency :-relationship is a relationship in which one element, the client, uses or depends on another element, the supplier.

Composition

Composition :-represents whole-part relationships and is a form of aggregation.

Generalization

Generalization:  is a relationship in which one model element (the child) is based on another model element (the parent).

Association

Association is a relationship between two classifiers, such as classes or use cases, that describes the reasons for the relationship and the rules that govern the relationship.

Constraint

Constraint is an extension mechanism that enables you to refine the semantics of a UML model element.

Note

Note :contains comments or textual information.

Diagram:-

DATA FLOW DIAGRAM:-         

It’s easy to understand the flow of data through systems with the right data flow diagram software. This guide provides everything you need to know about data flow diagrams, including definitions, history, and symbols and notations. You’ll learn the different levels of a DFD, the difference between a logical and a physical DFD and tips for making a DFD.
Process Notations:- A process transforms incoming data flow into outgoing data flow.
DFD Process Notation
Datastore NotationsDatastores are repositories of data in the system. They are sometimes also referred to as files.
DFD Datastore Notation
Dataflow Notations. Dataflows are pipelines through which packets of information flow. Label the arrows with the name of the data that moves through it.
DFD Dataflow Notation
External Entity NotationsExternal entities are objects outside the system, with which the system communicates. External entities are sources and destinations of the system’s inputs and outputs.
DFD External Entity Notation
Diagram:-
LEVEL0-DFD
level0 dfd
LEVEL1-DFD
dfd 1
LEVEL2-DFD
level2 DFD
  • USECASE DIAGRAM:-
System:-
Draw your system’s boundaries using a rectangle that contains use cases. Place actors outside the system’s boundaries.
System symbol - use case diagram
Use Case
Draw use cases using ovals. Label the ovals with verbs that represent the system’s functions.
Use case symbol - use case diagram
Actors
Actors are the users of a system. When one system is the actor of another system, label the actor system with the actor stereotype.
Actor symbol - use case diagram
Relationships
Illustrate relationships between an actor and a use case with a simple line. For relationships among use cases, use arrows labeled either “uses” or “extends.” A “uses” relationship indicates that one use case is needed by another in order to perform a task. An “extends” relationship indicates alternative options under a certain use case.
Relationship symbol - use case diagram
Diagram:-
usecase
  • SEQUENCE DIAGRAM:-
Lifeline Notation
A sequence diagram is made up of several of these lifeline notations that should be arranged horizontally across the top of the diagram. No two lifeline notations should overlap each other. They represent the different objects or parts that interact with each other in the system during the sequence.
A lifeline notation with an actor element symbol is used when the particular sequence diagram is owned by a use case.
lifeline with an actor element symbol
A lifeline with an entity element represents system data. For an example, in a customer service application, the Customer entity would manage all data related to a customer.
Entity Lifeline
A lifeline with a boundary element indicates a system boundary/ software element in a system; for example user interface screens, database gateways or menus that users interact with, are boundaries.
Boundary Lifeline
And a lifeline with a control element indicates a controlling entity or manager. It organizes and schedules the interactions between the boundaries and entities and serves as the mediator between them.
Control Lifeline
Diagram:-
Sequence
COMPONENT DIAGRAM:-
  • Component

    A component is drawn as a rectangle with optional compartments stacked vertically. A component can be represented as just a rectangle with the component’s name and the component stereotype text and/or icon. The component stereotype’s text is “<<component>>” and the component stereotype icon is a rectangle with two smaller rectangles protruding on its left side.

    UML Component Symbol

    Component Interfaces

    Provide Interface

    Provided interfaces define “a set of public attributes and operations that must be provided by the classes that implement a given interface”.

    Required Interface

    Required interfaces define “a set of public attributes and operations that are required by the classes that depend upon a given interface”.

    Provided and Required Interface

    Component Assemblies

    Components can be “wired” together using to form subsystems, with the use of a ball-and-socket joint.

    Component Diagram ball and socket joint

    Port

    A port (definition) indicates that the component itself does not provide the required interfaces (e.g., required or provided). Instead, the component delegates the interface(s) to an internal class.

    UML Component Diagram Port


Diagram:-
  • Screenshot_20180924_115128
DEPLOYMENT DIAGRAM:-
Nodes
Deployment Diagram Tutorial - Node Shapes
There are two types of nodes in a deployment diagram: device nodes and execution environment nodes. Device nodes are computing resources with processing capabilities and the ability to execute programs. Some examples of device nodes include PCs, laptops, and mobile phones.
An execution environment node, or EEN, is any computer system that resides within a device node. It could be an operating system, a JVM, or another servlet container.
Database
Deployment Diagram Tutorial - Database Shape
Databases represent any data stored by the deployed system. In some instances, you’ll see a database represented as just another node, but sometimes you will see this shape as a database.
Diagram:-
Screenshot_20180924_115303