|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <class-diagram version="1.1.8" icons="true" always-add-relationships="false" generalizations="true" realizations="true"
|
3 | 3 | associations="true" dependencies="false" nesting-relationships="true">
|
4 |
| - <class id="1" language="java" name="com.iluwatar.Customer" project="dao" |
5 |
| - file="/dao/src/main/java/com/iluwatar/Customer.java" binary="false" corner="BOTTOM_RIGHT"> |
6 |
| - <position height="-1" width="-1" x="176" y="337"/> |
| 4 | + <class id="1" language="java" name="com.iluwatar.dao.App" project="dao" |
| 5 | + file="/dao/src/main/java/com/iluwatar/dao/App.java" binary="false" corner="BOTTOM_RIGHT"> |
| 6 | + <position height="-1" width="-1" x="910" y="191"/> |
7 | 7 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
8 | 8 | sort-features="false" accessors="true" visibility="true">
|
9 |
| - <attributes public="true" package="true" protected="true" private="true" static="true"/> |
10 |
| - <operations public="true" package="true" protected="true" private="true" static="true"/> |
| 9 | + <attributes public="true" package="true" protected="true" private="false" static="true"/> |
| 10 | + <operations public="true" package="true" protected="true" private="false" static="true"/> |
11 | 11 | </display>
|
12 | 12 | </class>
|
13 |
| - <class id="2" language="java" name="com.iluwatar.CustomerDaoImpl" project="dao" |
14 |
| - file="/dao/src/main/java/com/iluwatar/CustomerDaoImpl.java" binary="false" corner="BOTTOM_RIGHT"> |
15 |
| - <position height="-1" width="-1" x="540" y="334"/> |
| 13 | + <interface id="2" language="java" name="com.iluwatar.dao.CustomerDao" project="dao" |
| 14 | + file="/dao/src/main/java/com/iluwatar/dao/CustomerDao.java" binary="false" corner="BOTTOM_RIGHT"> |
| 15 | + <position height="-1" width="-1" x="536" y="187"/> |
16 | 16 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
17 | 17 | sort-features="false" accessors="true" visibility="true">
|
18 | 18 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
19 | 19 | <operations public="true" package="true" protected="true" private="true" static="true"/>
|
20 | 20 | </display>
|
| 21 | + </interface> |
| 22 | + <class id="3" language="java" name="com.iluwatar.dao.InMemoryCustomerDao" project="dao" |
| 23 | + file="/dao/src/main/java/com/iluwatar/dao/InMemoryCustomerDao.java" binary="false" corner="BOTTOM_RIGHT"> |
| 24 | + <position height="-1" width="-1" x="289" y="455"/> |
| 25 | + <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
| 26 | + sort-features="false" accessors="true" visibility="true"> |
| 27 | + <attributes public="true" package="true" protected="true" private="false" static="true"/> |
| 28 | + <operations public="true" package="true" protected="true" private="true" static="true"/> |
| 29 | + </display> |
21 | 30 | </class>
|
22 |
| - <interface id="3" language="java" name="com.iluwatar.CustomerDao" project="dao" |
23 |
| - file="/dao/src/main/java/com/iluwatar/CustomerDao.java" binary="false" corner="BOTTOM_RIGHT"> |
24 |
| - <position height="-1" width="-1" x="536" y="131"/> |
| 31 | + <class id="4" language="java" name="com.iluwatar.dao.DBCustomerDao" project="dao" |
| 32 | + file="/dao/src/main/java/com/iluwatar/dao/DBCustomerDao.java" binary="false" corner="BOTTOM_RIGHT"> |
| 33 | + <position height="-1" width="-1" x="751" y="456"/> |
| 34 | + <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
| 35 | + sort-features="false" accessors="true" visibility="true"> |
| 36 | + <attributes public="true" package="true" protected="true" private="false" static="true"/> |
| 37 | + <operations public="true" package="true" protected="true" private="false" static="true"/> |
| 38 | + </display> |
| 39 | + </class> |
| 40 | + <interface id="5" language="java" name="javax.sql.DataSource" project="dao" |
| 41 | + file="/opt/Softwares/Eclipses/MARS/eclipse/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT"> |
| 42 | + <position height="-1" width="-1" x="1083" y="459"/> |
25 | 43 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
26 | 44 | sort-features="false" accessors="true" visibility="true">
|
27 | 45 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
28 | 46 | <operations public="true" package="true" protected="true" private="true" static="true"/>
|
29 | 47 | </display>
|
30 | 48 | </interface>
|
31 |
| - <realization id="4"> |
32 |
| - <end type="SOURCE" refId="2"/> |
33 |
| - <end type="TARGET" refId="3"/> |
34 |
| - </realization> |
35 |
| - <association id="5"> |
36 |
| - <end type="SOURCE" refId="2" navigable="false"> |
37 |
| - <attribute id="6" name="customers"/> |
38 |
| - <multiplicity id="7" minimum="0" maximum="2147483647"/> |
| 49 | + <association id="6"> |
| 50 | + <end type="SOURCE" refId="4" navigable="false"> |
| 51 | + <attribute id="7" name="dataSource"/> |
| 52 | + <multiplicity id="8" minimum="0" maximum="1"/> |
39 | 53 | </end>
|
40 |
| - <end type="TARGET" refId="1" navigable="true"/> |
| 54 | + <end type="TARGET" refId="5" navigable="true"/> |
41 | 55 | <display labels="true" multiplicity="true"/>
|
42 | 56 | </association>
|
| 57 | + <realization id="9"> |
| 58 | + <end type="SOURCE" refId="3"/> |
| 59 | + <end type="TARGET" refId="2"/> |
| 60 | + </realization> |
| 61 | + <dependency id="10"> |
| 62 | + <end type="SOURCE" refId="1"/> |
| 63 | + <end type="TARGET" refId="2"/> |
| 64 | + </dependency> |
| 65 | + <realization id="11"> |
| 66 | + <end type="SOURCE" refId="4"/> |
| 67 | + <end type="TARGET" refId="2"/> |
| 68 | + </realization> |
43 | 69 | <classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
|
44 | 70 | sort-features="false" accessors="true" visibility="true">
|
45 | 71 | <attributes public="true" package="true" protected="true" private="true" static="true"/>
|
|
0 commit comments