Emdedded Assign
Emdedded Assign
Goals of UML
The primary goals in the design of the UML were:
Use case diagrams model the functionality of a system using actors and use
cases. Use cases are services or functions provided by the system to its
users.
Basic Use Case Diagram Symbols and Notations
System
Draw your system's boundaries using a rectangle that contains use cases.
Place actors outside the system's boundaries.
Use Case
Draw use cases using ovals. Label with ovals with verbs that represent the
system's functions.
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.
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.
1. Use Cases
2. Actors
3. Relationships
4. System Boundary Boxes
1. Use Cases
3. Relationships
There are several types of relationships that may appear on a use case
diagram:
The rectangle around the use cases is called the system boundary box and
as the name suggests it indicates the scope of your system – the use cases
inside the rectangle represent the functionality that you intend to
implement.
Action States
Action states represent the non interruptible actions of objects. You can draw
an action state in SmartDraw using a rectangle with rounded corners.
Action Flow
Action flow arrows illustrate the relationships among action states.
Object Flow
Object flow refers to the creation and modification of objects by activities. An
object flow arrow from an action to an object means that the action creates
or influences the object. An object flow arrow from an object to an action
indicates that the action state uses the
Object.
Initial State
A filled circle followed by an arrow represents the initial action state.
Final State
An arrow pointing to a filled circle nested inside another circle represents the
final action state.
Branching
A diamond represents a decision with alternate paths. The outgoing
alternates should be labeled with a condition or guard expression. You can
also label one of the paths "else."
Synchronization
A synchronization bar helps illustrate parallel transitions. Synchronization is
also called forking and joining.
Swimlanes
• A complex operation
• A complex business rule
• A single use case
• Several use cases
• A business process
• Software processes
Guidelines:
1. General Guidelines
2. Activities
3. Decision Points
4. Guards
5. Parallel Activities
6. Swimlanes
7. Action Objects
1. General Guidelines
2.Activities
3. Decision Points
4. Guards
5. Parallel Activities
6. Swimlane Guidelines
7 Action-Object Guidelines
States
States represent situations during the life of an object. You can easily
illustrate a state in SmartDraw by using a rectangle with rounded corners.
Transition
A solid arrow represents the path between different states of an object. Label
the transition with the event that triggered it and the action that results from
it.
Initial State
A filled circle followed by an arrow represents the object's initial state.
Final State
An arrow pointing to a filled circle nested inside another circle represents the
object's final state.