<?xml version="1.0" encoding="UTF-8"?> <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.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.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.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.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.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.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.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.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.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.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.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> <generalization id="13"> <end type="SOURCE" refId="8"/> <end type="TARGET" refId="5"/> </generalization> <generalization id="14"> <end type="SOURCE" refId="6"/> <end type="TARGET" refId="7"/> </generalization> <generalization id="15"> <end type="SOURCE" refId="7"/> <end type="TARGET" refId="4"/> </generalization> <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="5" navigable="true"/> <display labels="true" multiplicity="true"/> </association> <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="21"> <end type="SOURCE" refId="1"/> <end type="TARGET" refId="3"/> </generalization> <generalization id="22"> <end type="SOURCE" refId="5"/> <end type="TARGET" refId="4"/> </generalization> <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="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> <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="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"> <attributes public="true" package="true" protected="true" private="true" static="true"/> <operations public="true" package="true" protected="true" private="true" static="true"/> </classifier-display> <association-display labels="true" multiplicity="true"/> </class-diagram>