forked from IF-LK-2020/wordle
Objektdiagramm erweitert
This commit is contained in:
@@ -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<ContentType>_
|
||||
--
|
||||
@@ -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<ContentType>_
|
||||
--
|
||||
@@ -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=<<<-</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=<..</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=<..</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=<..</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=<..</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=<..
|
||||
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=<..
|
||||
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=<..</panel_attributes>
|
||||
<additional_attributes>170.0;10.0;10.0;10.0</additional_attributes>
|
||||
</element>
|
||||
</diagram>
|
||||
|
||||
@@ -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=<-</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=<-</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=<-</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=<-</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>
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
#BlueJ package file
|
||||
dependency1.from=DatabaseConnector
|
||||
dependency1.to=QueryResult
|
||||
dependency1.from=WordleServer
|
||||
dependency1.to=DatabaseConnector
|
||||
dependency1.type=UsesDependency
|
||||
dependency2.from=DatabaseConnector
|
||||
dependency2.to=Queue
|
||||
dependency2.to=QueryResult
|
||||
dependency2.type=UsesDependency
|
||||
dependency3.from=Server
|
||||
dependency3.to=List
|
||||
dependency3.from=DatabaseConnector
|
||||
dependency3.to=Queue
|
||||
dependency3.type=UsesDependency
|
||||
dependency4.from=WordleServer
|
||||
dependency4.to=DatabaseConnector
|
||||
dependency4.from=Server
|
||||
dependency4.to=List
|
||||
dependency4.type=UsesDependency
|
||||
editor.fx.0.height=0
|
||||
editor.fx.0.width=0
|
||||
editor.fx.0.x=0
|
||||
editor.fx.0.y=0
|
||||
objectbench.height=132
|
||||
objectbench.width=656
|
||||
objectbench.height=66
|
||||
objectbench.width=814
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.8320288982540638
|
||||
package.editor.height=671
|
||||
package.editor.width=546
|
||||
package.editor.x=419
|
||||
package.editor.y=46
|
||||
package.frame.height=927
|
||||
package.frame.width=693
|
||||
package.divider.vertical=0.920392584514722
|
||||
package.editor.height=824
|
||||
package.editor.width=703
|
||||
package.editor.x=833
|
||||
package.editor.y=0
|
||||
package.frame.height=1017
|
||||
package.frame.width=854
|
||||
package.numDependencies=4
|
||||
package.numTargets=6
|
||||
package.showExtends=true
|
||||
@@ -32,7 +32,7 @@ package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=48
|
||||
readme.width=49
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=70
|
||||
@@ -40,15 +40,15 @@ target1.name=DatabaseConnector
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=150
|
||||
target1.x=770
|
||||
target1.y=330
|
||||
target1.x=680
|
||||
target1.y=360
|
||||
target2.height=70
|
||||
target2.name=QueryResult
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=990
|
||||
target2.y=420
|
||||
target2.x=820
|
||||
target2.y=450
|
||||
target3.height=70
|
||||
target3.name=Server
|
||||
target3.showInterface=false
|
||||
@@ -61,19 +61,19 @@ target4.name=WordleServer
|
||||
target4.showInterface=false
|
||||
target4.type=ClassTarget
|
||||
target4.width=120
|
||||
target4.x=670
|
||||
target4.y=550
|
||||
target4.x=600
|
||||
target4.y=540
|
||||
target5.height=70
|
||||
target5.name=List
|
||||
target5.showInterface=false
|
||||
target5.type=ClassTarget
|
||||
target5.width=150
|
||||
target5.x=290
|
||||
target5.x=410
|
||||
target5.y=540
|
||||
target6.height=70
|
||||
target6.name=Queue
|
||||
target6.showInterface=false
|
||||
target6.type=ClassTarget
|
||||
target6.width=160
|
||||
target6.x=1000
|
||||
target6.y=520
|
||||
target6.x=790
|
||||
target6.y=540
|
||||
|
||||
Reference in New Issue
Block a user