mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-09-14 00:18:09 +00:00
* #1263 - creating new module for view-helper * #1263 - creating Product and ProductViewModel * #1263 - creating interfaces for View and ViewHelper * #1263 - creating ProductViewHelper and its test * #1263 - creating Console View for Product * #1263 - creating ProductController * #1263 - creating main App and its test * #1263 - adding license header * #1263 - keeping module in alphabetical order * #1263 - creating README and diagrams * #1263 apply spotless --------- Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
15 lines
395 B
Plaintext
15 lines
395 B
Plaintext
@startuml
|
|
actor Client
|
|
participant Controller
|
|
participant ViewHelper
|
|
participant View
|
|
participant Product
|
|
participant ProductViewModel
|
|
|
|
Client -> Controller : handle(product)
|
|
Controller -> ViewHelper : prepare(product)
|
|
ViewHelper -> Product : access data
|
|
ViewHelper -> ProductViewModel : return formatted view model
|
|
Controller -> View : render(viewModel)
|
|
View -> Console : display output
|
|
@enduml |