GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — UML generation: Mark the urm-maven-plugin execution to be ignored in … · coding0011/java-design-patterns@6026eed

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • abstract-document/etc
    • abstract-document.urm.puml
  • abstract-factory/etc
    • abstract-factory.urm.puml
  • adapter/etc
    • adapter.urm.puml
  • aggregator-microservices/etc
    • aggregator-service.urm.puml
    • inventory-microservice.urm.puml
  • api-gateway/etc
    • api-gateway-service.urm.puml
  • async-method-invocation/etc
    • async-method-invocation.urm.puml
  • bridge/etc
    • bridge.urm.puml
  • builder/etc
    • builder.urm.puml
  • business-delegate/etc
    • business-delegate.urm.puml
  • caching/etc
    • caching.urm.puml
  • callback/etc
    • callback.urm.puml
  • chain/etc
    • chain.urm.puml
  • command/etc
    • command.urm.puml
  • composite/etc
    • composite.urm.puml
  • dao/etc
    • dao.urm.puml
  • decorator/etc
    • decorator.urm.puml
  • delegation/etc
    • delegation.urm.puml
  • dependency-injection/etc
    • dependency-injection.urm.puml
  • double-dispatch/etc
    • double-dispatch.urm.puml
  • event-aggregator/etc
    • event-aggregator.urm.puml
  • event-driven-architecture/etc
    • event-driven-architecture.urm.puml
  • execute-around/etc
    • execute-around.urm.puml
  • facade/etc
    • facade.urm.puml
  • factory-kit/etc
    • factory-kit.urm.puml
  • factory-method/etc
    • factory-method.urm.puml
  • feature-toggle/etc
    • feature-toggle.urm.puml
  • fluentinterface/etc
    • fluentinterface.urm.puml
  • flux/etc
    • flux.urm.puml
  • flyweight/etc
    • flyweight.urm.puml
  • front-controller/etc
    • front-controller.urm.puml
  • half-sync-half-async/etc
    • half-sync-half-async.urm.puml
  • hexagonal/etc
    • hexagonal.urm.puml
  • intercepting-filter/etc
    • intercepting-filter.urm.puml
  • interpreter/etc
    • interpreter.urm.puml
  • iterator/etc
    • iterator.urm.puml
  • layers/etc
    • layers.urm.puml
  • lazy-loading/etc
    • lazy-loading.urm.puml
  • mediator/etc
    • mediator.urm.puml
  • memento/etc
    • memento.urm.puml
  • model-view-controller/etc
    • model-view-controller.urm.puml
  • model-view-presenter/etc
    • model-view-presenter.urm.puml
  • monostate/etc
    • monostate.urm.puml
  • mute-idiom/etc
    • mute-idiom.urm.puml
  • mutex/etc
    • mutex.urm.puml
  • naked-objects/etc
    • naked-objects-dom.urm.puml
    • naked-objects-fixture.urm.puml
    • naked-objects-integtests.urm.puml
  • null-object/etc
    • null-object.urm.puml
  • object-pool/etc
    • object-pool.urm.puml
  • observer/etc
    • observer.urm.puml
  • poison-pill/etc
    • poison-pill.urm.puml
  • pom.xml
  • private-class-data/etc
    • private-class-data.urm.puml
  • producer-consumer/etc
    • producer-consumer.urm.puml
  • promise/etc
    • promise.urm.puml
  • property/etc
    • property.urm.puml
  • prototype/etc
    • prototype.urm.puml
  • proxy/etc
    • proxy.urm.puml
  • reactor/etc
    • reactor.urm.puml
  • reader-writer-lock/etc
    • reader-writer-lock.urm.puml
  • repository/etc
    • repository.urm.puml
  • resource-acquisition-is-initialization/etc
    • resource-acquisition-is-initialization.urm.puml
  • semaphore/etc
    • semaphore.urm.puml
  • servant/etc
    • servant.urm.puml
  • service-layer/etc
    • service-layer.urm.puml
  • service-locator/etc
    • service-locator.urm.puml
  • singleton/etc
    • singleton.urm.puml
  • specification/etc
    • specification.urm.puml
  • state/etc
    • state.urm.puml
  • step-builder/etc
    • step-builder.urm.puml
  • strategy/etc
    • strategy.urm.puml
  • template-method/etc
    • template-method.urm.puml
  • thread-pool/etc
    • thread-pool.urm.puml
  • tolerant-reader/etc
    • tolerant-reader.urm.puml
  • twin/etc
    • twin.urm.puml
  • value-object/etc
    • value-object.urm.puml
  • visitor/etc
    • visitor.urm.puml

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎abstract-document/etc/abstract-document.urm.puml‎

Copy file name to clipboardExpand all lines: abstract-document/etc/abstract-document.urm.puml
+18-18Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,30 @@ package com.iluwatar.abstractdocument.domain {
33
class Part {
44
+ Part(properties : Map<String, Object>)
55
}
6-
class Car {
7-
+ Car(properties : Map<String, Object>)
8-
}
9-
interface HasModel {
6+
interface HasPrice {
107
+ PROPERTY : String {static}
11-
+ getModel() : Optional<String>
8+
+ getPrice() : Optional<Number>
129
}
1310
interface HasParts {
1411
+ PROPERTY : String {static}
1512
+ getParts() : Stream<Part>
1613
}
14+
class Car {
15+
+ Car(properties : Map<String, Object>)
16+
}
1717
interface HasType {
1818
+ PROPERTY : String {static}
1919
+ getType() : Optional<String>
2020
}
21-
interface HasPrice {
21+
interface HasModel {
2222
+ PROPERTY : String {static}
23-
+ getPrice() : Optional<Number>
23+
+ getModel() : Optional<String>
2424
}
2525
}
2626
package com.iluwatar.abstractdocument {
27-
interface Document {
28-
+ children(String, Function<Map<String, Object>, T>) : Stream<T> {abstract}
29-
+ get(String) : Object {abstract}
30-
+ put(String, Object) {abstract}
27+
class App {
28+
+ App()
29+
+ main(args : String[]) {static}
3130
}
3231
abstract class AbstractDocument {
3332
- properties : Map<String, Object>
@@ -37,23 +36,24 @@ package com.iluwatar.abstractdocument {
3736
+ put(key : String, value : Object)
3837
+ toString() : String
3938
}
40-
class App {
41-
+ App()
42-
+ main(args : String[]) {static}
39+
interface Document {
40+
+ children(String, Function<Map<String, Object>, T>) : Stream<T> {abstract}
41+
+ get(String) : Object {abstract}
42+
+ put(String, Object) {abstract}
4343
}
4444
}
4545
AbstractDocument --+ Map
4646
Part ..|> HasType
4747
Part ..|> HasModel
4848
Part ..|> HasPrice
4949
Part --|> AbstractDocument
50+
AbstractDocument ..|> Document
51+
HasPrice --|> Document
52+
HasParts --|> Document
5053
Car ..|> HasModel
5154
Car ..|> HasPrice
5255
Car ..|> HasParts
5356
Car --|> AbstractDocument
54-
HasModel --|> Document
55-
HasParts --|> Document
56-
AbstractDocument ..|> Document
5757
HasType --|> Document
58-
HasPrice --|> Document
58+
HasModel --|> Document
5959
@enduml
Collapse file

‎abstract-factory/etc/abstract-factory.urm.puml‎

Copy file name to clipboard
+36-36Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
@startuml
22
package com.iluwatar.abstractfactory {
3-
interface Castle {
4-
+ getDescription() : String {abstract}
5-
}
6-
class OrcKingdomFactory {
7-
+ OrcKingdomFactory()
8-
+ createArmy() : Army
9-
+ createCastle() : Castle
10-
+ createKing() : King
11-
}
12-
class ElfKing {
13-
~ DESCRIPTION : String {static}
14-
+ ElfKing()
15-
+ getDescription() : String
16-
}
17-
interface King {
18-
+ getDescription() : String {abstract}
19-
}
203
class App {
214
- army : Army
225
- castle : Castle
@@ -34,55 +17,72 @@ package com.iluwatar.abstractfactory {
3417
- setCastle(castle : Castle)
3518
- setKing(king : King)
3619
}
37-
class OrcKing {
38-
~ DESCRIPTION : String {static}
39-
+ OrcKing()
40-
+ getDescription() : String
41-
}
42-
class ElfKingdomFactory {
43-
+ ElfKingdomFactory()
20+
class OrcKingdomFactory {
21+
+ OrcKingdomFactory()
4422
+ createArmy() : Army
4523
+ createCastle() : Castle
4624
+ createKing() : King
4725
}
48-
interface Army {
49-
+ getDescription() : String {abstract}
26+
class ElfCastle {
27+
~ DESCRIPTION : String {static}
28+
+ ElfCastle()
29+
+ getDescription() : String
5030
}
51-
class OrcArmy {
31+
class OrcCastle {
5232
~ DESCRIPTION : String {static}
53-
+ OrcArmy()
33+
+ OrcCastle()
5434
+ getDescription() : String
5535
}
5636
interface KingdomFactory {
5737
+ createArmy() : Army {abstract}
5838
+ createCastle() : Castle {abstract}
5939
+ createKing() : King {abstract}
6040
}
41+
class ElfKing {
42+
~ DESCRIPTION : String {static}
43+
+ ElfKing()
44+
+ getDescription() : String
45+
}
6146
class ElfArmy {
6247
~ DESCRIPTION : String {static}
6348
+ ElfArmy()
6449
+ getDescription() : String
6550
}
66-
class ElfCastle {
51+
interface Castle {
52+
+ getDescription() : String {abstract}
53+
}
54+
interface Army {
55+
+ getDescription() : String {abstract}
56+
}
57+
class OrcKing {
6758
~ DESCRIPTION : String {static}
68-
+ ElfCastle()
59+
+ OrcKing()
6960
+ getDescription() : String
7061
}
71-
class OrcCastle {
62+
class OrcArmy {
7263
~ DESCRIPTION : String {static}
73-
+ OrcCastle()
64+
+ OrcArmy()
7465
+ getDescription() : String
7566
}
67+
interface King {
68+
+ getDescription() : String {abstract}
69+
}
70+
class ElfKingdomFactory {
71+
+ ElfKingdomFactory()
72+
+ createArmy() : Army
73+
+ createCastle() : Castle
74+
+ createKing() : King
75+
}
7676
}
7777
App --> "-castle" Castle
7878
App --> "-king" King
7979
App --> "-army" Army
8080
OrcKingdomFactory ..|> KingdomFactory
81+
ElfCastle ..|> Castle
82+
OrcCastle ..|> Castle
8183
ElfKing ..|> King
84+
ElfArmy ..|> Army
8285
OrcKing ..|> King
83-
ElfKingdomFactory ..|> KingdomFactory
8486
OrcArmy ..|> Army
85-
ElfArmy ..|> Army
86-
ElfCastle ..|> Castle
87-
OrcCastle ..|> Castle
87+
ElfKingdomFactory ..|> KingdomFactory
8888
@enduml
Collapse file

‎adapter/etc/adapter.urm.puml‎

Copy file name to clipboard
+11-11Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
@startuml
22
package com.iluwatar.adapter {
3-
class App {
4-
+ App()
5-
+ main(args : String[]) {static}
6-
}
73
interface BattleShip {
84
+ fire() {abstract}
95
+ move() {abstract}
106
}
7+
class BattleFishingBoat {
8+
- boat : FishingBoat
9+
+ BattleFishingBoat()
10+
+ fire()
11+
+ move()
12+
}
13+
class App {
14+
+ App()
15+
+ main(args : String[]) {static}
16+
}
1117
class Captain {
1218
- battleship : BattleShip
1319
+ Captain()
@@ -16,12 +22,6 @@ package com.iluwatar.adapter {
1622
+ move()
1723
+ setBattleship(battleship : BattleShip)
1824
}
19-
class BattleFishingBoat {
20-
- boat : FishingBoat
21-
+ BattleFishingBoat()
22-
+ fire()
23-
+ move()
24-
}
2525
class FishingBoat {
2626
+ FishingBoat()
2727
+ fish()
@@ -30,6 +30,6 @@ package com.iluwatar.adapter {
3030
}
3131
BattleFishingBoat --> "-boat" FishingBoat
3232
Captain --> "-battleship" BattleShip
33-
Captain ..|> BattleShip
3433
BattleFishingBoat ..|> BattleShip
34+
Captain ..|> BattleShip
3535
@enduml
Collapse file

‎aggregator-microservices/etc/aggregator-service.urm.puml‎

Copy file name to clipboard
+19-19Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
@startuml
22
package com.iluwatar.aggregator.microservices {
3-
class Aggregator {
4-
- informationClient : ProductInformationClient
5-
- inventoryClient : ProductInventoryClient
6-
+ Aggregator()
7-
+ getProduct() : Product
3+
class ProductInventoryClientImpl {
4+
+ ProductInventoryClientImpl()
5+
+ getProductInventories() : int
86
}
9-
class ProductInformationClientImpl {
10-
+ ProductInformationClientImpl()
11-
+ getProductTitle() : String
7+
class App {
8+
+ App()
9+
+ main(args : String[]) {static}
1210
}
13-
interface ProductInformationClient {
14-
+ getProductTitle() : String {abstract}
11+
interface ProductInventoryClient {
12+
+ getProductInventories() : int {abstract}
1513
}
1614
class Product {
1715
- productInventories : int
@@ -22,20 +20,22 @@ package com.iluwatar.aggregator.microservices {
2220
+ setProductInventories(productInventories : int)
2321
+ setTitle(title : String)
2422
}
25-
class ProductInventoryClientImpl {
26-
+ ProductInventoryClientImpl()
27-
+ getProductInventories() : int
23+
class Aggregator {
24+
- informationClient : ProductInformationClient
25+
- inventoryClient : ProductInventoryClient
26+
+ Aggregator()
27+
+ getProduct() : Product
2828
}
29-
class App {
30-
+ App()
31-
+ main(args : String[]) {static}
29+
class ProductInformationClientImpl {
30+
+ ProductInformationClientImpl()
31+
+ getProductTitle() : String
3232
}
33-
interface ProductInventoryClient {
34-
+ getProductInventories() : int {abstract}
33+
interface ProductInformationClient {
34+
+ getProductTitle() : String {abstract}
3535
}
3636
}
3737
Aggregator --> "-inventoryClient" ProductInventoryClient
3838
Aggregator --> "-informationClient" ProductInformationClient
39-
ProductInformationClientImpl ..|> ProductInformationClient
4039
ProductInventoryClientImpl ..|> ProductInventoryClient
40+
ProductInformationClientImpl ..|> ProductInformationClient
4141
@enduml
Collapse file

‎aggregator-microservices/etc/inventory-microservice.urm.puml‎

Copy file name to clipboard
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
@startuml
22
package com.iluwatar.inventory.microservice {
3-
class InventoryApplication {
4-
+ InventoryApplication()
5-
+ main(args : String[]) {static}
6-
}
73
class InventoryController {
84
+ InventoryController()
95
+ getProductInventories() : int
106
}
7+
class InventoryApplication {
8+
+ InventoryApplication()
9+
+ main(args : String[]) {static}
10+
}
1111
}
1212
@enduml
Collapse file

‎api-gateway/etc/api-gateway-service.urm.puml‎

Copy file name to clipboardExpand all lines: api-gateway/etc/api-gateway-service.urm.puml
+14-14Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
@startuml
22
package com.iluwatar.api.gateway {
3-
interface ImageClient {
4-
+ getImagePath() : String {abstract}
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
514
}
615
class MobileProduct {
716
- price : String
817
+ MobileProduct()
918
+ getPrice() : String
1019
+ setPrice(price : String)
1120
}
21+
interface ImageClient {
22+
+ getImagePath() : String {abstract}
23+
}
1224
class ApiGateway {
1325
- imageClient : ImageClient
1426
- priceClient : PriceClient
@@ -28,18 +40,6 @@ package com.iluwatar.api.gateway {
2840
interface PriceClient {
2941
+ getPrice() : String {abstract}
3042
}
31-
class PriceClientImpl {
32-
+ PriceClientImpl()
33-
+ getPrice() : String
34-
}
35-
class ImageClientImpl {
36-
+ ImageClientImpl()
37-
+ getImagePath() : String
38-
}
39-
class App {
40-
+ App()
41-
+ main(args : String[]) {static}
42-
}
4343
}
4444
ApiGateway --> "-imageClient" ImageClient
4545
ApiGateway --> "-priceClient" PriceClient

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.