Skip to content

Commit 7d99505

Browse files
author
NooBxGockeL
committed
Update URM Version to 1.4.4 and regenerated all puml files
1 parent 8574e06 commit 7d99505

File tree

85 files changed

+1749
-1606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1749
-1606
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
11
@startuml
22
package com.iluwatar.abstractdocument.domain {
3-
class Part {
4-
+ Part(properties : Map<String, Object>)
3+
class Car {
4+
+ Car(properties : Map<String, Object>)
55
}
6-
interface HasPrice {
6+
interface HasModel {
77
+ PROPERTY : String {static}
8-
+ getPrice() : Optional<Number>
8+
+ getModel() : Optional<String>
99
}
1010
interface HasParts {
1111
+ PROPERTY : String {static}
1212
+ getParts() : Stream<Part>
1313
}
14-
class Car {
15-
+ Car(properties : Map<String, Object>)
14+
interface HasPrice {
15+
+ PROPERTY : String {static}
16+
+ getPrice() : Optional<Number>
1617
}
1718
interface HasType {
1819
+ PROPERTY : String {static}
1920
+ getType() : Optional<String>
2021
}
21-
interface HasModel {
22-
+ PROPERTY : String {static}
23-
+ getModel() : Optional<String>
22+
class Part {
23+
+ Part(properties : Map<String, Object>)
2424
}
2525
}
2626
package com.iluwatar.abstractdocument {
27-
class App {
28-
+ App()
29-
+ main(args : String[]) {static}
30-
}
3127
abstract class AbstractDocument {
3228
- properties : Map<String, Object>
3329
# AbstractDocument(properties : Map<String, Object>)
@@ -36,24 +32,28 @@ package com.iluwatar.abstractdocument {
3632
+ put(key : String, value : Object)
3733
+ toString() : String
3834
}
35+
class App {
36+
- LOGGER : Logger {static}
37+
+ App()
38+
+ main(args : String[]) {static}
39+
}
3940
interface Document {
4041
+ children(String, Function<Map<String, Object>, T>) : Stream<T> {abstract}
4142
+ get(String) : Object {abstract}
4243
+ put(String, Object) {abstract}
4344
}
4445
}
45-
AbstractDocument --+ Map
46-
Part ..|> HasType
47-
Part ..|> HasModel
48-
Part ..|> HasPrice
49-
Part --|> AbstractDocument
5046
AbstractDocument ..|> Document
51-
HasPrice --|> Document
52-
HasParts --|> Document
5347
Car ..|> HasModel
5448
Car ..|> HasPrice
5549
Car ..|> HasParts
5650
Car --|> AbstractDocument
57-
HasType --|> Document
5851
HasModel --|> Document
52+
HasParts --|> Document
53+
HasPrice --|> Document
54+
HasType --|> Document
55+
Part ..|> HasType
56+
Part ..|> HasModel
57+
Part ..|> HasPrice
58+
Part --|> AbstractDocument
5959
@enduml
+33-32
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@startuml
22
package com.iluwatar.abstractfactory {
33
class App {
4+
- LOGGER : Logger {static}
45
- army : Army
56
- castle : Castle
67
- king : King
@@ -17,58 +18,58 @@ package com.iluwatar.abstractfactory {
1718
- setCastle(castle : Castle)
1819
- setKing(king : King)
1920
}
20-
class OrcKingdomFactory {
21-
+ OrcKingdomFactory()
22-
+ createArmy() : Army
23-
+ createCastle() : Castle
24-
+ createKing() : King
21+
interface Army {
22+
+ getDescription() : String {abstract}
23+
}
24+
interface Castle {
25+
+ getDescription() : String {abstract}
26+
}
27+
class ElfArmy {
28+
~ DESCRIPTION : String {static}
29+
+ ElfArmy()
30+
+ getDescription() : String
2531
}
2632
class ElfCastle {
2733
~ DESCRIPTION : String {static}
2834
+ ElfCastle()
2935
+ getDescription() : String
3036
}
31-
class OrcCastle {
37+
class ElfKing {
3238
~ DESCRIPTION : String {static}
33-
+ OrcCastle()
39+
+ ElfKing()
3440
+ getDescription() : String
3541
}
42+
class ElfKingdomFactory {
43+
+ ElfKingdomFactory()
44+
+ createArmy() : Army
45+
+ createCastle() : Castle
46+
+ createKing() : King
47+
}
48+
interface King {
49+
+ getDescription() : String {abstract}
50+
}
3651
interface KingdomFactory {
3752
+ createArmy() : Army {abstract}
3853
+ createCastle() : Castle {abstract}
3954
+ createKing() : King {abstract}
4055
}
41-
class ElfKing {
56+
class OrcArmy {
4257
~ DESCRIPTION : String {static}
43-
+ ElfKing()
58+
+ OrcArmy()
4459
+ getDescription() : String
4560
}
46-
class ElfArmy {
61+
class OrcCastle {
4762
~ DESCRIPTION : String {static}
48-
+ ElfArmy()
63+
+ OrcCastle()
4964
+ getDescription() : String
5065
}
51-
interface Castle {
52-
+ getDescription() : String {abstract}
53-
}
54-
interface Army {
55-
+ getDescription() : String {abstract}
56-
}
5766
class OrcKing {
5867
~ DESCRIPTION : String {static}
5968
+ OrcKing()
6069
+ getDescription() : String
6170
}
62-
class OrcArmy {
63-
~ DESCRIPTION : String {static}
64-
+ OrcArmy()
65-
+ getDescription() : String
66-
}
67-
interface King {
68-
+ getDescription() : String {abstract}
69-
}
70-
class ElfKingdomFactory {
71-
+ ElfKingdomFactory()
71+
class OrcKingdomFactory {
72+
+ OrcKingdomFactory()
7273
+ createArmy() : Army
7374
+ createCastle() : Castle
7475
+ createKing() : King
@@ -77,12 +78,12 @@ package com.iluwatar.abstractfactory {
7778
App --> "-castle" Castle
7879
App --> "-king" King
7980
App --> "-army" Army
80-
OrcKingdomFactory ..|> KingdomFactory
81+
ElfArmy ..|> Army
8182
ElfCastle ..|> Castle
82-
OrcCastle ..|> Castle
8383
ElfKing ..|> King
84-
ElfArmy ..|> Army
85-
OrcKing ..|> King
86-
OrcArmy ..|> Army
8784
ElfKingdomFactory ..|> KingdomFactory
85+
OrcArmy ..|> Army
86+
OrcCastle ..|> Castle
87+
OrcKing ..|> King
88+
OrcKingdomFactory ..|> KingdomFactory
8889
@enduml

adapter/etc/adapter.urm.puml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
@startuml
22
package com.iluwatar.adapter {
3-
interface BattleShip {
4-
+ fire() {abstract}
5-
+ move() {abstract}
3+
class App {
4+
+ App()
5+
+ main(args : String[]) {static}
66
}
77
class BattleFishingBoat {
8+
- LOGGER : Logger {static}
89
- boat : FishingBoat
910
+ BattleFishingBoat()
1011
+ fire()
1112
+ move()
1213
}
13-
class App {
14-
+ App()
15-
+ main(args : String[]) {static}
14+
interface BattleShip {
15+
+ fire() {abstract}
16+
+ move() {abstract}
1617
}
1718
class Captain {
1819
- battleship : BattleShip
@@ -23,6 +24,7 @@ package com.iluwatar.adapter {
2324
+ setBattleship(battleship : BattleShip)
2425
}
2526
class FishingBoat {
27+
- LOGGER : Logger {static}
2628
+ FishingBoat()
2729
+ fish()
2830
+ sail()
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
@startuml
22
package com.iluwatar.aggregator.microservices {
3-
class ProductInventoryClientImpl {
4-
+ ProductInventoryClientImpl()
5-
+ getProductInventories() : int
3+
class Aggregator {
4+
- informationClient : ProductInformationClient
5+
- inventoryClient : ProductInventoryClient
6+
+ Aggregator()
7+
+ getProduct() : Product
68
}
79
class App {
810
+ App()
911
+ main(args : String[]) {static}
1012
}
11-
interface ProductInventoryClient {
12-
+ getProductInventories() : int {abstract}
13-
}
1413
class Product {
1514
- productInventories : int
1615
- title : String
@@ -20,22 +19,25 @@ package com.iluwatar.aggregator.microservices {
2019
+ setProductInventories(productInventories : int)
2120
+ setTitle(title : String)
2221
}
23-
class Aggregator {
24-
- informationClient : ProductInformationClient
25-
- inventoryClient : ProductInventoryClient
26-
+ Aggregator()
27-
+ getProduct() : Product
22+
interface ProductInformationClient {
23+
+ getProductTitle() : String {abstract}
2824
}
2925
class ProductInformationClientImpl {
26+
- LOGGER : Logger {static}
3027
+ ProductInformationClientImpl()
3128
+ getProductTitle() : String
3229
}
33-
interface ProductInformationClient {
34-
+ getProductTitle() : String {abstract}
30+
interface ProductInventoryClient {
31+
+ getProductInventories() : int {abstract}
32+
}
33+
class ProductInventoryClientImpl {
34+
- LOGGER : Logger {static}
35+
+ ProductInventoryClientImpl()
36+
+ getProductInventories() : int
3537
}
3638
}
37-
Aggregator --> "-inventoryClient" ProductInventoryClient
3839
Aggregator --> "-informationClient" ProductInformationClient
39-
ProductInventoryClientImpl ..|> ProductInventoryClient
40+
Aggregator --> "-inventoryClient" ProductInventoryClient
4041
ProductInformationClientImpl ..|> ProductInformationClient
42+
ProductInventoryClientImpl ..|> ProductInventoryClient
4143
@enduml
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
@startuml
22
package com.iluwatar.inventory.microservice {
3-
class InventoryController {
4-
+ InventoryController()
5-
+ getProductInventories() : int
6-
}
73
class InventoryApplication {
84
+ InventoryApplication()
95
+ main(args : String[]) {static}
106
}
7+
class InventoryController {
8+
+ InventoryController()
9+
+ getProductInventories() : int
10+
}
1111
}
1212
@enduml
+22-22
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,16 @@
11
@startuml
22
package com.iluwatar.api.gateway {
3-
class App {
4-
+ App()
5-
+ main(args : String[]) {static}
6-
}
7-
class PriceClientImpl {
8-
+ PriceClientImpl()
9-
+ getPrice() : String
10-
}
11-
class ImageClientImpl {
12-
+ ImageClientImpl()
13-
+ getImagePath() : String
14-
}
15-
class MobileProduct {
16-
- price : String
17-
+ MobileProduct()
18-
+ getPrice() : String
19-
+ setPrice(price : String)
20-
}
21-
interface ImageClient {
22-
+ getImagePath() : String {abstract}
23-
}
243
class ApiGateway {
254
- imageClient : ImageClient
265
- priceClient : PriceClient
276
+ ApiGateway()
287
+ getProductDesktop() : DesktopProduct
298
+ getProductMobile() : MobileProduct
309
}
10+
class App {
11+
+ App()
12+
+ main(args : String[]) {static}
13+
}
3114
class DesktopProduct {
3215
- imagePath : String
3316
- price : String
@@ -37,12 +20,29 @@ package com.iluwatar.api.gateway {
3720
+ setImagePath(imagePath : String)
3821
+ setPrice(price : String)
3922
}
23+
interface ImageClient {
24+
+ getImagePath() : String {abstract}
25+
}
26+
class ImageClientImpl {
27+
+ ImageClientImpl()
28+
+ getImagePath() : String
29+
}
30+
class MobileProduct {
31+
- price : String
32+
+ MobileProduct()
33+
+ getPrice() : String
34+
+ setPrice(price : String)
35+
}
4036
interface PriceClient {
4137
+ getPrice() : String {abstract}
4238
}
39+
class PriceClientImpl {
40+
+ PriceClientImpl()
41+
+ getPrice() : String
42+
}
4343
}
4444
ApiGateway --> "-imageClient" ImageClient
4545
ApiGateway --> "-priceClient" PriceClient
46-
PriceClientImpl ..|> PriceClient
4746
ImageClientImpl ..|> ImageClient
47+
PriceClientImpl ..|> PriceClient
4848
@enduml

0 commit comments

Comments
 (0)