|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<class-diagram version="1.1.9" 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.decorator.Hostile" project="decorator" |
5 |
| - file="/decorator/src/main/java/com/iluwatar/decorator/Hostile.java" binary="false" corner="BOTTOM_RIGHT"> |
6 |
| - <position height="-1" width="-1" x="554" y="188"/> |
| 2 | +<class-diagram version="1.1.11" 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.decorator.App" project="decorator" |
| 6 | + file="/decorator/src/main/java/com/iluwatar/decorator/App.java" binary="false" corner="BOTTOM_RIGHT"> |
| 7 | + <position height="113" width="114" x="177" y="237"/> |
7 | 8 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
8 | 9 | sort-features="false" accessors="true" visibility="true">
|
9 | 10 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
10 | 11 | <operations public="true" package="true" protected="true" private="true" static="true"/>
|
11 | 12 | </display>
|
12 |
| - </interface> |
13 |
| - <class id="2" language="java" name="com.iluwatar.decorator.App" project="decorator" |
14 |
| - file="/decorator/src/main/java/com/iluwatar/decorator/App.java" binary="false" corner="BOTTOM_RIGHT"> |
15 |
| - <position height="-1" width="-1" x="117" y="202"/> |
| 13 | + </class> |
| 14 | + <class id="2" language="java" name="com.iluwatar.decorator.SimpleTroll" project="decorator" |
| 15 | + file="/decorator/src/main/java/com/iluwatar/decorator/SimpleTroll.java" binary="false" corner="BOTTOM_RIGHT"> |
| 16 | + <position height="149" width="125" x="496" y="237"/> |
16 | 17 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
17 | 18 | sort-features="false" accessors="true" visibility="true">
|
18 | 19 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
19 | 20 | <operations public="true" package="true" protected="true" private="true" static="true"/>
|
20 | 21 | </display>
|
21 | 22 | </class>
|
22 |
| - <class id="3" language="java" name="com.iluwatar.decorator.Troll" project="decorator" |
23 |
| - file="/decorator/src/main/java/com/iluwatar/decorator/Troll.java" binary="false" corner="BOTTOM_RIGHT"> |
24 |
| - <position height="-1" width="-1" x="315" y="100"/> |
| 23 | + <class id="3" language="java" name="com.iluwatar.decorator.ClubbedTroll" project="decorator" |
| 24 | + file="/decorator/src/main/java/com/iluwatar/decorator/ClubbedTroll.java" binary="false" corner="BOTTOM_RIGHT"> |
| 25 | + <position height="149" width="125" x="249" y="426"/> |
25 | 26 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
26 | 27 | sort-features="false" accessors="true" visibility="true">
|
27 | 28 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
28 | 29 | <operations public="true" package="true" protected="true" private="true" static="true"/>
|
29 | 30 | </display>
|
30 | 31 | </class>
|
31 |
| - <class id="4" language="java" name="com.iluwatar.decorator.SmartHostile" project="decorator" |
32 |
| - file="/decorator/src/main/java/com/iluwatar/decorator/SmartHostile.java" binary="false" corner="BOTTOM_RIGHT"> |
33 |
| - <position height="-1" width="-1" x="318" y="315"/> |
| 32 | + <class id="4" language="java" name="com.iluwatar.decorator.TrollDecorator" project="decorator" |
| 33 | + file="/decorator/src/main/java/com/iluwatar/decorator/TrollDecorator.java" binary="false" corner="BOTTOM_RIGHT"> |
| 34 | + <position height="149" width="125" x="331" y="237"/> |
34 | 35 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
35 | 36 | sort-features="false" accessors="true" visibility="true">
|
36 | 37 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
37 | 38 | <operations public="true" package="true" protected="true" private="true" static="true"/>
|
38 | 39 | </display>
|
39 | 40 | </class>
|
40 |
| - <dependency id="5"> |
41 |
| - <end type="SOURCE" refId="2"/> |
42 |
| - <end type="TARGET" refId="4"/> |
43 |
| - </dependency> |
| 41 | + <interface id="5" language="java" name="com.iluwatar.decorator.Troll" project="decorator" |
| 42 | + file="/decorator/src/main/java/com/iluwatar/decorator/Troll.java" binary="false" corner="BOTTOM_RIGHT"> |
| 43 | + <position height="113" width="125" x="414" y="426"/> |
| 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 | + </interface> |
44 | 50 | <realization id="6">
|
| 51 | + <end type="SOURCE" refId="4"/> |
| 52 | + <end type="TARGET" refId="5"/> |
| 53 | + </realization> |
| 54 | + <generalization id="7"> |
45 | 55 | <end type="SOURCE" refId="3"/>
|
46 |
| - <end type="TARGET" refId="1"/> |
| 56 | + <end type="TARGET" refId="4"/> |
| 57 | + </generalization> |
| 58 | + <realization id="8"> |
| 59 | + <end type="SOURCE" refId="2"/> |
| 60 | + <end type="TARGET" refId="5"/> |
47 | 61 | </realization>
|
48 |
| - <association id="7"> |
| 62 | + <association id="9"> |
49 | 63 | <end type="SOURCE" refId="4" navigable="false">
|
50 |
| - <attribute id="8" name="decorated"/> |
51 |
| - <multiplicity id="9" minimum="0" maximum="1"/> |
| 64 | + <attribute id="10" name="decorated"/> |
| 65 | + <multiplicity id="11" minimum="0" maximum="1"/> |
52 | 66 | </end>
|
53 |
| - <end type="TARGET" refId="1" navigable="true"/> |
| 67 | + <end type="TARGET" refId="5" navigable="true"/> |
54 | 68 | <display labels="true" multiplicity="true"/>
|
55 | 69 | </association>
|
56 |
| - <realization id="10"> |
57 |
| - <end type="SOURCE" refId="4"/> |
58 |
| - <end type="TARGET" refId="1"/> |
59 |
| - </realization> |
60 |
| - <dependency id="11"> |
61 |
| - <end type="SOURCE" refId="2"/> |
62 |
| - <end type="TARGET" refId="3"/> |
63 |
| - </dependency> |
64 | 70 | <classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
65 | 71 | sort-features="false" accessors="true" visibility="true">
|
66 | 72 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
|
0 commit comments