Consistent UML model naming across all examples.
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 34 KiB |
BIN
iterator/etc/iterator.png
Normal file
BIN
iterator/etc/iterator.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
@ -1,103 +1,88 @@
|
||||
<?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.Item" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/Item.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="-1" width="-1" x="269" y="366"/>
|
||||
<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.iterator.TreasureChest" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/iterator/TreasureChest.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="124" width="195" x="1" y="237"/>
|
||||
<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.App" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/App.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="-1" width="-1" x="19" y="565"/>
|
||||
<class id="2" language="java" name="com.iluwatar.iterator.Item" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/iterator/Item.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="160" width="157" x="195" y="401"/>
|
||||
<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="3" language="java" name="com.iluwatar.ItemIterator" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/ItemIterator.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="-1" width="-1" x="275" y="178"/>
|
||||
<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="4" language="java" name="com.iluwatar.TreasureChestItemIterator" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/TreasureChestItemIterator.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="-1" width="-1" x="729" y="180"/>
|
||||
<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.TreasureChest" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/TreasureChest.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="-1" width="-1" x="271" y="568"/>
|
||||
<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="6" language="java" name="com.iluwatar.ItemType" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/ItemType.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="-1" width="-1" x="549" y="397"/>
|
||||
<enumeration id="3" language="java" name="com.iluwatar.iterator.ItemType" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/iterator/ItemType.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="160" width="145" x="388" y="601"/>
|
||||
<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>
|
||||
<realization id="7">
|
||||
<end type="SOURCE" refId="4"/>
|
||||
<end type="TARGET" refId="3"/>
|
||||
</realization>
|
||||
<association id="8">
|
||||
<interface id="4" language="java" name="com.iluwatar.iterator.ItemIterator" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/iterator/ItemIterator.java" binary="false" corner="BOTTOM_RIGHT">
|
||||
<position height="106" width="131" x="236" y="237"/>
|
||||
<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="5" language="java" name="com.iluwatar.iterator.TreasureChestItemIterator" project="iterator"
|
||||
file="/iterator/src/main/java/com/iluwatar/iterator/TreasureChestItemIterator.java" binary="false"
|
||||
corner="BOTTOM_RIGHT">
|
||||
<position height="160" width="323" x="236" y="37"/>
|
||||
<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>
|
||||
<association id="6">
|
||||
<end type="SOURCE" refId="5" navigable="false">
|
||||
<attribute id="9" name="items"/>
|
||||
<multiplicity id="10" minimum="0" maximum="2147483647"/>
|
||||
<attribute id="7" name="chest"/>
|
||||
<multiplicity id="8" minimum="0" maximum="1"/>
|
||||
</end>
|
||||
<end type="TARGET" refId="1" navigable="true"/>
|
||||
<display labels="true" multiplicity="true"/>
|
||||
</association>
|
||||
<dependency id="11">
|
||||
<end type="SOURCE" refId="2"/>
|
||||
<end type="TARGET" refId="5"/>
|
||||
</dependency>
|
||||
<association id="12">
|
||||
<association id="9">
|
||||
<end type="SOURCE" refId="1" navigable="false">
|
||||
<attribute id="10" name="items"/>
|
||||
<multiplicity id="11" minimum="0" maximum="2147483647"/>
|
||||
</end>
|
||||
<end type="TARGET" refId="2" navigable="true"/>
|
||||
<display labels="true" multiplicity="true"/>
|
||||
</association>
|
||||
<association id="12">
|
||||
<end type="SOURCE" refId="2" navigable="false">
|
||||
<attribute id="13" name="type"/>
|
||||
<multiplicity id="14" minimum="0" maximum="1"/>
|
||||
</end>
|
||||
<end type="TARGET" refId="6" navigable="true"/>
|
||||
<end type="TARGET" refId="3" navigable="true"/>
|
||||
<display labels="true" multiplicity="true"/>
|
||||
</association>
|
||||
<dependency id="15">
|
||||
<end type="SOURCE" refId="3"/>
|
||||
<end type="TARGET" refId="1"/>
|
||||
</dependency>
|
||||
<realization id="15">
|
||||
<end type="SOURCE" refId="5"/>
|
||||
<end type="TARGET" refId="4"/>
|
||||
</realization>
|
||||
<association id="16">
|
||||
<bendpoint x="729" y="567"/>
|
||||
<end type="SOURCE" refId="4" navigable="false">
|
||||
<attribute id="17" name="chest"/>
|
||||
<bendpoint x="397" y="237"/>
|
||||
<bendpoint x="397" y="401"/>
|
||||
<end type="SOURCE" refId="5" navigable="false">
|
||||
<attribute id="17" name="type"/>
|
||||
<multiplicity id="18" minimum="0" maximum="1"/>
|
||||
</end>
|
||||
<end type="TARGET" refId="5" navigable="true"/>
|
||||
<display labels="true" multiplicity="true"/>
|
||||
</association>
|
||||
<association id="19">
|
||||
<end type="SOURCE" refId="4" navigable="false">
|
||||
<attribute id="20" name="type"/>
|
||||
<multiplicity id="21" minimum="0" maximum="1"/>
|
||||
</end>
|
||||
<end type="TARGET" refId="6" navigable="true"/>
|
||||
<end type="TARGET" refId="3" navigable="true"/>
|
||||
<display labels="true" multiplicity="true"/>
|
||||
</association>
|
||||
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
Reference in New Issue
Block a user