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: 81 KiB

BIN
builder/etc/builder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -1,72 +1,73 @@
<?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">
<enumeration id="1" language="java" name="com.iluwatar.HairColor" project="builder"
file="/builder/src/main/java/com/iluwatar/HairColor.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="532" y="675"/>
<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">
<enumeration id="1" language="java" name="com.iluwatar.builder.HairType" project="builder"
file="/builder/src/main/java/com/iluwatar/builder/HairType.java" binary="false" corner="BOTTOM_RIGHT">
<position height="214" width="189" x="177" y="419"/>
<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>
</enumeration>
<enumeration id="2" language="java" name="com.iluwatar.Armor" project="builder"
file="/builder/src/main/java/com/iluwatar/Armor.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="966" y="604"/>
<enumeration id="2" language="java" name="com.iluwatar.builder.Weapon" project="builder"
file="/builder/src/main/java/com/iluwatar/builder/Weapon.java" binary="false" corner="BOTTOM_RIGHT">
<position height="196" width="171" x="406" y="419"/>
<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>
</enumeration>
<enumeration id="3" language="java" name="com.iluwatar.HairType" project="builder"
file="/builder/src/main/java/com/iluwatar/HairType.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="765" y="677"/>
<enumeration id="3" language="java" name="com.iluwatar.builder.HairColor" project="builder"
file="/builder/src/main/java/com/iluwatar/builder/HairColor.java" binary="false" corner="BOTTOM_RIGHT">
<position height="196" width="144" x="-204" y="419"/>
<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>
</enumeration>
<class id="4" language="java" name="com.iluwatar.Hero" project="builder"
file="/builder/src/main/java/com/iluwatar/Hero.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="674" y="132"/>
<class id="4" language="java" name="com.iluwatar.builder.Hero.HeroBuilder" project="builder"
file="/builder/src/main/java/com/iluwatar/builder/Hero.java" binary="false" corner="BOTTOM_RIGHT">
<position height="196" width="234" x="20" y="183"/>
<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>
<enumeration id="5" language="java" name="com.iluwatar.Weapon" project="builder"
file="/builder/src/main/java/com/iluwatar/Weapon.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="302" y="675"/>
<enumeration id="5" language="java" name="com.iluwatar.builder.Armor" project="builder"
file="/builder/src/main/java/com/iluwatar/builder/Armor.java" binary="false" corner="BOTTOM_RIGHT">
<position height="196" width="145" x="617" y="419"/>
<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>
</enumeration>
<class id="6" language="java" name="com.iluwatar.Hero.HeroBuilder" project="builder"
file="/builder/src/main/java/com/iluwatar/Hero.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="234" y="141"/>
<enumeration id="6" language="java" name="com.iluwatar.builder.Profession" project="builder"
file="/builder/src/main/java/com/iluwatar/builder/Profession.java" binary="false" corner="BOTTOM_RIGHT">
<position height="178" width="157" x="-20" y="419"/>
<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>
</enumeration>
<class id="7" language="java" name="com.iluwatar.builder.Hero" project="builder"
file="/builder/src/main/java/com/iluwatar/builder/Hero.java" binary="false" corner="BOTTOM_RIGHT">
<position height="232" width="178" x="275" y="-89"/>
<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>
<enumeration id="7" language="java" name="com.iluwatar.Profession" project="builder"
file="/builder/src/main/java/com/iluwatar/Profession.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="113" y="597"/>
<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>
</enumeration>
<association id="8">
<end type="SOURCE" refId="6" navigable="false">
<attribute id="9" name="hairColor"/>
<bendpoint x="284" y="183"/>
<end type="SOURCE" refId="7" navigable="false">
<attribute id="9" name="hairType"/>
<multiplicity id="10" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="1" navigable="true"/>
@ -74,31 +75,32 @@
</association>
<association id="11">
<end type="SOURCE" refId="4" navigable="false">
<attribute id="12" name="hairType"/>
<attribute id="12" name="weapon"/>
<multiplicity id="13" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="2" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="14">
<end type="SOURCE" refId="4" navigable="false">
<attribute id="15" name="profession"/>
<multiplicity id="16" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="6" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="17">
<end type="SOURCE" refId="4" navigable="false">
<attribute id="18" name="hairColor"/>
<multiplicity id="19" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="3" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="14">
<end type="SOURCE" refId="6" navigable="false">
<attribute id="15" name="profession"/>
<multiplicity id="16" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="7" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="17">
<end type="SOURCE" refId="6" navigable="false">
<attribute id="18" name="weapon"/>
<multiplicity id="19" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="5" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="20">
<end type="SOURCE" refId="4" navigable="false">
<attribute id="21" name="armor"/>
<bendpoint x="350" y="183"/>
<end type="SOURCE" refId="7" navigable="false">
<attribute id="21" name="weapon"/>
<multiplicity id="22" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="2" navigable="true"/>
@ -106,46 +108,49 @@
</association>
<association id="23">
<end type="SOURCE" refId="4" navigable="false">
<attribute id="24" name="profession"/>
<attribute id="24" name="hairType"/>
<multiplicity id="25" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="7" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="26">
<end type="SOURCE" refId="4" navigable="false">
<attribute id="27" name="hairColor"/>
<multiplicity id="28" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="1" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="29">
<nesting id="26">
<end type="SOURCE" refId="7"/>
<end type="TARGET" refId="4"/>
</nesting>
<association id="27">
<end type="SOURCE" refId="4" navigable="false">
<attribute id="30" name="weapon"/>
<multiplicity id="31" minimum="0" maximum="1"/>
<attribute id="28" name="armor"/>
<multiplicity id="29" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="5" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<nesting id="32">
<end type="SOURCE" refId="4"/>
<end type="TARGET" refId="6"/>
</nesting>
<association id="30">
<bendpoint x="-11" y="183"/>
<end type="SOURCE" refId="7" navigable="false">
<attribute id="31" name="profession"/>
<multiplicity id="32" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="6" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="33">
<end type="SOURCE" refId="6" navigable="false">
<attribute id="34" name="armor"/>
<bendpoint x="-32" y="183"/>
<end type="SOURCE" refId="7" navigable="false">
<attribute id="34" name="hairColor"/>
<multiplicity id="35" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="2" navigable="true"/>
<end type="TARGET" refId="3" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<association id="36">
<end type="SOURCE" refId="6" navigable="false">
<attribute id="37" name="hairType"/>
<bendpoint x="455" y="183"/>
<end type="SOURCE" refId="7" navigable="false">
<attribute id="37" name="armor"/>
<multiplicity id="38" minimum="0" maximum="1"/>
</end>
<end type="TARGET" refId="3" navigable="true"/>
<end type="TARGET" refId="5" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"