Skip to content

Commit 9e1f6d1

Browse files
committed
Added class diagram.
1 parent 8062092 commit 9e1f6d1

File tree

2 files changed

+250
-0
lines changed

2 files changed

+250
-0
lines changed
87.9 KB
Loading
Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.1.8" icons="true" automaticImage="PNG" always-add-relationships="false" generalizations="true"
3+
realizations="true" associations="true" dependencies="false" nesting-relationships="true">
4+
<class id="1" language="java" name="com.iluwatar.common.BaseEntity" project="service-layer"
5+
file="/service-layer/src/main/java/com/iluwatar/common/BaseEntity.java" binary="false" corner="BOTTOM_RIGHT">
6+
<position height="106" width="131" x="327" y="-200"/>
7+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
8+
sort-features="false" accessors="true" visibility="true">
9+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
10+
<operations public="true" package="true" protected="true" private="true" static="true"/>
11+
</display>
12+
</class>
13+
<class id="2" language="java" name="com.iluwatar.spell.SpellDaoImpl" project="service-layer"
14+
file="/service-layer/src/main/java/com/iluwatar/spell/SpellDaoImpl.java" binary="false" corner="BOTTOM_RIGHT">
15+
<position height="106" width="171" x="553" y="53"/>
16+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
17+
sort-features="false" accessors="true" visibility="true">
18+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
19+
<operations public="true" package="true" protected="true" private="true" static="true"/>
20+
</display>
21+
</class>
22+
<class id="3" language="java" name="com.iluwatar.magic.MagicServiceImpl" project="service-layer"
23+
file="/service-layer/src/main/java/com/iluwatar/magic/MagicServiceImpl.java" binary="false" corner="BOTTOM_RIGHT">
24+
<position height="178" width="339" x="1174" y="53"/>
25+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
26+
sort-features="false" accessors="true" visibility="true">
27+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
28+
<operations public="true" package="true" protected="true" private="true" static="true"/>
29+
</display>
30+
</class>
31+
<class id="4" language="java" name="com.iluwatar.spellbook.SpellbookDaoImpl" project="service-layer"
32+
file="/service-layer/src/main/java/com/iluwatar/spellbook/SpellbookDaoImpl.java" binary="false"
33+
corner="BOTTOM_RIGHT">
34+
<position height="106" width="199" x="764" y="53"/>
35+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
36+
sort-features="false" accessors="true" visibility="true">
37+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
38+
<operations public="true" package="true" protected="true" private="true" static="true"/>
39+
</display>
40+
</class>
41+
<class id="5" language="java" name="com.iluwatar.spellbook.Spellbook" project="service-layer"
42+
file="/service-layer/src/main/java/com/iluwatar/spellbook/Spellbook.java" binary="false" corner="BOTTOM_RIGHT">
43+
<position height="322" width="203" x="257" y="379"/>
44+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
45+
sort-features="false" accessors="true" visibility="true">
46+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
47+
<operations public="true" package="true" protected="true" private="true" static="true"/>
48+
</display>
49+
</class>
50+
<interface id="6" language="java" name="com.iluwatar.spellbook.SpellbookDao" project="service-layer"
51+
file="/service-layer/src/main/java/com/iluwatar/spellbook/SpellbookDao.java" binary="false" corner="BOTTOM_RIGHT">
52+
<position height="88" width="199" x="935" y="379"/>
53+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
54+
sort-features="false" accessors="true" visibility="true">
55+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
56+
<operations public="true" package="true" protected="true" private="true" static="true"/>
57+
</display>
58+
</interface>
59+
<class id="7" language="java" name="com.iluwatar.common.DaoBaseImpl" project="service-layer"
60+
file="/service-layer/src/main/java/com/iluwatar/common/DaoBaseImpl.java" binary="false" corner="BOTTOM_RIGHT">
61+
<position height="213" width="182" x="968" y="-200"/>
62+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
63+
sort-features="false" accessors="true" visibility="true">
64+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
65+
<operations public="true" package="true" protected="true" private="true" static="true"/>
66+
</display>
67+
</class>
68+
<interface id="8" language="java" name="com.iluwatar.wizard.WizardDao" project="service-layer"
69+
file="/service-layer/src/main/java/com/iluwatar/wizard/WizardDao.java" binary="false" corner="BOTTOM_RIGHT">
70+
<position height="88" width="183" x="1516" y="379"/>
71+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
72+
sort-features="false" accessors="true" visibility="true">
73+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
74+
<operations public="true" package="true" protected="true" private="true" static="true"/>
75+
</display>
76+
</interface>
77+
<interface id="9" language="java" name="com.iluwatar.spell.SpellDao" project="service-layer"
78+
file="/service-layer/src/main/java/com/iluwatar/spell/SpellDao.java" binary="false" corner="BOTTOM_RIGHT">
79+
<position height="88" width="171" x="724" y="379"/>
80+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
81+
sort-features="false" accessors="true" visibility="true">
82+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
83+
<operations public="true" package="true" protected="true" private="true" static="true"/>
84+
</display>
85+
</interface>
86+
<class id="10" language="java" name="com.iluwatar.wizard.WizardDaoImpl" project="service-layer"
87+
file="/service-layer/src/main/java/com/iluwatar/wizard/WizardDaoImpl.java" binary="false" corner="BOTTOM_RIGHT">
88+
<position height="106" width="183" x="1553" y="53"/>
89+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
90+
sort-features="false" accessors="true" visibility="true">
91+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
92+
<operations public="true" package="true" protected="true" private="true" static="true"/>
93+
</display>
94+
</class>
95+
<interface id="11" language="java" name="com.iluwatar.common.Dao" project="service-layer"
96+
file="/service-layer/src/main/java/com/iluwatar/common/Dao.java" binary="false" corner="BOTTOM_RIGHT">
97+
<position height="160" width="131" x="1003" y="53"/>
98+
<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+
</display>
103+
</interface>
104+
<class id="12" language="java" name="com.iluwatar.spell.Spell" project="service-layer"
105+
file="/service-layer/src/main/java/com/iluwatar/spell/Spell.java" binary="false" corner="BOTTOM_RIGHT">
106+
<position height="268" width="192" x="25" y="53"/>
107+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
108+
sort-features="false" accessors="true" visibility="true">
109+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
110+
<operations public="true" package="true" protected="true" private="true" static="true"/>
111+
</display>
112+
</class>
113+
<interface id="13" language="java" name="com.iluwatar.magic.MagicService" project="service-layer"
114+
file="/service-layer/src/main/java/com/iluwatar/magic/MagicService.java" binary="false" corner="BOTTOM_RIGHT">
115+
<position height="160" width="302" x="1174" y="379"/>
116+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
117+
sort-features="false" accessors="true" visibility="true">
118+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
119+
<operations public="true" package="true" protected="true" private="true" static="true"/>
120+
</display>
121+
</interface>
122+
<class id="14" language="java" name="com.iluwatar.wizard.Wizard" project="service-layer"
123+
file="/service-layer/src/main/java/com/iluwatar/wizard/Wizard.java" binary="false" corner="BOTTOM_RIGHT">
124+
<position height="286" width="235" x="257" y="53"/>
125+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
126+
sort-features="false" accessors="true" visibility="true">
127+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
128+
<operations public="true" package="true" protected="true" private="true" static="true"/>
129+
</display>
130+
</class>
131+
<generalization id="15">
132+
<bendpoint x="522" y="53"/>
133+
<end type="SOURCE" refId="5"/>
134+
<end type="TARGET" refId="1"/>
135+
</generalization>
136+
<association id="16">
137+
<end type="SOURCE" refId="3" navigable="false">
138+
<attribute id="17" name="wizardDao"/>
139+
<multiplicity id="18" minimum="0" maximum="1"/>
140+
</end>
141+
<end type="TARGET" refId="8" navigable="true"/>
142+
<display labels="true" multiplicity="true"/>
143+
</association>
144+
<generalization id="19">
145+
<end type="SOURCE" refId="6"/>
146+
<end type="TARGET" refId="11"/>
147+
</generalization>
148+
<generalization id="20">
149+
<end type="SOURCE" refId="10"/>
150+
<end type="TARGET" refId="7"/>
151+
</generalization>
152+
<generalization id="21">
153+
<end type="SOURCE" refId="14"/>
154+
<end type="TARGET" refId="1"/>
155+
</generalization>
156+
<realization id="22">
157+
<end type="SOURCE" refId="4"/>
158+
<end type="TARGET" refId="6"/>
159+
</realization>
160+
<generalization id="23">
161+
<end type="SOURCE" refId="8"/>
162+
<end type="TARGET" refId="11"/>
163+
</generalization>
164+
<association id="24">
165+
<end type="SOURCE" refId="3" navigable="false">
166+
<attribute id="25" name="spellbookDao"/>
167+
<multiplicity id="26" minimum="0" maximum="1"/>
168+
</end>
169+
<end type="TARGET" refId="6" navigable="true"/>
170+
<display labels="true" multiplicity="true"/>
171+
</association>
172+
<generalization id="27">
173+
<end type="SOURCE" refId="9"/>
174+
<end type="TARGET" refId="11"/>
175+
</generalization>
176+
<generalization id="28">
177+
<end type="SOURCE" refId="4"/>
178+
<end type="TARGET" refId="7"/>
179+
</generalization>
180+
<association id="29">
181+
<end type="SOURCE" refId="5" navigable="false">
182+
<attribute id="30" name="spells"/>
183+
<multiplicity id="31" minimum="0" maximum="2147483647"/>
184+
</end>
185+
<end type="TARGET" refId="12" navigable="true"/>
186+
<display labels="true" multiplicity="true"/>
187+
</association>
188+
<association id="32">
189+
<end type="SOURCE" refId="12" navigable="false">
190+
<attribute id="33" name="spellbook"/>
191+
<multiplicity id="34" minimum="0" maximum="1"/>
192+
</end>
193+
<end type="TARGET" refId="5" navigable="true"/>
194+
<display labels="true" multiplicity="true"/>
195+
</association>
196+
<generalization id="35">
197+
<end type="SOURCE" refId="12"/>
198+
<end type="TARGET" refId="1"/>
199+
</generalization>
200+
<association id="36">
201+
<end type="SOURCE" refId="14" navigable="false">
202+
<attribute id="37" name="spellbooks"/>
203+
<multiplicity id="38" minimum="0" maximum="2147483647"/>
204+
</end>
205+
<end type="TARGET" refId="5" navigable="true"/>
206+
<display labels="true" multiplicity="true"/>
207+
</association>
208+
<realization id="39">
209+
<end type="SOURCE" refId="10"/>
210+
<end type="TARGET" refId="8"/>
211+
</realization>
212+
<association id="40">
213+
<end type="SOURCE" refId="3" navigable="false">
214+
<attribute id="41" name="spellDao"/>
215+
<multiplicity id="42" minimum="0" maximum="1"/>
216+
</end>
217+
<end type="TARGET" refId="9" navigable="true"/>
218+
<display labels="true" multiplicity="true"/>
219+
</association>
220+
<generalization id="43">
221+
<end type="SOURCE" refId="2"/>
222+
<end type="TARGET" refId="7"/>
223+
</generalization>
224+
<realization id="44">
225+
<end type="SOURCE" refId="2"/>
226+
<end type="TARGET" refId="9"/>
227+
</realization>
228+
<association id="45">
229+
<end type="SOURCE" refId="5" navigable="false">
230+
<attribute id="46" name="wizards"/>
231+
<multiplicity id="47" minimum="0" maximum="2147483647"/>
232+
</end>
233+
<end type="TARGET" refId="14" navigable="true"/>
234+
<display labels="true" multiplicity="true"/>
235+
</association>
236+
<realization id="48">
237+
<end type="SOURCE" refId="3"/>
238+
<end type="TARGET" refId="13"/>
239+
</realization>
240+
<realization id="49">
241+
<end type="SOURCE" refId="7"/>
242+
<end type="TARGET" refId="11"/>
243+
</realization>
244+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
245+
sort-features="false" accessors="true" visibility="true">
246+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
247+
<operations public="true" package="true" protected="true" private="true" static="true"/>
248+
</classifier-display>
249+
<association-display labels="true" multiplicity="true"/>
250+
</class-diagram>

0 commit comments

Comments
 (0)