docs: page object and parameter object diagrams

This commit is contained in:
Ilkka Seppälä
2025-04-09 21:32:13 +03:00
parent 32dbc7faa6
commit ecfd944e95
6 changed files with 16 additions and 0 deletions
+8
View File
@@ -40,6 +40,14 @@ wiki.c2.com says
> Replace the LongParameterList with a ParameterObject; an object or structure with data members representing the arguments to be passed in.
Mind map
![Parameter Object mind map](./etc/parameter-object-mind-map.png)
Flowchart
![Parameter Object flowchart](./etc/parameter-object-flowchart.png)
## Programmatic Example of Parameter Object Pattern in Java
The Parameter Object design pattern is a way to group multiple parameters into a single object. This simplifies method signatures and enhances code maintainability enabling Java developers to streamline complex method calls, focusing on cleaner and more maintainable Java code.
Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB