Skip to content

Commit e8496c5

Browse files
authored
Merge pull request iluwatar#688 from ThatGuyWithTheHat/master
Event-Asynchronous Class Diagram Corrected.
2 parents 0824529 + 3defc1b commit e8496c5

File tree

2 files changed

+55
-69
lines changed

2 files changed

+55
-69
lines changed
12.3 KB
Loading

event-asynchronous/etc/event-asynchronous.ucls

Lines changed: 55 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,99 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<class-diagram version="1.1.10" icons="true" automaticImage="PNG" always-add-relationships="false"
3-
generalizations="true" realizations="true" associations="true" dependencies="false" nesting-relationships="true"
4-
router="FAN">
5-
<class id="1" language="java" name="com.iluwatar.event.asynchronous.App" project="event-asynchronous"
6-
file="/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/App.java" binary="false"
7-
corner="BOTTOM_RIGHT">
8-
<position height="-1" width="-1" x="629" y="221"/>
2+
<class-diagram version="1.2.2" icons="true" automaticImage="PNG" always-add-relationships="false" generalizations="true"
3+
realizations="true" 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"/>
98
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
109
sort-features="false" accessors="true" visibility="true">
11-
<attributes public="false" package="false" protected="false" private="false" static="true"/>
10+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
1211
<operations public="true" package="true" protected="true" private="true" static="true"/>
1312
</display>
14-
</class>
15-
<class id="2" language="java" name="com.iluwatar.event.asynchronous.Event" project="event-asynchronous"
16-
file="/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/Event.java" binary="false"
17-
corner="BOTTOM_RIGHT">
18-
<position height="-1" width="-1" x="195" y="475"/>
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"/>
1919
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
2020
sort-features="false" accessors="true" visibility="true">
21-
<attributes public="false" package="false" protected="false" private="false" static="true"/>
21+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
2222
<operations public="true" package="true" protected="true" private="true" static="true"/>
2323
</display>
24-
</class>
25-
<class id="3" language="java" name="com.iluwatar.event.asynchronous.EventManager" project="event-asynchronous"
26-
file="/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/EventManager.java" binary="false"
27-
corner="BOTTOM_RIGHT">
28-
<position height="-1" width="-1" x="575" y="475"/>
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"/>
2929
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
3030
sort-features="false" accessors="true" visibility="true">
31-
<attributes public="false" package="false" protected="false" private="false" static="true"/>
31+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
3232
<operations public="true" package="true" protected="true" private="true" static="true"/>
3333
</display>
3434
</class>
35-
<interface id="4" language="java" name="com.iluwatar.event.asynchronous.IEvent" project="event-asynchronous"
36-
file="/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/IEvent.java" binary="false"
37-
corner="BOTTOM_RIGHT">
38-
<position height="-1" width="-1" x="196" y="197"/>
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"/>
3940
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
4041
sort-features="false" accessors="true" visibility="true">
4142
<attributes public="true" package="true" protected="true" private="true" static="true"/>
4243
<operations public="true" package="true" protected="true" private="true" static="true"/>
4344
</display>
44-
</interface>
45-
<interface id="5" language="java" name="com.iluwatar.event.asynchronous.ThreadCompleteListener"
46-
project="event-asynchronous"
47-
file="/event-asynchronous/src/main/java/com/iluwatar/event/asynchronous/ThreadCompleteListener.java" binary="false"
48-
corner="BOTTOM_RIGHT">
49-
<position height="-1" width="-1" x="396" y="229"/>
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"/>
5050
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
5151
sort-features="false" accessors="true" visibility="true">
5252
<attributes public="true" package="true" protected="true" private="true" static="true"/>
5353
<operations public="true" package="true" protected="true" private="true" static="true"/>
5454
</display>
55-
</interface>
56-
<class id="6" language="java" name="com.iluwatar.event.asynchronous.EventAsynchronousTest"
57-
project="event-asynchronous"
58-
file="/event-asynchronous/src/test/java/com/iluwatar/event/asynchronous/EventAsynchronousTest.java" binary="false"
59-
corner="BOTTOM_RIGHT">
60-
<position height="-1" width="-1" x="924" y="220"/>
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"/>
6160
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
6261
sort-features="false" accessors="true" visibility="true">
6362
<attributes public="true" package="true" protected="true" private="true" static="true"/>
6463
<operations public="true" package="true" protected="true" private="true" static="true"/>
6564
</display>
6665
</class>
6766
<association id="7">
68-
<end type="SOURCE" refId="6" navigable="false">
69-
<attribute id="8" name="app">
70-
<position height="0" width="0" x="0" y="0"/>
71-
</attribute>
72-
<multiplicity id="9" minimum="0" maximum="1">
73-
<position height="16" width="23" x="714" y="226"/>
74-
</multiplicity>
67+
<end type="SOURCE" refId="5" navigable="false">
68+
<attribute id="8" name="eventListener"/>
69+
<multiplicity id="9" minimum="0" maximum="1"/>
7570
</end>
76-
<end type="TARGET" refId="1" navigable="true"/>
71+
<end type="TARGET" refId="2" navigable="true"/>
7772
<display labels="true" multiplicity="true"/>
7873
</association>
79-
<association id="10">
80-
<end type="SOURCE" refId="2" navigable="false">
81-
<attribute id="11" name="eventListener">
82-
<position height="18" width="74" x="250" y="287"/>
83-
</attribute>
84-
<multiplicity id="12" minimum="0" maximum="1">
85-
<position height="0" width="0" x="0" y="0"/>
86-
</multiplicity>
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"/>
8782
</end>
88-
<end type="TARGET" refId="5" navigable="true"/>
83+
<end type="TARGET" refId="3" navigable="true"/>
8984
<display labels="true" multiplicity="true"/>
9085
</association>
91-
<association id="13">
92-
<bendpoint x="433" y="475"/>
93-
<end type="SOURCE" refId="3" navigable="false">
94-
<attribute id="14" name="eventPool">
95-
<position height="0" width="0" x="0" y="0"/>
96-
</attribute>
97-
<multiplicity id="15" minimum="0" maximum="2147483647">
98-
<position height="0" width="0" x="0" y="0"/>
99-
</multiplicity>
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"/>
10090
</end>
101-
<end type="TARGET" refId="2" navigable="true"/>
91+
<end type="TARGET" refId="5" navigable="true"/>
10292
<display labels="true" multiplicity="true"/>
10393
</association>
104-
<realization id="16">
105-
<end type="SOURCE" refId="2"/>
106-
<end type="TARGET" refId="4"/>
107-
</realization>
10894
<realization id="17">
109-
<end type="SOURCE" refId="3"/>
110-
<end type="TARGET" refId="5"/>
95+
<end type="SOURCE" refId="6"/>
96+
<end type="TARGET" refId="2"/>
11197
</realization>
11298
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
11399
sort-features="false" accessors="true" visibility="true">

0 commit comments

Comments
 (0)