-
Notifications
You must be signed in to change notification settings - Fork 0
/
model.uxf
124 lines (113 loc) · 8.1 KB
/
model.uxf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<diagram program="umletino" version="14.3.0"><zoom_level>10</zoom_level><element><id>UMLClass</id><coordinates><x>730</x><y>440</y><w>190</w><h>40</h></coordinates><panel_attributes><<Role>>
Officer
</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLNote</id><coordinates><x>0</x><y>670</y><w>200</w><h>70</h></coordinates><panel_attributes>A job is available if it's
in final mode and its deadline
hasn't elapsed.
bg=blue</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>2080</x><y>630</y><w>350</w><h>330</h></coordinates><panel_attributes><<Form>>
Dashboard
--
+ averageNumberOfJobsPerEmployer: double
+ averageNumberOfApplicationsPerWorker: double
+ avegageNumberOfApplicationsPerEmployer: double
+ ratioOfPendingApplications: double
+ ratioOfAcceptedApplications: double
+ ratioOfRejectedApplications: double
+ numberPublicDuty: double
+ numberPrivateDuty: double
+ numberFinalDuty: double
+ numberNoFinalDuty: double
+ averageDurationPeriodDuties: double
+ deviationDurationPeriodDuties: double
+ minimumDurationPeriodDuties: double
+ maximumDurationPeriodDuties: double
+ averageWorkloadDuties: double
+ deviationWorkloadDuties: double
+ minimumWorkloadDuties: double
+ maximumWorkloadDuties: double
</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>740</x><y>230</y><w>240</w><h>60</h></coordinates><panel_attributes><<Entity>>
UserRole
--
bg=yellow</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>240</x><y>320</y><w>220</w><h>120</h></coordinates><panel_attributes><<Datatype>>
UserIdentity
--
+ name: String {NotBlank}
+ surname: String {♫NotBlank}
+ email: String {NotBlank, Email}
+ / fullName: String {NotBlank}
bg=orange
</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLNote</id><coordinates><x>240</x><y>230</y><w>240</w><h>60</h></coordinates><panel_attributes>The full name catenates the
surname, a comma, and the name.
bg=blue</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>340</x><y>280</y><w>30</w><h>60</h></coordinates><panel_attributes>lt=..
</panel_attributes><additional_attributes>10;40;10;10</additional_attributes></element><element><id>Relation</id><coordinates><x>830</x><y>280</y><w>40</w><h>180</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>20;10;10;160</additional_attributes></element><element><id>UMLClass</id><coordinates><x>1030</x><y>280</y><w>100</w><h>30</h></coordinates><panel_attributes>Administrator
--
bg=yellow</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1030</x><y>240</y><w>100</w><h>30</h></coordinates><panel_attributes>Anonymous
--
bg=yellow</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1030</x><y>320</y><w>100</w><h>30</h></coordinates><panel_attributes>Authenticated
--
bg=yellow</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>970</x><y>250</y><w>80</w><h>30</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>10;10;60;10</additional_attributes></element><element><id>Relation</id><coordinates><x>970</x><y>250</y><w>80</w><h>60</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>10;10;60;40</additional_attributes></element><element><id>Relation</id><coordinates><x>970</x><y>250</y><w>80</w><h>110</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>10;10;60;90</additional_attributes></element><element><id>UMLClass</id><coordinates><x>2320</x><y>430</y><w>380</w><h>120</h></coordinates><panel_attributes><<Entity>>
Shout
--
+ moment: Date {NotNull, Temporal(TIMESTAMP), Past}
+ author: String {NotBlank, Length(5, 25)}
+ text: String {NotBlank, Length(0, 100)}
+ info: String {URL}</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1220</x><y>430</y><w>400</w><h>220</h></coordinates><panel_attributes><<Entity>>
Duty
--
+ title: String {NotBlank,Length(0,80)}
+ periodInitial: Date {NotNull, Temporal(TIMESTAMP)}
+ periodFinal: Date {NotNull, Temporal(TIMESTAMP)}
+ workloadInHours: Double {NotNull, Min={0}}
+ /workloadInMinutes: Double {NotNull,Min={0}}
+ /durationPeriodInHours: Long
+ /durationPeriodInMinutes: Long
+ description: String {NotBlank, Length(0, 500)}
+ link: String {URL}
+ isPublic: Boolean {NotNull}</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>850</x><y>120</y><w>60</w><h>130</h></coordinates><panel_attributes>lt=<->
m1=1
m2=*
has v</panel_attributes><additional_attributes>10;10;10;110</additional_attributes></element><element><id>UMLClass</id><coordinates><x>690</x><y>0</y><w>340</w><h>130</h></coordinates><panel_attributes><<Entity>>
UserAccount
--
+ username: String {Unique, NotBlank, Length(5, 60)}
+ password: String {NotBlank, Length(5, 60)}
+ enabled: boolean
+ identity: Identity {Valid}
+ / anonymous: boolean
</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1930</x><y>430</y><w>270</w><h>120</h></coordinates><panel_attributes><<Entity>>
Configuration
--
+ spamWords: String {NotBlank}
+ spamThreshold: double {Range{0,1}}
</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1650</x><y>430</y><w>220</w><h>120</h></coordinates><panel_attributes><<Entity>>
Banner
--
+ slogan: String {NotBlank}
+ picture: String {NotBlank, URL}
+ target: String {NotBlank, URL}</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1720</x><y>90</y><w>240</w><h>60</h></coordinates><panel_attributes><<Entity>>
DomainEntity
--
bg=yellow</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>0</x><y>890</y><w>220</w><h>130</h></coordinates><panel_attributes><<Enum>>
BasicCommand
--
+ LIST
+ SHOW
+ CREATE
+ UPDATE
+ DELETE
bg=white</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>1820</x><y>140</y><w>700</w><h>310</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>10;10;680;290</additional_attributes></element><element><id>Relation</id><coordinates><x>1830</x><y>140</y><w>260</w><h>310</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>10;10;240;290</additional_attributes></element><element><id>Relation</id><coordinates><x>1410</x><y>140</y><w>450</w><h>310</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>430;10;10;290</additional_attributes></element><element><id>UMLClass</id><coordinates><x>0</x><y>1050</y><w>210</w><h>100</h></coordinates><panel_attributes><<Enum>>
AnnouncementStatus
--
+ INFO
+ WARNING
+ IMPORTANT
</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>0</x><y>1160</y><w>210</w><h>100</h></coordinates><panel_attributes><<Enum>>
ApplicationStatus
--
+ PENDING
+ ACCEPTED
+ REJECTED
</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>1750</x><y>140</y><w>100</w><h>310</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>80;10;10;290</additional_attributes></element><element><id>Relation</id><coordinates><x>810</x><y>470</y><w>430</w><h>110</h></coordinates><panel_attributes>lt=->
m1=1
m2=*
Manage >
</panel_attributes><additional_attributes>10;10;270;80;410;80</additional_attributes></element></diagram>