Skip to content

Commit a1ff55b

Browse files
committed
iluwatar#190 Regenerate puml files
1 parent 9ec0935 commit a1ff55b

File tree

24 files changed

+194
-47
lines changed

24 files changed

+194
-47
lines changed

builder/etc/builder.urm.puml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ package com.iluwatar.builder {
8686
+ values() : Weapon[] {static}
8787
}
8888
}
89-
Hero --> "-profession" Profession
9089
Builder ..+ Hero
90+
Hero --> "-profession" Profession
9191
Hero --> "-armor" Armor
92+
Builder --> "-hairColor" HairColor
9293
Builder --> "-weapon" Weapon
9394
Builder --> "-hairType" HairType
94-
Builder --> "-hairColor" HairColor
9595
Hero --> "-hairColor" HairColor
9696
Builder --> "-profession" Profession
97-
Hero --> "-weapon" Weapon
9897
Hero --> "-hairType" HairType
98+
Hero --> "-weapon" Weapon
9999
Builder --> "-armor" Armor
100100
@enduml

business-delegate/etc/business-delegate.urm.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ package com.iluwatar.business.delegate {
4646
+ values() : ServiceType[] {static}
4747
}
4848
}
49-
BusinessDelegate --> "-serviceType" ServiceType
5049
BusinessLookup --> "-ejbService" EjbService
50+
BusinessDelegate --> "-serviceType" ServiceType
5151
Client --> "-businessDelegate" BusinessDelegate
5252
BusinessDelegate --> "-businessService" BusinessService
5353
BusinessDelegate --> "-lookupService" BusinessLookup

chain/etc/chain.urm.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ package com.iluwatar.chain {
5353
}
5454
}
5555
RequestHandler --> "-next" RequestHandler
56-
OrcKing --> "-chain" RequestHandler
5756
Request --> "-requestType" RequestType
57+
OrcKing --> "-chain" RequestHandler
5858
OrcCommander --|> RequestHandler
5959
OrcOfficer --|> RequestHandler
6060
OrcSoldier --|> RequestHandler

dao/etc/dao.urm.puml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ package com.iluwatar.dao {
3434
+ getById(int) : Optional<Customer> {abstract}
3535
+ update(Customer) : boolean {abstract}
3636
}
37-
interface CustomerSchemaSql {
37+
class CustomerSchemaSql {
3838
+ CREATE_SCHEMA_SQL : String {static}
3939
+ DELETE_SCHEMA_SQL : String {static}
40+
- CustomerSchemaSql()
4041
}
4142
class DbCustomerDao {
4243
- dataSource : DataSource

event-driven-architecture/etc/event-driven-architecture.urm.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ package com.iluwatar.eda {
5454
+ main(args : String[]) {static}
5555
}
5656
}
57-
UserCreatedEvent --> "-user" User
5857
UserUpdatedEvent --> "-user" User
58+
UserCreatedEvent --> "-user" User
5959
AbstractEvent ..|> Event
6060
UserCreatedEvent --|> AbstractEvent
6161
UserUpdatedEvent --|> AbstractEvent

flux/etc/flux.urm.puml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ package com.iluwatar.flux.dispatcher {
9999
}
100100
}
101101
MenuAction --> "-menuItem" MenuItem
102-
MenuStore --> "-selected" MenuItem
103102
Action --> "-type" ActionType
104103
Dispatcher --> "-instance" Dispatcher
104+
MenuStore --> "-selected" MenuItem
105105
ContentView --> "-content" Content
106106
Dispatcher --> "-stores" Store
107107
MenuView --> "-selected" MenuItem
108108
Store --> "-views" View
109-
ContentStore --> "-content" Content
110109
ContentAction --> "-content" Content
110+
ContentStore --> "-content" Content
111111
ContentAction --|> Action
112112
MenuAction --|> Action
113113
ContentStore --|> Store

hexagonal/etc/hexagonal.urm.puml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ package com.iluwatar.hexagonal.service {
1111
class ConsoleLottery {
1212
- LOGGER : Logger {static}
1313
+ ConsoleLottery()
14+
- addFundsToLotteryAccount(bank : WireTransfers, scanner : Scanner) {static}
15+
- checkTicket(service : LotteryService, scanner : Scanner) {static}
1416
+ main(args : String[]) {static}
1517
- printMainMenu() {static}
18+
- queryLotteryAccountFunds(bank : WireTransfers, scanner : Scanner) {static}
1619
- readString(scanner : Scanner) : String {static}
20+
- submitTicket(service : LotteryService, scanner : Scanner) {static}
1721
}
1822
}
1923
package com.iluwatar.hexagonal.mongo {
@@ -252,16 +256,16 @@ package com.iluwatar.hexagonal.eventlog {
252256
+ ticketWon(details : PlayerDetails, prizeAmount : int)
253257
}
254258
}
255-
LotteryAdministration --> "-wireTransfers" WireTransfers
256-
LotteryTicket --> "-id" LotteryTicketId
257259
LotteryTicket --> "-playerDetails" PlayerDetails
260+
MongoEventLog --> "-stdOutEventLog" StdOutEventLog
261+
LotteryService --> "-wireTransfers" WireTransfers
262+
LotteryAdministration --> "-notifications" LotteryEventLog
263+
LotteryAdministration --> "-wireTransfers" WireTransfers
258264
LotteryService --> "-notifications" LotteryEventLog
265+
LotteryTicket --> "-id" LotteryTicketId
259266
LotteryAdministration --> "-repository" LotteryTicketRepository
260267
LotteryTicket --> "-lotteryNumbers" LotteryNumbers
261-
MongoEventLog --> "-stdOutEventLog" StdOutEventLog
262-
LotteryService --> "-wireTransfers" WireTransfers
263268
SampleData --> "-PLAYERS" PlayerDetails
264-
LotteryAdministration --> "-notifications" LotteryEventLog
265269
RandomNumberGenerator ..+ LotteryNumbers
266270
LotteryService --> "-repository" LotteryTicketRepository
267271
CheckResult ..+ LotteryTicketCheckResult

hexagonal/etc/ports_and_adapters.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,25 @@
1+
<!--
2+
3+
The MIT License
4+
Copyright (c) 2014 Ilkka Seppälä
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.
23+
24+
-->
125
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36" version="6.0.1.3" editor="www.draw.io" type="device"><diagram name="Page-1">7Zpdk6I4FIZ/jbdbJAHEyx7nY/diqrqqd2tnLiOJSDUSK6ZHe3/9BkmUfFiDDqBM2TcNBwLxOe85nBOYoPl6/4XjzeorI7SYwIDsJ+jjBEKA4kj+qyzvtWUag9qQ8Zyok06Gl/w/qoyBsr7lhG6NEwVjhcg3pjFlZUlTYdgw52xnnrZkhXnXDc6oY3hJceFa/82JWNXWJApO9j9pnq30nUGgjixw+ppx9laq+00gWh7+6sNrrK+lzt+uMGG7hgl9mqA5Z0zUW+v9nBYVW42tHvf5zNHjvDktRZsBqB7wAxdvVM/4MC/xrlnIKW6qzRXd44yVE/RhQ3m+poLyk/X5ZPqwW+WCvmxwWo3aSYFI20qsC7kH5Ka6I+WC7s/OGhxZSI1RJi/N3+UpagBMFD4lL6D3dydnIa2lVcNRMFZGrASSHa99giQ3FCc/MzhKZmgaGcyOKBrMAPQwO2r7V5iFDrM549ThJgfJEKc/B7LMi2LOCsYP46oYg2kq7VvB2SttHCHxIo7ibhCGATARJshBqDNfk2AXoot+Lrpr4RFMk6UXXpwmdLHsCF5s6W/qwkMe+aEO4MW/GzwEPQmvJ3jT0cMDMxNeGA0GLxk7PDQ1H7VDKm82fnh2zoODwdPlz3jphdCUHoyGkx5oUeRdTS+iCQl99BK4QHFHxUoUWfQ89V5v9Fq0FXdOz9ZeMCC9Nk/ckjxVfa7cK1lJTWJ0n4tvje3vcjuotks5k2/Nne/6rJJ8zqsJHQ7Vd6PE6ZEtenJG7I2n1KhQBeYZFU0duJAbECMPRG3jtMAi/2HOwkdW3eGZ5XJ+Z7vECFjOqWevRjWbZOtCCJkXCu2Cvv7NzoUOjj7+7Ha+b1MwXOz7P6IefQwfPr7Qx33WNYNkR5s60nXuANkR9lnXDEIPWc8WNBvu2aJn+8v5JfDkF/V0Ac2nS3e5J/Hkntkj91yWe7S7O/U/OO/9/nzfWC5/+L6d70dfldsrOSEcbiXHs4R9ZeTUGdEXO41E2mX0TD3Rc1+Vue2gq6Mn6S963BX4Z8bF1hGBlLcwPW/GhFJGM4CUCRd5VsrdVDrz8FaoCpY8xcWTOrDOCSnOBWcH8YVmoYHzGDgNWYS+12pdxJe7SP/PVlKQZ1Q0ltVvtVEfXrRSojD3/w4NALvudd9hAN97x7ALQO6ywN90WwUDzqiS903h2CvFiZucZ32xcdvmv6RqMi6zFCtvjuZY4et851lN6g2N221+xAIv8Pb28RQHJhcwG04yOrU1uHxl6au0kLvBYz3dYOTi6S3doPF2irpKNAqe2I96mIIHWJ6Mr20XgF059dcuoD5axWEEoOsRQwDThwAuFECbfvE+Ox5dlxkCSB4CuFAAXbW8vpcRvldRHT4CfAK46WrhKAXQ5quzOxUAdAWAbrpkOEoBuE35E8Eb2Y//XuseVh+CPP1ZR+secvf0dXftkdMn9OjT/w==</diagram></mxfile>

hexagonal/etc/presentation.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
<!--
2+
3+
The MIT License
4+
Copyright (c) 2014 Ilkka Seppälä
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.
23+
24+
-->
125
<!DOCTYPE html>
226
<html>
327
<head>

intercepting-filter/etc/intercepting-filter.urm.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ package com.iluwatar.intercepting.filter {
7777
}
7878
AbstractFilter --> "-next" Filter
7979
DListener --+ Target
80-
FilterManager --> "-filterChain" FilterChain
8180
FilterChain --> "-chain" Filter
81+
FilterManager --> "-filterChain" FilterChain
8282
AbstractFilter ..|> Filter
8383
AddressFilter --|> AbstractFilter
8484
ContactFilter --|> AbstractFilter

0 commit comments

Comments
 (0)