small changes in diagrams

This commit is contained in:
Konrad 2022-01-05 11:26:40 +01:00
parent 23b3496cff
commit 2471524de6
7 changed files with 208 additions and 36 deletions

View File

@ -1,46 +1,48 @@
format 224
classinstance 128770 class_ref 128538 // Client
drawing_mode actor name "" xyz 1.85371 4.02234 2000 life_line_z 2000
drawing_mode actor name "" xyz 1.38371 4.00234 2000 life_line_z 2000
classinstance 128898 class_ref 128770 // TransactionController
name "" xyz 86.4496 12.2934 2000 life_line_z 2000
name "" xyz 87.4096 10.4234 2000 life_line_z 2000
classinstance 129410 class_ref 135688 // Card
name "" xyz 610.037 4.03219 2000 life_line_z 2000
name "" xyz 610.097 4.47219 2000 life_line_z 2000
classinstance 129794 class_ref 135298 // Terminal
name "" xyz 433.724 7.29117 2000 life_line_z 2000
name "" xyz 434.094 6.97117 2000 life_line_z 2000
classinstance 130562 class_ref 135554 // AuthorizationSystem
name "" xyz 944.106 4.63725 2000 life_line_z 2000
name "" xyz 944.196 5.16725 2000 life_line_z 2000
durationcanvas 129026 classinstance_ref 128770 // :Client
xyzwh 12 73.293 2010 11 102
xyzwh 12 73.07 2010 11 102
end
durationcanvas 129154 classinstance_ref 128898 // :TransactionController
xyzwh 139 105.369 2010 11 306
xyzwh 139 105.13 2010 11 306
end
durationcanvas 129538 classinstance_ref 129410 // :Card
xyzwh 629 303.665 2010 11 74
xyzwh 629 302.51 2010 11 74
end
durationcanvas 129922 classinstance_ref 129794 // :Terminal
xyzwh 454 169.021 2010 11 106
xyzwh 454 168.89 2010 11 106
end
msg 129282 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 129154
yz 120 2015 explicitmsg "applyCard()"
yz 120 2015 msg operation_ref 128002 // "applyCard()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 32 106
msg 129666 synchronous
from durationcanvas_ref 129154
to durationcanvas_ref 129538
yz 312 3005 explicitmsg "createCard(numbe:stringr, month:int,year:int,cvv:string)"
yz 312 3005 msg operation_ref 128258 // "createCard()"
stereotype "<<create>>" xyz 322 324 3000
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "numbe:String, month:Int,year:Int,cvv:String"
label_xy 172 288
msg 130050 synchronous
from durationcanvas_ref 129154
to durationcanvas_ref 129922
yz 176 2015 explicitmsg "getCardData(number:string, month:int, year:int, cvv:string)"
yz 176 2015 msg operation_ref 128130 // "getCardData()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 154 160
args "number:String, month:Int, year:Int, cvv:String"
label_xy 153 160
msg 130434 return
from durationcanvas_ref 129922
to durationcanvas_ref 129154

View File

@ -9,28 +9,29 @@ classinstance 128258 class_ref 135298 // Terminal
classinstance 128386 class_ref 135688 // Card
name "" xyz 721.165 4.38073 2000 life_line_z 2000
durationcanvas 128514 classinstance_ref 128002 // :Client
xyzwh 35 151.42 2010 11 40
xyzwh 35 151 2010 11 40
end
durationcanvas 128642 classinstance_ref 128130 // :TransactionController
xyzwh 214 152.014 2010 11 214
xyzwh 217 152 2010 11 214
end
durationcanvas 128898 classinstance_ref 128258 // :Terminal
xyzwh 560 165.601 2010 11 105
xyzwh 563 165 2010 11 105
end
durationcanvas 129538 classinstance_ref 128386 // :Card
xyzwh 737 350.989 2010 11 25
xyzwh 740 350 2010 11 25
end
msg 128770 synchronous
from durationcanvas_ref 128514
to durationcanvas_ref 128642
yz 152 2015 explicitmsg "applyCard()"
yz 152 2015 msg operation_ref 128002 // "applyCard()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 91 138
msg 129026 synchronous
from durationcanvas_ref 128642
to durationcanvas_ref 128898
yz 166 2015 explicitmsg "getCardData(number:string,month,int,year:int,cvv:string)"
yz 166 2015 msg operation_ref 128130 // "getCardData()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "number:String,month:Int,year:Int,cvv:String"
label_xy 250 152
msg 129410 return
from durationcanvas_ref 128898
@ -41,8 +42,9 @@ msg 129410 return
msg 129666 synchronous
from durationcanvas_ref 128642
to durationcanvas_ref 129538
yz 350 2015 explicitmsg "createCard(number:string,month,int,year:int,cvv:string)"
yz 350 2015 msg operation_ref 128258 // "createCard()"
stereotype "<<create>>" xyz 457 364 3000
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "number:String,month:Int,year:Int,cvv:String"
label_xy 384 333
end

View File

@ -5,23 +5,24 @@ classinstance 128002 class_ref 128538 // Client
classinstance 129410 class_ref 128770 // TransactionController
name "" xyz 204.4 11.8 2000 life_line_z 2000
durationcanvas 129538 classinstance_ref 128002 // :Client
xyzwh 17 121.7 2010 11 40
xyzwh 17 121 2010 11 40
end
durationcanvas 129666 classinstance_ref 129410 // :TransactionController
xyzwh 257 122.4 2010 11 82
xyzwh 257 122 2010 11 82
overlappingdurationcanvas 129922
xyzwh 263 139.7 2020 11 25
xyzwh 263 139 2020 11 25
end
end
msg 129794 synchronous
from durationcanvas_ref 129538
to durationcanvas_ref 129666
yz 122 2015 explicitmsg "cancelTransaction()"
yz 122 2015 msg operation_ref 128770 // "cancelTransaction()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 100 108
reflexivemsg 130050 synchronous
to durationcanvas_ref 129922
yz 139 2025 explicitmsg "cancelTransaction(Transaction:currentTransaction)"
yz 139 2025 msg operation_ref 128770 // "cancelTransaction()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "currentTransaction:Transaction"
label_xy 298 138
end

View File

@ -44,20 +44,23 @@ msg 128514 synchronous
msg 130178 synchronous
from durationcanvas_ref 128386
to durationcanvas_ref 130050
yz 143 2020 explicitmsg "printTransactionConfirmation(Transaction transaction)"
yz 143 2020 msg operation_ref 129282 // "printTransactionConfirmation()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "transaction:Transaction"
label_xy 224 130
msg 130690 synchronous
from durationcanvas_ref 130050
to durationcanvas_ref 130562
yz 207 2015 explicitmsg "createTransactionConfirmation(Card:card )"
yz 207 2015 msg operation_ref 129154 // "createTransactionConfirmation()"
stereotype "<<create>>" xyz 485 221 3000
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "card:Card"
label_xy 392 192
reflexivemsg 130946 synchronous
to durationcanvas_ref 130818
yz 223 2025 explicitmsg "printTransactionConfirmation(TransactionConfirmation: transactionConfirmation)"
yz 223 2025 msg operation_ref 129410 // "printTransactionConfirmation()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "transactionConfirmation:TransactionConfirmation"
label_xy 456 272
msg 131330 synchronous
from durationcanvas_ref 131074

View File

@ -50,7 +50,7 @@ msg 128642 synchronous
msg 129026 synchronous
from durationcanvas_ref 128514
to durationcanvas_ref 128898
yz 144 2020 explicitmsg "getPIN(PIN:string)"
yz 144 2020 explicitmsg "getPIN(PIN:String)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 246 128
msg 129154 return
@ -62,7 +62,7 @@ msg 129154 return
msg 129538 synchronous
from durationcanvas_ref 128514
to durationcanvas_ref 129410
yz 240 2015 explicitmsg "authorize(card:Card, PIN:string):Boolean"
yz 240 2015 explicitmsg "authorize(card:Card, PIN:String):Boolean"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 213 226
msg 129666 return
@ -84,7 +84,7 @@ reflexivemsg 130306 synchronous
msg 130946 synchronous
from durationcanvas_ref 128514
to durationcanvas_ref 130818
yz 511 2015 explicitmsg "authorize(card:Card, PIN:string):Boolean"
yz 511 2015 explicitmsg "authorize(card:Card, PIN:String):Boolean"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 323 497
msg 131074 return

View File

@ -1,6 +1,30 @@
window_sizes 1920 1017 351 1564 867 104
show_stereotypes
selected
package_ref 129 // models
diagrams
active classdiagram_ref 147970 // design-model
1564 867 100 A0 12 0
end
show_stereotypes
selected class_ref 129050 // Worker
open
class_ref 128410 // Order
class_ref 128666 // CardPayment
class_ref 128922 // Automat
class_ref 129050 // Worker
class_ref 129178 // Shelf
class_ref 135834 // CashPayment
class_ref 135962 // CoinCollector
class_ref 135816 // CashCollector
class_ref 136072 // Culture
class_ref 135298 // Terminal
class_ref 135426 // Klient
class_ref 135554 // AuthorizationSystem
class_ref 135938 // TransactionConfirmation
class_ref 142466 // Transaction
class_ref 128069 // Client
class_ref 134981 // LanguageController
class_ref 135109 // MealPrepearer
class_ref 141637 // PaymentSelectorController
class_ref 141765 // CollectorFactory
end
end

View File

@ -1,7 +1,7 @@
format 224
"models"
revision 16
modified_by 69 "s452684"
revision 17
modified_by 2 "s452667"
@ -1378,6 +1378,30 @@ ${members}}
mysql_decl ""
MysqlColumn
end
operation 128258 "createCard"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 128642 "createCard"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
end
class 135816 "CashCollector"
@ -1587,6 +1611,53 @@ ${members}}
explicit_switch_type ""
mysql_decl ""
operation 128002 "applyCard"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 128386 "applyCard"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 128770 "cancelTransaction"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 128898 "cancelTransaction"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
end
sequencediagram 141058 "3-2-wlozenie_karty"
@ -1621,6 +1692,41 @@ ${members}}
explicit_switch_type ""
mysql_decl ""
operation 128130 "getCardData"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 128514 "getCardData"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 129026 "getCardData"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
end
class 135426 "Klient"
@ -1691,6 +1797,29 @@ ${members}}
explicit_switch_type ""
mysql_decl ""
operation 129154 "createTransactionConfirmation"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 129410 "printTransactionConfirmation"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
end
class 142466 "Transaction"
@ -1705,6 +1834,17 @@ ${members}}
explicit_switch_type ""
mysql_decl ""
operation 129282 "printTransactionConfirmation"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
end
class 142594 "PaymentCreator"