Consistent UML model naming across all examples.

This commit is contained in:
Ilkka Seppala
2015-05-31 12:59:30 +03:00
parent 8524c75ba6
commit 5c2e2ff7fb
96 changed files with 1924 additions and 1617 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

BIN
prototype/etc/prototype.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -1,192 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<class-diagram version="1.1.7" icons="true" always-add-relationships="false" generalizations="true" realizations="true"
associations="true" dependencies="false" nesting-relationships="true">
<class id="1" language="java" name="com.iluwatar.OrcMage" project="prototype"
file="/prototype/src/main/java/com/iluwatar/OrcMage.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="670" y="369"/>
<class-diagram version="1.1.8" icons="true" automaticImage="PNG" always-add-relationships="false" generalizations="true"
realizations="true" associations="true" dependencies="false" nesting-relationships="true">
<class id="1" language="java" name="com.iluwatar.prototype.ElfMage" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/ElfMage.java" binary="false" corner="BOTTOM_RIGHT">
<position height="142" width="132" x="788" y="192"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="2" language="java" name="com.iluwatar.HeroFactoryImpl" project="prototype"
file="/prototype/src/main/java/com/iluwatar/HeroFactoryImpl.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="355" y="99"/>
<class id="2" language="java" name="com.iluwatar.prototype.OrcMage" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/OrcMage.java" binary="false" corner="BOTTOM_RIGHT">
<position height="142" width="140" x="960" y="192"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="3" language="java" name="com.iluwatar.Mage" project="prototype"
file="/prototype/src/main/java/com/iluwatar/Mage.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="475" y="315"/>
<class id="3" language="java" name="com.iluwatar.prototype.Mage" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/Mage.java" binary="false" corner="BOTTOM_RIGHT">
<position height="105" width="132" x="665" y="28"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="4" language="java" name="com.iluwatar.OrcBeast" project="prototype"
file="/prototype/src/main/java/com/iluwatar/OrcBeast.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="458" y="465"/>
<class id="4" language="java" name="com.iluwatar.prototype.Prototype" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/Prototype.java" binary="false" corner="BOTTOM_RIGHT">
<position height="105" width="132" x="493" y="-154"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="5" language="java" name="com.iluwatar.ElfBeast" project="prototype"
file="/prototype/src/main/java/com/iluwatar/ElfBeast.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="258" y="474"/>
<class id="5" language="java" name="com.iluwatar.prototype.Beast" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/Beast.java" binary="false" corner="BOTTOM_RIGHT">
<position height="105" width="132" x="321" y="28"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="6" language="java" name="com.iluwatar.Beast" project="prototype"
file="/prototype/src/main/java/com/iluwatar/Beast.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="359" y="316"/>
<class id="6" language="java" name="com.iluwatar.prototype.ElfWarlord" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/ElfWarlord.java" binary="false" corner="BOTTOM_RIGHT">
<position height="142" width="154" x="388" y="192"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="7" language="java" name="com.iluwatar.Warlord" project="prototype"
file="/prototype/src/main/java/com/iluwatar/Warlord.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="246" y="316"/>
<class id="7" language="java" name="com.iluwatar.prototype.Warlord" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/Warlord.java" binary="false" corner="BOTTOM_RIGHT">
<position height="105" width="132" x="493" y="28"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="8" language="java" name="com.iluwatar.ElfMage" project="prototype"
file="/prototype/src/main/java/com/iluwatar/ElfMage.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="668" y="221"/>
<class id="8" language="java" name="com.iluwatar.prototype.ElfBeast" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/ElfBeast.java" binary="false" corner="BOTTOM_RIGHT">
<position height="142" width="132" x="32" y="192"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="9" language="java" name="com.iluwatar.App" project="prototype"
file="/prototype/src/main/java/com/iluwatar/App.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="90" y="99"/>
<class id="9" language="java" name="com.iluwatar.prototype.OrcWarlord" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/OrcWarlord.java" binary="false" corner="BOTTOM_RIGHT">
<position height="142" width="166" x="582" y="192"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="10" language="java" name="com.iluwatar.OrcWarlord" project="prototype"
file="/prototype/src/main/java/com/iluwatar/OrcWarlord.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="31" y="401"/>
<class id="10" language="java" name="com.iluwatar.prototype.HeroFactoryImpl" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/HeroFactoryImpl.java" binary="false" corner="BOTTOM_RIGHT">
<position height="142" width="248" x="665" y="-154"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="11" language="java" name="com.iluwatar.Prototype" project="prototype"
file="/prototype/src/main/java/com/iluwatar/Prototype.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="368" y="601"/>
<class id="11" language="java" name="com.iluwatar.prototype.OrcBeast" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/OrcBeast.java" binary="false" corner="BOTTOM_RIGHT">
<position height="142" width="144" x="204" y="192"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<interface id="12" language="java" name="com.iluwatar.HeroFactory" project="prototype"
file="/prototype/src/main/java/com/iluwatar/HeroFactory.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="348" y="-71"/>
<interface id="12" language="java" name="com.iluwatar.prototype.HeroFactory" project="prototype"
file="/prototype/src/main/java/com/iluwatar/prototype/HeroFactory.java" binary="false" corner="BOTTOM_RIGHT">
<position height="124" width="164" x="837" y="28"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</interface>
<class id="13" language="java" name="com.iluwatar.ElfWarlord" project="prototype"
file="/prototype/src/main/java/com/iluwatar/ElfWarlord.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="30" y="249"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<realization id="14">
<end type="SOURCE" refId="2"/>
<end type="TARGET" refId="12"/>
</realization>
<generalization id="15">
<end type="SOURCE" refId="6"/>
<end type="TARGET" refId="11"/>
<generalization id="13">
<end type="SOURCE" refId="8"/>
<end type="TARGET" refId="5"/>
</generalization>
<generalization id="16">
<end type="SOURCE" refId="13"/>
<generalization id="14">
<end type="SOURCE" refId="6"/>
<end type="TARGET" refId="7"/>
</generalization>
<generalization id="17">
<bendpoint x="71" y="598"/>
<generalization id="15">
<end type="SOURCE" refId="7"/>
<end type="TARGET" refId="11"/>
<end type="TARGET" refId="4"/>
</generalization>
<generalization id="18">
<end type="SOURCE" refId="5"/>
<end type="TARGET" refId="6"/>
</generalization>
<association id="19">
<end type="SOURCE" refId="2" navigable="false">
<attribute id="20" name="beast"/>
<multiplicity id="21" minimum="0" maximum="1"/>
<association id="16">
<end type="SOURCE" refId="10" navigable="false">
<attribute id="17" name="beast"/>
<multiplicity id="18" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="6" navigable="true"/>
<end type="TARGET" refId="5" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<generalization id="22">
<realization id="19">
<end type="SOURCE" refId="10"/>
<end type="TARGET" refId="12"/>
</realization>
<generalization id="20">
<end type="SOURCE" refId="9"/>
<end type="TARGET" refId="7"/>
</generalization>
<generalization id="23">
<generalization id="21">
<end type="SOURCE" refId="1"/>
<end type="TARGET" refId="3"/>
</generalization>
<generalization id="24">
<end type="SOURCE" refId="4"/>
<end type="TARGET" refId="6"/>
<generalization id="22">
<end type="SOURCE" refId="5"/>
<end type="TARGET" refId="4"/>
</generalization>
<generalization id="25">
<end type="SOURCE" refId="8"/>
<end type="TARGET" refId="3"/>
</generalization>
<association id="26">
<end type="SOURCE" refId="2" navigable="false">
<attribute id="27" name="mage"/>
<multiplicity id="28" minimum="0" maximum="1"/>
<association id="23">
<end type="SOURCE" refId="10" navigable="false">
<attribute id="24" name="mage"/>
<multiplicity id="25" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="3" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="29">
<end type="SOURCE" refId="2" navigable="false">
<attribute id="30" name="warlord"/>
<multiplicity id="31" minimum="0" maximum="1"/>
<association id="26">
<end type="SOURCE" refId="10" navigable="false">
<attribute id="27" name="warlord"/>
<multiplicity id="28" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="7" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<dependency id="32">
<end type="SOURCE" refId="9"/>
<end type="TARGET" refId="2"/>
</dependency>
<generalization id="33">
<bendpoint x="658" y="600"/>
<generalization id="29">
<end type="SOURCE" refId="2"/>
<end type="TARGET" refId="3"/>
</generalization>
<generalization id="30">
<end type="SOURCE" refId="3"/>
<end type="TARGET" refId="11"/>
<end type="TARGET" refId="4"/>
</generalization>
<generalization id="31">
<end type="SOURCE" refId="11"/>
<end type="TARGET" refId="5"/>
</generalization>
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
sort-features="false" accessors="true" visibility="true">