mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
3.0 KiB
3.0 KiB
UML
A standard set of model constructs and notation defined by the object management group
specify what not how
- activity diagrams
- high level for business prcesses workflows
- low level for dtailed business logic
- advantages
- describe workflows
- specify relative processing rder of activites
- simple
- can be shown to stakeholders for checking and confirmation
enables implementation-independent specification of:
- user/system interactions
- partitioning of responsibility
- integration with larger or existing systems
- data flow and dependency
- order of operations (algorithms and processes)
- concurrent operations
1 why is is useful
- helps develop efficient effective correct designs
- better communication with project stakeholders
- gives a big picture view of the project system
- independent of specific programming languages or development processes
- de facto standard for modelling OO systems
2 what it is not
- visual modelling software
- a programming languages
- a software development process, method, or methodology
3 Types of diagram
3.1 structural
3.2 behavioural
3.3 Linked diagrams
each digram type models a dfiferenct aspect of the system many of the diagrams link to each other
- e.g., use case, sequence, activity
- e.g., object, communication
e.g.,
!Pasted image 20220323114226.png#invert
3.4 Activites and transitions
!Pasted image 20220323114618.png#invert
-
activities
- take place over some pariod of time
- linked by transitions (arrows)
- only one starting point potentaily many ending conditions
-
Transitions
- have guard conditions that must be satisfied before the transition can occur
3.5 Decision points
- represent conditional branching
- two or more alternative transitions depending on condition
- every transiiton exiting the decision point must have a guard condition
!Pasted image 20220323114826.png#invert
3.6 Synchonisation bars
- represents two or more activites running in parallel
- transitions can be split into mutiple paths and recombined later
- if a workflow is split then it must be recombined on the same diagram
!Pasted image 20220323115040.png#invert
3.7 swim lanes
- same as BPMN
- show who is responsible for a process
- can represent
- business organisations
- depts
- people (actors)
- can simplify processes
!Pasted image 20220323115203.png#invert#invert
3.8 relationships to use cases
- use case diagrams show the high level interactions between actors and cases
- high level activity diagrams show the sequence of use cases within a workflow
!Pasted image 20220323115346.png#invert
3.8.1 example
!Pasted image 20220323115415.png#invert !Pasted image 20220323115451.png#invert !Pasted image 20220323115536.png#invert
3.9 Example producing a book
!Pasted image 20220323114440.png#invert !Pasted image 20220323114555.png#invert


