Skip to content

Instantly share code, notes, and snippets.

@vaiorabbit
Created June 10, 2019 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaiorabbit/43eb887a76c6d91839caf1eea75851d3 to your computer and use it in GitHub Desktop.
Save vaiorabbit/43eb887a76c6d91839caf1eea75851d3 to your computer and use it in GitHub Desktop.
UMLモデリングのエッセンス 第3版 図4.3
@startuml
hide footbox
participant "a Handler" as H
participant "a Query Command" as QC
participant "a Database Statement" as DS
/' skinparam lifelineStrategy solid '/
skinparam lifelineStrategy dashed
[o-> H : query database
activate H
create QC
H -> QC : new
activate QC
create DS
QC -> DS : new
QC -> DS : execute
activate DS
DS --> QC : results
deactivate DS
QC -> QC : extract results
activate QC
deactivate QC
QC -> DS : close
destroy DS
destroy QC
QC --> H : results
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment