Structure diagrams purpose are to show the things being modelled while
behavioural diagrams is to show what would happen in system.
Case Diagram
Case diagram gives a graphic overview of the actor involved in a system,
different functions needed by those actors and how those difference function
interact.
By using Case diagram you could easily identify the main actor involved and the
main processes of the system.
Case diagram consist of :
Actor : a person, organization or external system that play a role in
1 or more interaction in your system,actor to usually are drawn as
stick figures.
Use cases. A use case describes a sequence of actions that provide
something of measurable value to an actor and is drawn as a
horizontal ellipse.
Associations : Associations between actors and use cases are
indicated in use case diagrams by solid lines. An association exists
whenever an actor is involved with an interaction described by a
use case. Associations are modeled as lines connecting use cases
and actors to one another, with an optional arrowhead on one end
of the line. The arrowhead is often used to indicating the direction of
the initial invocation of the relationship or to indicate the primary
actor within the use case. The arrowheads are typically confused
with data flow and as a result I avoid their use.
System boundary boxes (optional): a rectangle drawn around
the use cases. They are called the system boundary box, to
indicates the scope of your system. Anything within the box
represents functionality that is in scope and anything outside the
box is not. System boundary boxes are rarely used, although on
occasion they are used them to identify which use cases will be
delivered in each major release of a system.
Association
s
2)Hospital Management
Purpose: Describe major services (functionality)
provided by a hospital's reception.
Sequence Diagram
Sequence diagrams shows how object interact with each other and the order
those interactions occur. Its important to note that they show the interactions
for a particular scenario
The diagrams is also used to show how exactly the business presently works by
illustrating how the different business objects interact
Lifeline
Guards
Message
Class Diagram
Class diagram is a type of static structure diagram that describe the structure of a
system
It shows the classes in a system, attributes and operations of each class and the relationship
between each class.
In large systems with many related classes, classes are grouped together to create
class diagrams. Different relationships between classes are shown by different types of
arrows.
Arrows in class diagram:
No
Element
Association
5a
Aggregation
5b
Composition
Generalization
13
Import
14
Dependency
15
Realization
16
Realization