Added Query and User Class into Umlet ModelmLet

This commit is contained in:
Maxim Derksen
2022-02-10 11:38:12 +01:00
parent f8e91462cc
commit 7d5344808a
3 changed files with 61 additions and 34 deletions

View File

@@ -5,7 +5,7 @@
<id>UMLClass</id> <id>UMLClass</id>
<coordinates> <coordinates>
<x>224</x> <x>224</x>
<y>400</y> <y>392</y>
<w>360</w> <w>360</w>
<h>128</h> <h>128</h>
</coordinates> </coordinates>
@@ -93,10 +93,10 @@
<x>392</x> <x>392</x>
<y>320</y> <y>320</y>
<w>24</w> <w>24</w>
<h>96</h> <h>88</h>
</coordinates> </coordinates>
<panel_attributes>lt=&lt;&lt;&lt;-</panel_attributes> <panel_attributes>lt=&lt;&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;100.0;10.0;10.0</additional_attributes> <additional_attributes>10.0;90.0;10.0;10.0</additional_attributes>
</element> </element>
<element> <element>
<id>Relation</id> <id>Relation</id>
@@ -113,12 +113,12 @@
<id>Relation</id> <id>Relation</id>
<coordinates> <coordinates>
<x>392</x> <x>392</x>
<y>520</y> <y>512</y>
<w>24</w> <w>24</w>
<h>128</h> <h>136</h>
</coordinates> </coordinates>
<panel_attributes>lt=&lt;..</panel_attributes> <panel_attributes>lt=&lt;..</panel_attributes>
<additional_attributes>10.0;140.0;10.0;10.0</additional_attributes> <additional_attributes>10.0;150.0;10.0;10.0</additional_attributes>
</element> </element>
<element> <element>
<id>Relation</id> <id>Relation</id>
@@ -142,4 +142,30 @@
<panel_attributes>lt=&lt;..</panel_attributes> <panel_attributes>lt=&lt;..</panel_attributes>
<additional_attributes>90.0;10.0;10.0;10.0</additional_attributes> <additional_attributes>90.0;10.0;10.0;10.0</additional_attributes>
</element> </element>
<element>
<id>UMLClass</id>
<coordinates>
<x>712</x>
<y>416</y>
<w>168</w>
<h>56</h>
</coordinates>
<panel_attributes>object: Query
--
+getStatistics(String username)</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>944</x>
<y>408</y>
<w>168</w>
<h>56</h>
</coordinates>
<panel_attributes>object: User
--
+int connection_id</panel_attributes>
<additional_attributes/>
</element>
</diagram> </diagram>

View File

@@ -108,7 +108,8 @@
<w>240</w> <w>240</w>
<h>48</h> <h>48</h>
</coordinates> </coordinates>
<panel_attributes>lt=&lt;-</panel_attributes> <panel_attributes>lt=&lt;-
</panel_attributes>
<additional_attributes>10.0;40.0;280.0;10.0</additional_attributes> <additional_attributes>10.0;40.0;280.0;10.0</additional_attributes>
</element> </element>
<element> <element>

View File

@@ -1,28 +1,28 @@
#BlueJ package file #BlueJ package file
dependency1.from=DatabaseConnector dependency1.from=WordleServer
dependency1.to=QueryResult dependency1.to=DatabaseConnector
dependency1.type=UsesDependency dependency1.type=UsesDependency
dependency2.from=DatabaseConnector dependency2.from=DatabaseConnector
dependency2.to=Queue dependency2.to=QueryResult
dependency2.type=UsesDependency dependency2.type=UsesDependency
dependency3.from=Server dependency3.from=DatabaseConnector
dependency3.to=List dependency3.to=Queue
dependency3.type=UsesDependency dependency3.type=UsesDependency
dependency4.from=WordleServer dependency4.from=Server
dependency4.to=DatabaseConnector dependency4.to=List
dependency4.type=UsesDependency dependency4.type=UsesDependency
editor.fx.0.height=1017 editor.fx.0.height=739
editor.fx.0.width=854 editor.fx.0.width=816
editor.fx.0.x=-7 editor.fx.0.x=432
editor.fx.0.y=0 editor.fx.0.y=90
objectbench.height=96 objectbench.height=133
objectbench.width=653 objectbench.width=653
package.divider.horizontal=0.6 package.divider.horizontal=0.6
package.divider.vertical=0.8876772082878953 package.divider.vertical=0.8473282442748091
package.editor.height=794 package.editor.height=757
package.editor.width=542 package.editor.width=542
package.editor.x=0 package.editor.x=220
package.editor.y=0 package.editor.y=36
package.frame.height=1017 package.frame.height=1017
package.frame.width=693 package.frame.width=693
package.numDependencies=4 package.numDependencies=4
@@ -40,40 +40,40 @@ target1.name=DatabaseConnector
target1.showInterface=false target1.showInterface=false
target1.type=ClassTarget target1.type=ClassTarget
target1.width=150 target1.width=150
target1.x=410 target1.x=770
target1.y=100 target1.y=330
target2.height=70 target2.height=70
target2.name=QueryResult target2.name=QueryResult
target2.showInterface=false target2.showInterface=false
target2.type=ClassTarget target2.type=ClassTarget
target2.width=120 target2.width=120
target2.x=300 target2.x=990
target2.y=190 target2.y=420
target3.height=70 target3.height=70
target3.name=Server target3.name=Server
target3.showInterface=false target3.showInterface=false
target3.type=AbstractTarget target3.type=AbstractTarget
target3.width=120 target3.width=120
target3.x=540 target3.x=520
target3.y=410 target3.y=390
target4.height=70 target4.height=70
target4.name=WordleServer target4.name=WordleServer
target4.showInterface=false target4.showInterface=false
target4.type=ClassTarget target4.type=ClassTarget
target4.width=120 target4.width=120
target4.x=530 target4.x=670
target4.y=240 target4.y=550
target5.height=70 target5.height=70
target5.name=List target5.name=List
target5.showInterface=false target5.showInterface=false
target5.type=ClassTarget target5.type=ClassTarget
target5.width=150 target5.width=150
target5.x=290 target5.x=290
target5.y=530 target5.y=540
target6.height=70 target6.height=70
target6.name=Queue target6.name=Queue
target6.showInterface=false target6.showInterface=false
target6.type=ClassTarget target6.type=ClassTarget
target6.width=160 target6.width=160
target6.x=280 target6.x=1000
target6.y=420 target6.y=520