Project Milestone 1
Project Milestone 1
Project Milestone 1
The first deliverable will consist of presenting the overall architecture of the
system in terms of UML diagrams. Additionally, you should present and
explain the technology stack you are going to employ for the project
implementation. The stack description should list benefits and drawbacks of
the proposed solution, and fitness of the given approach towards the
hospital system implementation.
The task expects the followings deliverables:
1) Class diagram.
2) Use case diagram.
3) Activity diagram.
4) The technology stack with description and general explanation why it
fits the given system.
There are different online tools that you can use to draw UML diagrams:
https://creately.com/
https://www.smartdraw.com/uml-diagram/uml-diagram-tool.htm
https://staruml.io/
Class diagrams
The class diagram depicts a static view of an application. It represents the types
of objects residing in the system and the relationships between them. A class
consists of its objects, and also it may inherit from other classes. A class diagram
is used to visualize, describe, document various different aspects of the system,
and also construct executable software code.
The main purpose of a use case diagram is to portray the dynamic aspect of a
system. It accumulates the system's requirement, which includes both internal as
well as external influences. It invokes persons, use cases, and several things that
invoke the actors and elements accountable for the implementation of use case
diagrams. It represents how an entity from the external environment can interact
with a part of the system.
After that, we will enlist the actors that will interact with the system. The actors
are the person or a thing that invokes the functionality of a system. It may be a
system or a private entity, such that it requires an entity to be pertinent to the
functionalities of the system to which it is going to interact.
Once both the actors and use cases are enlisted, the relation between the actor and
use case/ system is inspected. It identifies the no of times an actor communicates
with the system. Basically, an actor can interact multiple times with a use case or
system at a particular instance of time.
Following are some rules that must be followed while drawing a use case
diagram:
Activity diagram
In UML, the activity diagram is used to demonstrate the flow of control within
the system rather than the implementation. It models the concurrent and
sequential activities.
The activity diagram helps in envisioning the workflow from one activity to
another. It put emphasis on the condition of flow and the order in which it occurs.
The flow can be sequential, branched, or concurrent, and to deal with such kinds
of flows, the activity diagram has come up with a fork, join, etc.
It is also termed as an object-oriented flowchart. It encompasses activities
composed of a set of actions or operations that are applied to model the behavioral
diagram.
Activities
The control flow of activity is represented by control nodes and object nodes that
illustrates the objects used within an activity. The activities are initiated at the
initial node and are terminated at the final node.
The swimlane is used to cluster all the related activities in one column or one row.
It can be either vertical or horizontal. It used to add modularity to the activity
diagram. It is not necessary to incorporate swimlane in the activity diagram. But
it is used to add more transparency to the activity diagram.
Forks
Forks and join nodes generate the concurrent flow inside the activity. A fork node
consists of one inward edge and several outward edges. It is the same as that of
various decision parameters. Whenever a data is received at an inward edge, it
gets copied and split crossways various outward edges. It split a single inward
flow into multiple parallel flows.
Join Nodes
Join nodes are the opposite of fork nodes. A Logical AND operation is performed
on all of the inward edges as it synchronizes the flow of input across one single
output (outward) edge.
Pins
It is a small rectangle, which is attached to the action rectangle. It clears out all
the messy and complicated thing to manage the execution flow of activities. It is
an object node that precisely represents one input to or output from the action.
Notation of an Activity diagram
Initial State: It depicts the initial stage or beginning of the set of actions.
Final State: It is the stage where all the control flows and object flows end.
Decision Box: It makes sure that the control flow or object flow will follow only
one path.
Following are the rules that are to be followed for drawing an activity diagram:
Here the input parameter is the Requested order, and once the order is accepted,
all of the required information is then filled, payment is also accepted, and then
the order is shipped. It permits order shipment before an invoice is sent or
payment is completed.
Figure 3. Example of activity diagram.