- final fields are marked as final - removed unnecessary temp variables - added private constructor for not instantiated static class AccountAggregate - path of te test file is corrected
123 lines
7.6 KiB
XML
123 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<class-diagram version="1.2.0" icons="true" automaticImage="PNG" always-add-relationships="true" generalizations="true"
|
|
realizations="true" associations="true" dependencies="false" nesting-relationships="true" router="FAN">
|
|
<class id="1" language="java" name="com.iluwatar.event.sourcing.event.DomainEvent" project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/event/DomainEvent.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="-1" width="-1" x="809" y="161"/>
|
|
<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.event.sourcing.event.AccountCreateEvent" project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/event/AccountCreateEvent.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="-1" width="-1" x="145" y="455"/>
|
|
<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.event.sourcing.event.MoneyDepositEvent" project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/event/MoneyDepositEvent.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="-1" width="-1" x="480" y="451"/>
|
|
<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.event.sourcing.event.MoneyTransferEvent" project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/event/MoneyTransferEvent.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="-1" width="-1" x="809" y="472"/>
|
|
<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.event.sourcing.state.AccountAggregate" project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/state/AccountAggregate.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="-1" width="-1" x="104" y="826"/>
|
|
<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.event.sourcing.processor.DomainEventProcessor"
|
|
project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/processor/DomainEventProcessor.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="-1" width="-1" x="458" y="121"/>
|
|
<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.event.sourcing.processor.JsonFileJournal" project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/processor/JsonFileJournal.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="189" width="171" x="69" y="26"/>
|
|
<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.event.sourcing.domain.Account" project="event-sourcing"
|
|
file="/event-sourcing/src/main/java/com/iluwatar/event/sourcing/domain/Account.java" binary="false"
|
|
corner="BOTTOM_RIGHT">
|
|
<position height="-1" width="-1" x="472" y="827"/>
|
|
<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>
|
|
<generalization id="9">
|
|
<end type="SOURCE" refId="2"/>
|
|
<end type="TARGET" refId="1"/>
|
|
</generalization>
|
|
<generalization id="10">
|
|
<end type="SOURCE" refId="4"/>
|
|
<end type="TARGET" refId="1"/>
|
|
</generalization>
|
|
<association id="11">
|
|
<end type="SOURCE" refId="6" navigable="false">
|
|
<attribute id="12" name="processorJournal">
|
|
<position height="0" width="0" x="0" y="0"/>
|
|
</attribute>
|
|
<multiplicity id="13" minimum="0" maximum="1">
|
|
<position height="0" width="0" x="0" y="0"/>
|
|
</multiplicity>
|
|
</end>
|
|
<end type="TARGET" refId="7" navigable="true"/>
|
|
<display labels="true" multiplicity="true"/>
|
|
</association>
|
|
<generalization id="14">
|
|
<end type="SOURCE" refId="3"/>
|
|
<end type="TARGET" refId="1"/>
|
|
</generalization>
|
|
<association id="15">
|
|
<end type="SOURCE" refId="5" navigable="false">
|
|
<attribute id="16" name="accounts"/>
|
|
<multiplicity id="17" minimum="0" maximum="2147483647"/>
|
|
</end>
|
|
<end type="TARGET" refId="8" navigable="true"/>
|
|
<display labels="true" multiplicity="true"/>
|
|
</association>
|
|
<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> |