Objektdiagramm erweitert

This commit is contained in:
Maxim Derksen
2022-02-14 09:46:18 +01:00
parent 886f88bb54
commit d34ce44ae8
3 changed files with 193 additions and 149 deletions

View File

@@ -1,33 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="14.3.0">
<zoom_level>10</zoom_level>
<zoom_level>6</zoom_level>
<element>
<id>UMLClass</id>
<coordinates>
<x>180</x>
<y>400</y>
<w>450</w>
<h>160</h>
<x>114</x>
<y>582</y>
<w>270</w>
<h>96</h>
</coordinates>
<panel_attributes>_object: WordleServer_
--
+ int currentDay
+ int DEFAULT_PORT
+ DatabaseConnector db
+ String wotd
--
+ WordleServer
+ WordleServer(int pPort)
+ processNewConnection(String pClientIP, int pClientPort)
+ processClosingConnection(String pClientIP, int pClientPort)
+ processMessage(String pClientIP, int pClientPort, String pMessage)</panel_attributes>
+ processMessage(String pClientIP, int pClientPort, String pMessage)
+ checkDay()</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>290</x>
<y>250</y>
<w>210</w>
<h>70</h>
<x>180</x>
<y>492</y>
<w>126</w>
<h>42</h>
</coordinates>
<panel_attributes>_object: Server_
--
@@ -39,9 +42,9 @@
<id>UMLClass</id>
<coordinates>
<x>0</x>
<y>700</y>
<w>210</w>
<h>70</h>
<y>786</y>
<w>126</w>
<h>42</h>
</coordinates>
<panel_attributes>_object: Queue&lt;ContentType&gt;_
--
@@ -51,10 +54,10 @@
<element>
<id>UMLClass</id>
<coordinates>
<x>300</x>
<y>700</y>
<w>210</w>
<h>70</h>
<x>186</x>
<y>786</y>
<w>126</w>
<h>42</h>
</coordinates>
<panel_attributes>_object: DatabaseConnector_
--
@@ -64,10 +67,10 @@
<element>
<id>UMLClass</id>
<coordinates>
<x>290</x>
<y>80</y>
<w>210</w>
<h>70</h>
<x>180</x>
<y>390</y>
<w>126</w>
<h>42</h>
</coordinates>
<panel_attributes>_object: List&lt;ContentType&gt;_
--
@@ -77,10 +80,10 @@
<element>
<id>UMLClass</id>
<coordinates>
<x>590</x>
<y>700</y>
<w>210</w>
<h>70</h>
<x>360</x>
<y>786</y>
<w>126</w>
<h>42</h>
</coordinates>
<panel_attributes>_object: QueryResult_
--
@@ -90,10 +93,10 @@
<element>
<id>Relation</id>
<coordinates>
<x>390</x>
<y>310</y>
<w>30</w>
<h>110</h>
<x>240</x>
<y>528</y>
<w>18</w>
<h>66</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;90.0;10.0;10.0</additional_attributes>
@@ -101,10 +104,10 @@
<element>
<id>Relation</id>
<coordinates>
<x>390</x>
<y>140</y>
<w>30</w>
<h>130</h>
<x>240</x>
<y>426</y>
<w>18</w>
<h>78</h>
</coordinates>
<panel_attributes>lt=&lt;..</panel_attributes>
<additional_attributes>10.0;10.0;10.0;110.0</additional_attributes>
@@ -112,32 +115,32 @@
<element>
<id>Relation</id>
<coordinates>
<x>390</x>
<y>550</y>
<w>30</w>
<h>170</h>
<x>240</x>
<y>750</y>
<w>18</w>
<h>48</h>
</coordinates>
<panel_attributes>lt=&lt;..</panel_attributes>
<additional_attributes>10.0;150.0;10.0;10.0</additional_attributes>
<additional_attributes>10.0;60.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>200</x>
<y>720</y>
<w>120</w>
<h>30</h>
<x>120</x>
<y>798</y>
<w>78</w>
<h>18</h>
</coordinates>
<panel_attributes>lt=&lt;..</panel_attributes>
<additional_attributes>10.0;10.0;100.0;10.0</additional_attributes>
<additional_attributes>10.0;10.0;110.0;10.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>500</x>
<y>720</y>
<w>110</w>
<h>30</h>
<x>306</x>
<y>798</y>
<w>66</w>
<h>18</h>
</coordinates>
<panel_attributes>lt=&lt;..</panel_attributes>
<additional_attributes>90.0;10.0;10.0;10.0</additional_attributes>
@@ -145,53 +148,94 @@
<element>
<id>UMLClass</id>
<coordinates>
<x>740</x>
<y>430</y>
<w>210</w>
<h>70</h>
<x>186</x>
<y>696</y>
<w>126</w>
<h>60</h>
</coordinates>
<panel_attributes>object: Query
--
+getStatistics(String username)</panel_attributes>
- pullStats(user)
+ pushStats(user)
+ checkForLogin(String username, String passwort):boolean
+ getWord(int)</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>810</x>
<y>200</y>
<w>210</w>
<h>70</h>
<x>462</x>
<y>570</y>
<w>126</w>
<h>120</h>
</coordinates>
<panel_attributes>object: User
--
+int connection_id</panel_attributes>
+ final int connectionID
+ final String username
+ final String passwort
+ int timesPlayed
+ int winPercentage
+ int currentStreak
+ int maxStreak
+ int lastDayWOTDFinished
+ int state
+ int[] wonInTurn
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>620</x>
<y>260</y>
<w>210</w>
<h>160</h>
<x>378</x>
<y>618</y>
<w>96</w>
<h>24</h>
</coordinates>
<panel_attributes>lt=&lt;..
n</panel_attributes>
<additional_attributes>190.0;10.0;10.0;140.0</additional_attributes>
<additional_attributes>140.0;20.0;10.0;20.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>620</x>
<y>430</y>
<w>140</w>
<h>70</h>
<x>240</x>
<y>672</y>
<w>24</w>
<h>36</h>
</coordinates>
<panel_attributes>lt=&lt;..
1
</panel_attributes>
<additional_attributes>120.0;20.0;10.0;30.0</additional_attributes>
<additional_attributes>10.0;40.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>684</x>
<y>606</y>
<w>126</w>
<h>54</h>
</coordinates>
<panel_attributes>object: Game
String wotd
--
String randomWord
String[] guesses
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>582</x>
<y>624</y>
<w>114</w>
<h>18</h>
</coordinates>
<panel_attributes>lt=&lt;..</panel_attributes>
<additional_attributes>170.0;10.0;10.0;10.0</additional_attributes>
</element>
</diagram>

View File

@@ -4,8 +4,8 @@
<element>
<id>UMLGeneric</id>
<coordinates>
<x>584</x>
<y>160</y>
<x>496</x>
<y>168</y>
<w>80</w>
<h>24</h>
</coordinates>
@@ -15,8 +15,8 @@
<element>
<id>UMLGeneric</id>
<coordinates>
<x>120</x>
<y>160</y>
<x>32</x>
<y>168</y>
<w>80</w>
<h>24</h>
</coordinates>
@@ -26,8 +26,8 @@
<element>
<id>UMLGeneric</id>
<coordinates>
<x>352</x>
<y>160</y>
<x>264</x>
<y>168</y>
<w>80</w>
<h>24</h>
</coordinates>
@@ -37,8 +37,8 @@
<element>
<id>Relation</id>
<coordinates>
<x>152</x>
<y>176</y>
<x>64</x>
<y>184</y>
<w>24</w>
<h>536</h>
</coordinates>
@@ -48,8 +48,8 @@
<element>
<id>Relation</id>
<coordinates>
<x>384</x>
<y>176</y>
<x>296</x>
<y>184</y>
<w>24</w>
<h>536</h>
</coordinates>
@@ -59,8 +59,8 @@
<element>
<id>Relation</id>
<coordinates>
<x>616</x>
<y>176</y>
<x>528</x>
<y>184</y>
<w>24</w>
<h>536</h>
</coordinates>
@@ -70,8 +70,8 @@
<element>
<id>UMLGeneric</id>
<coordinates>
<x>376</x>
<y>240</y>
<x>288</x>
<y>248</y>
<w>16</w>
<h>56</h>
</coordinates>
@@ -81,8 +81,8 @@
<element>
<id>Relation</id>
<coordinates>
<x>152</x>
<y>216</y>
<x>64</x>
<y>224</y>
<w>240</w>
<h>40</h>
</coordinates>
@@ -92,8 +92,8 @@
<element>
<id>Relation</id>
<coordinates>
<x>152</x>
<y>288</y>
<x>64</x>
<y>296</y>
<w>240</w>
<h>40</h>
</coordinates>
@@ -103,8 +103,8 @@
<element>
<id>Relation</id>
<coordinates>
<x>400</x>
<y>280</y>
<x>312</x>
<y>288</y>
<w>240</w>
<h>48</h>
</coordinates>
@@ -115,41 +115,19 @@
<element>
<id>Relation</id>
<coordinates>
<x>400</x>
<y>352</y>
<w>240</w>
<h>48</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>280.0;40.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLGeneric</id>
<coordinates>
<x>392</x>
<y>312</y>
<w>16</w>
<h>48</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>152</x>
<y>328</y>
<w>240</w>
<h>48</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>280.0;40.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLGeneric</id>
<coordinates>
<x>376</x>
<x>312</x>
<y>360</y>
<w>240</w>
<h>48</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>280.0;40.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLGeneric</id>
<coordinates>
<x>304</x>
<y>320</y>
<w>16</w>
<h>48</h>
</coordinates>
@@ -159,8 +137,30 @@
<element>
<id>Relation</id>
<coordinates>
<x>152</x>
<y>400</y>
<x>64</x>
<y>336</y>
<w>240</w>
<h>48</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>280.0;40.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLGeneric</id>
<coordinates>
<x>288</x>
<y>368</y>
<w>16</w>
<h>48</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>64</x>
<y>408</y>
<w>240</w>
<h>40</h>
</coordinates>