Skip to content

Commit 37c9b92

Browse files
Corrected Event Asynchonous Class Diagram
Lots of issues but I think this finally has it sorted out!
1 parent 235fe6a commit 37c9b92

File tree

2 files changed

+104
-0
lines changed

2 files changed

+104
-0
lines changed
21.2 KB
Loading
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.2.2" icons="true" always-add-relationships="false" generalizations="true" realizations="true"
3+
associations="true" dependencies="false" nesting-relationships="true" router="FAN">
4+
<interface id="1" language="java" name="com.iluwatar.event.asynchronous.IEvent" project="java-design-patterns"
5+
file="/java-design-patterns/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/IEvent.java"
6+
binary="false" corner="BOTTOM_RIGHT">
7+
<position height="117" width="151" x="42" y="15"/>
8+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
9+
sort-features="false" accessors="true" visibility="true">
10+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
11+
<operations public="true" package="true" protected="true" private="true" static="true"/>
12+
</display>
13+
</interface>
14+
<interface id="2" language="java" name="com.iluwatar.event.asynchronous.ThreadCompleteListener"
15+
project="java-design-patterns"
16+
file="/java-design-patterns/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/ThreadCompleteListener.java"
17+
binary="false" corner="BOTTOM_RIGHT">
18+
<position height="-1" width="-1" x="326" y="79"/>
19+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
20+
sort-features="false" accessors="true" visibility="true">
21+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
22+
<operations public="true" package="true" protected="true" private="true" static="true"/>
23+
</display>
24+
</interface>
25+
<class id="3" language="java" name="com.iluwatar.event.asynchronous.App" project="java-design-patterns"
26+
file="/java-design-patterns/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/App.java"
27+
binary="false" corner="BOTTOM_RIGHT">
28+
<position height="-1" width="-1" x="554" y="119"/>
29+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
30+
sort-features="false" accessors="true" visibility="true">
31+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
32+
<operations public="true" package="true" protected="true" private="true" static="true"/>
33+
</display>
34+
</class>
35+
<class id="4" language="java" name="com.iluwatar.event.asynchronous.EventAsynchronousTest"
36+
project="java-design-patterns"
37+
file="/java-design-patterns/event-asynchronous/src/test/java/com/iluwatar/event/asynchronous/EventAsynchronousTest.java"
38+
binary="false" corner="BOTTOM_RIGHT">
39+
<position height="207" width="234" x="669" y="16"/>
40+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
41+
sort-features="false" accessors="true" visibility="true">
42+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
43+
<operations public="true" package="true" protected="true" private="true" static="true"/>
44+
</display>
45+
</class>
46+
<class id="5" language="java" name="com.iluwatar.event.asynchronous.Event" project="java-design-patterns"
47+
file="/java-design-patterns/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/Event.java"
48+
binary="false" corner="BOTTOM_RIGHT">
49+
<position height="-1" width="-1" x="141" y="441"/>
50+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
51+
sort-features="false" accessors="true" visibility="true">
52+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
53+
<operations public="true" package="true" protected="true" private="true" static="true"/>
54+
</display>
55+
</class>
56+
<class id="6" language="java" name="com.iluwatar.event.asynchronous.EventManager" project="java-design-patterns"
57+
file="/java-design-patterns/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/EventManager.java"
58+
binary="false" corner="BOTTOM_RIGHT">
59+
<position height="-1" width="-1" x="431" y="439"/>
60+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
61+
sort-features="false" accessors="true" visibility="true">
62+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
63+
<operations public="true" package="true" protected="true" private="true" static="true"/>
64+
</display>
65+
</class>
66+
<association id="7">
67+
<end type="SOURCE" refId="5" navigable="false">
68+
<attribute id="8" name="eventListener"/>
69+
<multiplicity id="9" minimum="0" maximum="1"/>
70+
</end>
71+
<end type="TARGET" refId="2" navigable="true"/>
72+
<display labels="true" multiplicity="true"/>
73+
</association>
74+
<realization id="10">
75+
<end type="SOURCE" refId="5"/>
76+
<end type="TARGET" refId="1"/>
77+
</realization>
78+
<association id="11">
79+
<end type="SOURCE" refId="4" navigable="false">
80+
<attribute id="12" name="app"/>
81+
<multiplicity id="13" minimum="0" maximum="1"/>
82+
</end>
83+
<end type="TARGET" refId="3" navigable="true"/>
84+
<display labels="true" multiplicity="true"/>
85+
</association>
86+
<association id="14">
87+
<end type="SOURCE" refId="6" navigable="false">
88+
<attribute id="15" name="eventPool"/>
89+
<multiplicity id="16" minimum="0" maximum="2147483647"/>
90+
</end>
91+
<end type="TARGET" refId="5" navigable="true"/>
92+
<display labels="true" multiplicity="true"/>
93+
</association>
94+
<realization id="17">
95+
<end type="SOURCE" refId="6"/>
96+
<end type="TARGET" refId="2"/>
97+
</realization>
98+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
99+
sort-features="false" accessors="true" visibility="true">
100+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
101+
<operations public="true" package="true" protected="true" private="true" static="true"/>
102+
</classifier-display>
103+
<association-display labels="true" multiplicity="true"/>
104+
</class-diagram>

0 commit comments

Comments
 (0)