UML Experiment
UML Experiment
AIM: Try simple architecture and design of modules. Represent in activity, sequence,
collaboration
diagrams(UML).
Diagrams in UML :
Behavioural Diagrams
Use Case Diagrams
State Diagrams
Activity Diagrams
Interaction Diagrams
Class Diagram
Object Diagram
Component Diagram
represent the how the physical components in a system have been organized.
depict the structural relationship between software system elements
Deployment Diagram
Behavioural Diagrams
Sequence Diagram
Collaboration Diagram
USECASE DIAGRAM
ACTORS
A role that a user plays with respect to the system, including human users and other
systems.
USECASE
OBJECT DIAGRAM
Lifeline
Actor
Activation
Messages
Call message
Return message
Self message
ACTIVITY DIAGRAM
Activities are nothing but the functions of a system. Numbers of activity diagrams are
prepared to capture the entire flow in a system.
This is prepared to have an idea of how the system will work when executed.
Swimlane: It is used to cluster all the related activities in one column or one row. It
can be either vertical or horizontal.
Forks: Forks and join nodes generate the concurrent flow inside the
activity. A fork node consists of one inward edge and several outward
edges.
The collaboration diagram is used to show the relationship between the objects
in a system.
Sequence and the collaboration diagrams represent the same information but
differently.
It depicts the architecture of the object residing in the system.
It is essential to depict the relationship between the object.
It is another form of interaction diagram. It represents the structural
organization of a system and the messages sent/received. Structural
organization consists of objects and links.
The purpose of collaboration diagram is similar to sequence diagram. But
the specific purpose of collaboration diagram is to visualize the organization
of objects and their interaction.
Objects: The representation of an object is done by an object symbol with its
name and class underlined, separated by a colon.
Actors: the actor plays the main role as it invokes the interaction. Each actor has
its respective role and name.
Links: It portrays a relationship between the objects through which the messages
are sent.
Messages: It is a communication between objects which carries information
and includes a sequence number
state machine diagram is also called the Statechart or State Transition diagram
It captures the software system's behavior
It models event-based systems to handle the state of an object.
defines several distinct states of a component within the system
It records the dynamic view of a system
It visualize the reaction of a system by internal/external factors.
It describes the flow of control from one state to another state.
States are defined as a condition in which an object exists
It changes when some event is triggered.
It is used to model life time of an object from creation to termination.
COMPONENT DIAGRAM
related.
CREDIT CARD PROCESSING SYSTEM USECASE DIAGRAM
CREDIT CARD PROCESSING SYSTEM CLASS DIAGRAM
CREDIT CARD PROCESSING SYSTEM OBJECT DIAGRAM
CREDIT CARD PROCESSING SYSTEM SEQUENCE DIAGRAM
CREDIT CARD PROCESSING SYSTEM COLLABORATION DIAGRAM
CREDIT CARD PROCESSING SYSTEM STATE CHART DIAGRAM
CREDIT CARD PROCESSING SYSTEM ACTIVITY DIAGRAM
CREDIT CARD PROCESSING SYSTEM COMPONENT DIAGRAM
CREDIT CARD PROCESSING SYSTEM DEPLPOYMENT DIAGRAM