Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ac3360c82f | ||
|
f70652e7a6 | ||
|
95b1bcface | ||
|
fb1a69e3d3 | ||
|
7ee97c9a7a | ||
|
02c1d29e9f | ||
|
707b932c8b | ||
|
cb38d7392b | ||
|
01b89d7e77 | ||
|
3a1266c485 | ||
|
ecf6089dbb | ||
|
2d89456f54 | ||
|
8b94f4945a |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
.idea/
|
||||
target/
|
8
.idea/.gitignore
vendored
Normal file
8
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
11
.idea/Projekt_APO-Automat_spozywczy.iml
Normal file
11
.idea/Projekt_APO-Automat_spozywczy.iml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
6
.idea/misc.xml
Normal file
6
.idea/misc.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_16" project-jdk-name="openjdk-17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/Projekt_APO-Automat_spozywczy.iml" filepath="$PROJECT_DIR$/.idea/Projekt_APO-Automat_spozywczy.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
10
.idea/runConfigurations.xml
Normal file
10
.idea/runConfigurations.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RunConfigurationProducerService">
|
||||
<option name="ignoredProducers">
|
||||
<set>
|
||||
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
124
.idea/uiDesigner.xml
Normal file
124
.idea/uiDesigner.xml
Normal file
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -1,47 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128008 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 282 30 2000 life_line_z 2000
|
||||
classinstance 128136 class_ref 128410 // Order
|
||||
name "" xyz 822 32 2000 life_line_z 2000
|
||||
classinstance 128648 class_ref 128922 // Automat
|
||||
name "" xyz 555 33 2000 life_line_z 2000
|
||||
classinstance 131208 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 42 30 2000 life_line_z 2000
|
||||
durationcanvas 134280 classinstance_ref 128008 // :AutomatController
|
||||
xyzwh 327 107 2010 11 80
|
||||
end
|
||||
durationcanvas 135560 classinstance_ref 128648 // :Automat
|
||||
xyzwh 577 135 2010 11 46
|
||||
end
|
||||
durationcanvas 135816 classinstance_ref 128136 // :Order
|
||||
xyzwh 841 150 2010 11 39
|
||||
end
|
||||
durationcanvas 137096 classinstance_ref 131208 // :Client
|
||||
xyzwh 53 101 2010 11 87
|
||||
end
|
||||
msg 135688 synchronous
|
||||
from durationcanvas_ref 134280
|
||||
to durationcanvas_ref 135560
|
||||
yz 141 2020 msg operation_ref 129794 // "CreateOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 400 128
|
||||
msg 135944 synchronous
|
||||
from durationcanvas_ref 135560
|
||||
to durationcanvas_ref 135816
|
||||
yz 159 2015 explicitmsg "order := <<create>>Create()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 634 147
|
||||
msg 137352 synchronous
|
||||
from durationcanvas_ref 137096
|
||||
to durationcanvas_ref 134280
|
||||
yz 127 2025 msg operation_ref 129666 // "ClickStartButton()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 100 113
|
||||
msg 137608 return
|
||||
from durationcanvas_ref 134280
|
||||
to durationcanvas_ref 137096
|
||||
yz 170 2015 explicitmsg "ShowShelfNumberInputView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 100 157
|
||||
end
|
@ -1,38 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128092 class_ref 128069 // Client
|
||||
name "" xyz 33 4 2000 life_line_z 2000
|
||||
classinstance 128220 class_ref 135944 // Collector
|
||||
name "" xyz 166 4 2000 life_line_z 2000
|
||||
classinstance 128732 class_ref 135962 // CoinCollector
|
||||
name "" xyz 394 4 2000 life_line_z 2000
|
||||
durationcanvas 128348 classinstance_ref 128092 // :Client
|
||||
xyzwh 44 138 2010 11 205
|
||||
end
|
||||
durationcanvas 128476 classinstance_ref 128220 // :Collector
|
||||
xyzwh 189 138 2010 11 88
|
||||
end
|
||||
durationcanvas 128860 classinstance_ref 128220 // :Collector
|
||||
xyzwh 189 138 2010 11 101
|
||||
end
|
||||
durationcanvas 128988 classinstance_ref 128732 // :CoinCollector
|
||||
xyzwh 427 201 2010 11 145
|
||||
end
|
||||
msg 128604 synchronous
|
||||
from durationcanvas_ref 128348
|
||||
to durationcanvas_ref 128476
|
||||
yz 139 2015 unspecifiedmsg
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
msg 129116 synchronous
|
||||
from durationcanvas_ref 128860
|
||||
to durationcanvas_ref 128988
|
||||
yz 201 2015 msg operation_ref 135554 // "createCoinCollector()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 262 187
|
||||
msg 129244 return
|
||||
from durationcanvas_ref 128988
|
||||
to durationcanvas_ref 128348
|
||||
yz 301 2015 explicitmsg "acceptCoins()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 207 287
|
||||
end
|
@ -1,35 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128092 class_ref 128069 // Client
|
||||
name "" xyz 40 4 2000 life_line_z 2000
|
||||
classinstance 128220 class_ref 135944 // Collector
|
||||
name "" xyz 180 8 2000 life_line_z 2000
|
||||
classinstance 128348 class_ref 135816 // CashCollector
|
||||
name "" xyz 350 4 2000 life_line_z 2000
|
||||
durationcanvas 128476 classinstance_ref 128092 // :Client
|
||||
xyzwh 51 116 2010 11 156
|
||||
end
|
||||
durationcanvas 128604 classinstance_ref 128220 // :Collector
|
||||
xyzwh 203 115 2010 11 89
|
||||
end
|
||||
durationcanvas 128860 classinstance_ref 128348 // :CashCollector
|
||||
xyzwh 385 136 2010 11 140
|
||||
end
|
||||
msg 128732 synchronous
|
||||
from durationcanvas_ref 128476
|
||||
to durationcanvas_ref 128604
|
||||
yz 116 2015 unspecifiedmsg
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
msg 128988 synchronous
|
||||
from durationcanvas_ref 128604
|
||||
to durationcanvas_ref 128860
|
||||
yz 136 2015 msg operation_ref 128220 // "createCashCollector()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 246 122
|
||||
msg 129244 return
|
||||
from durationcanvas_ref 128860
|
||||
to durationcanvas_ref 128476
|
||||
yz 248 2015 explicitmsg "acceptCashMessage()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 168 234
|
||||
end
|
@ -1,19 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128092 class_ref 128069 // Client
|
||||
name "" xyz 36 4 2000 life_line_z 2000
|
||||
classinstance 128220 class_ref 128770 // TransactionController
|
||||
name "" xyz 180 11 2000 life_line_z 2000
|
||||
durationcanvas 128476 classinstance_ref 128092 // :Client
|
||||
xyzwh 47 147 2010 11 40
|
||||
end
|
||||
durationcanvas 128604 classinstance_ref 128220 // :TransactionController
|
||||
xyzwh 233 148 2010 11 51
|
||||
end
|
||||
msg 128732 synchronous
|
||||
from durationcanvas_ref 128476
|
||||
to durationcanvas_ref 128604
|
||||
yz 148 2015 msg operation_ref 133122 // "cancelTransaction()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 97 134
|
||||
end
|
@ -1,40 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128092 class_ref 128069 // Client
|
||||
name "" xyz 36 4 2000 life_line_z 2000
|
||||
classinstance 128220 class_ref 128770 // TransactionController
|
||||
name "" xyz 167 4 2000 life_line_z 2000
|
||||
classinstance 128348 class_ref 142466 // Transaction
|
||||
name "" xyz 429 5 2000 life_line_z 2000
|
||||
classinstance 128476 class_ref 135938 // TransactionConfirmation
|
||||
name "" xyz 626 9 2000 life_line_z 2000
|
||||
durationcanvas 128604 classinstance_ref 128092 // :Client
|
||||
xyzwh 47 151 2010 11 40
|
||||
end
|
||||
durationcanvas 128732 classinstance_ref 128220 // :TransactionController
|
||||
xyzwh 220 151 2010 11 79
|
||||
end
|
||||
durationcanvas 128988 classinstance_ref 128348 // :Transaction
|
||||
xyzwh 459 204 2010 11 69
|
||||
end
|
||||
durationcanvas 129244 classinstance_ref 128476 // :TransactionConfirmation
|
||||
xyzwh 686 257 2010 11 78
|
||||
end
|
||||
msg 128860 synchronous
|
||||
from durationcanvas_ref 128604
|
||||
to durationcanvas_ref 128732
|
||||
yz 151 2015 unspecifiedmsg
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
msg 129116 synchronous
|
||||
from durationcanvas_ref 128732
|
||||
to durationcanvas_ref 128988
|
||||
yz 204 2015 msg operation_ref 133378 // "printTransactionConfirmation()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 272 190
|
||||
msg 129372 synchronous
|
||||
from durationcanvas_ref 128988
|
||||
to durationcanvas_ref 129244
|
||||
yz 257 2015 msg operation_ref 133506 // "createTransactionConfirmation()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 500 243
|
||||
end
|
@ -1,38 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128092 class_ref 128069 // Client
|
||||
name "" xyz 27 4 2000 life_line_z 2000
|
||||
classinstance 128220 class_ref 135944 // Collector
|
||||
name "" xyz 173 4 2000 life_line_z 2000
|
||||
classinstance 128348 class_ref 135962 // CoinCollector
|
||||
name "" xyz 404 4 2000 life_line_z 2000
|
||||
durationcanvas 128476 classinstance_ref 128092 // :Client
|
||||
xyzwh 38 128 2010 11 220
|
||||
end
|
||||
durationcanvas 128604 classinstance_ref 128220 // :Collector
|
||||
xyzwh 196 129 2010 11 114
|
||||
end
|
||||
durationcanvas 128860 classinstance_ref 128348 // :CoinCollector
|
||||
xyzwh 437 149 2010 11 184
|
||||
end
|
||||
durationcanvas 129116 classinstance_ref 128092 // :Client
|
||||
xyzwh 38 249 2010 11 80
|
||||
end
|
||||
msg 128732 synchronous
|
||||
from durationcanvas_ref 128476
|
||||
to durationcanvas_ref 128604
|
||||
yz 129 2015 unspecifiedmsg
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
msg 128988 synchronous
|
||||
from durationcanvas_ref 128604
|
||||
to durationcanvas_ref 128860
|
||||
yz 150 2015 msg operation_ref 135554 // "createCoinCollector()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 259 136
|
||||
msg 129244 return
|
||||
from durationcanvas_ref 128860
|
||||
to durationcanvas_ref 129116
|
||||
yz 313 2015 explicitmsg "returnCoins()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 224 299
|
||||
end
|
@ -1,35 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128092 class_ref 128069 // Client
|
||||
name "" xyz 56 4 2000 life_line_z 2000
|
||||
classinstance 128220 class_ref 135944 // Collector
|
||||
name "" xyz 198 4 2000 life_line_z 2000
|
||||
classinstance 128348 class_ref 135816 // CashCollector
|
||||
name "" xyz 397 4 2000 life_line_z 2000
|
||||
durationcanvas 128476 classinstance_ref 128092 // :Client
|
||||
xyzwh 67 99 2010 11 199
|
||||
end
|
||||
durationcanvas 128604 classinstance_ref 128220 // :Collector
|
||||
xyzwh 221 108 2010 11 59
|
||||
end
|
||||
durationcanvas 128860 classinstance_ref 128348 // :CashCollector
|
||||
xyzwh 432 125 2010 11 148
|
||||
end
|
||||
msg 128732 synchronous
|
||||
from durationcanvas_ref 128476
|
||||
to durationcanvas_ref 128604
|
||||
yz 111 2015 unspecifiedmsg
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
msg 128988 synchronous
|
||||
from durationcanvas_ref 128604
|
||||
to durationcanvas_ref 128860
|
||||
yz 126 2015 msg operation_ref 135426 // "createCastCollector()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 281 112
|
||||
msg 129116 return
|
||||
from durationcanvas_ref 128860
|
||||
to durationcanvas_ref 128476
|
||||
yz 251 2015 explicitmsg "returnCash()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 253 238
|
||||
end
|
@ -1,53 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128770 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 1.93371 4.30234 2000 life_line_z 2000
|
||||
classinstance 128898 class_ref 128770 // TransactionController
|
||||
name "" xyz 89.2496 9.7234 2000 life_line_z 2000
|
||||
classinstance 129410 class_ref 135688 // Card
|
||||
name "" xyz 610.197 3.87219 2000 life_line_z 2000
|
||||
classinstance 129794 class_ref 135298 // Terminal
|
||||
name "" xyz 435.184 5.73117 2000 life_line_z 2000
|
||||
classinstance 130562 class_ref 135554 // AuthorizationSystem
|
||||
name "" xyz 948.826 4.71725 2000 life_line_z 2000
|
||||
durationcanvas 129026 classinstance_ref 128770 // :Client
|
||||
xyzwh 12 73.07 2010 11 102
|
||||
end
|
||||
durationcanvas 129154 classinstance_ref 128898 // :TransactionController
|
||||
xyzwh 141 105.13 2010 11 306
|
||||
end
|
||||
durationcanvas 129538 classinstance_ref 129410 // :Card
|
||||
xyzwh 629 302.42 2010 11 74
|
||||
end
|
||||
durationcanvas 129922 classinstance_ref 129794 // :Terminal
|
||||
xyzwh 456 167.8 2010 11 106
|
||||
end
|
||||
msg 129282 synchronous
|
||||
from durationcanvas_ref 129026
|
||||
to durationcanvas_ref 129154
|
||||
yz 120 2015 explicitmsg "<deleted operation>"
|
||||
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 msg operation_ref 128386 // "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 "number: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 "<deleted operation>"
|
||||
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 174 146
|
||||
msg 130434 return
|
||||
from durationcanvas_ref 129922
|
||||
to durationcanvas_ref 129154
|
||||
yz 231 3010 explicitmsg "number, month, year, cvv"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 236 215
|
||||
preferred_whz 0 0 1.03
|
||||
end
|
@ -1,147 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128008 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 374 33 2000 life_line_z 2010
|
||||
classinstance 128264 class_ref 128922 // Automat
|
||||
name "" xyz 706 40 2000 life_line_z 2010
|
||||
classinstance 130696 class_ref 129178 // Shelf
|
||||
name "" xyz 966 38 2000 life_line_z 2010
|
||||
classinstance 132104 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 27 24 2000 life_line_z 2000
|
||||
classinstance 137224 class_ref 128410 // Order
|
||||
name "" xyz 1217 40 2000 life_line_z 2010
|
||||
fragment 149384 "alt"
|
||||
color verylightorange xyzwh 235 246 0 1042 436
|
||||
separator 2172
|
||||
end
|
||||
textcanvas 149512 "[shelf == null]"
|
||||
font bold xyzwh 265 248 2000 81 16
|
||||
textcanvas 149640 "[shlef != null]"
|
||||
font bold xyzwh 237 341 2000 73 16
|
||||
fragment 150024 "alt"
|
||||
color lightyellow xyzwh 259 405 2000 1005 241
|
||||
separator 3135
|
||||
end
|
||||
textcanvas 150280 "[isEmpty == true]"
|
||||
font bold xyzwh 290 407 2005 99 15
|
||||
textcanvas 150408 "[isEmpty == false]"
|
||||
font bold xyzwh 261 487 2006 102 16
|
||||
durationcanvas 144904 classinstance_ref 132104 // :Client
|
||||
xyzwh 38 131 2010 11 45
|
||||
end
|
||||
durationcanvas 146568 classinstance_ref 132104 // :Client
|
||||
xyzwh 38 307 2010 11 32
|
||||
end
|
||||
durationcanvas 147720 classinstance_ref 132104 // :Client
|
||||
xyzwh 38 450 2010 11 37
|
||||
end
|
||||
durationcanvas 147976 classinstance_ref 130696 // :Shelf
|
||||
xyzwh 985 352 2015 11 194
|
||||
end
|
||||
durationcanvas 148232 classinstance_ref 128264 // :Automat
|
||||
xyzwh 728 179 2015 11 436
|
||||
overlappingdurationcanvas 145672
|
||||
xyzwh 734 197 2020 11 31
|
||||
end
|
||||
end
|
||||
durationcanvas 148616 classinstance_ref 137224 // :Order
|
||||
xyzwh 1236 556 2015 11 39
|
||||
end
|
||||
durationcanvas 148872 classinstance_ref 128008 // :AutomatController
|
||||
xyzwh 419 136 2015 11 489
|
||||
end
|
||||
durationcanvas 149128 classinstance_ref 132104 // :Client
|
||||
xyzwh 38 599 2010 11 30
|
||||
end
|
||||
msg 145160 synchronous
|
||||
from durationcanvas_ref 144904
|
||||
to durationcanvas_ref 148872
|
||||
yz 136 2015 msg operation_ref 129922 // "EntersProductNumber()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 102 121
|
||||
msg 145544 synchronous
|
||||
from durationcanvas_ref 148872
|
||||
to durationcanvas_ref 148232
|
||||
yz 180 2015 msg operation_ref 130050 // "AddProduct()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "shelfNumber: int"
|
||||
label_xy 507 166
|
||||
reflexivemsg 145800 synchronous
|
||||
to durationcanvas_ref 145672
|
||||
yz 197 2025 msg operation_ref 130178 // "FindShelf()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "shelfNumber: int"
|
||||
label_xy 769 196
|
||||
selfreflexivemsg 145928
|
||||
to durationcanvas_ref 145672
|
||||
yz 220 3005 explicitmsg "shelf: Shlef?"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 769 218
|
||||
msg 146440 return
|
||||
from durationcanvas_ref 148232
|
||||
to durationcanvas_ref 148872
|
||||
yz 291 2015 explicitmsg "NotFound: AddProductStatus"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 517 279
|
||||
msg 146696 return
|
||||
from durationcanvas_ref 148872
|
||||
to durationcanvas_ref 146568
|
||||
yz 312 2015 explicitmsg "ProductNotFoundErrorMessage"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 66 298
|
||||
msg 147080 synchronous
|
||||
from durationcanvas_ref 148232
|
||||
to durationcanvas_ref 147976
|
||||
yz 359 2015 msg operation_ref 130306 // "isEmpty()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 839 345
|
||||
msg 147208 return
|
||||
from durationcanvas_ref 147976
|
||||
to durationcanvas_ref 148232
|
||||
yz 381 2020 explicitmsg "isEmpty: bool"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 835 371
|
||||
msg 147592 return
|
||||
from durationcanvas_ref 148232
|
||||
to durationcanvas_ref 148872
|
||||
yz 450 2020 explicitmsg "OutOfStock: AddProductStatus"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 506 436
|
||||
msg 147848 return
|
||||
from durationcanvas_ref 148872
|
||||
to durationcanvas_ref 147720
|
||||
yz 461 2020 explicitmsg "ProductOutOfStockErrorMessage"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 61 449
|
||||
msg 148104 synchronous
|
||||
from durationcanvas_ref 148232
|
||||
to durationcanvas_ref 147976
|
||||
yz 504 2020 msg operation_ref 130306 // "isEmpty()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 830 490
|
||||
msg 148360 return
|
||||
from durationcanvas_ref 147976
|
||||
to durationcanvas_ref 148232
|
||||
yz 525 2020 explicitmsg "product: Product"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 826 515
|
||||
msg 148744 synchronous
|
||||
from durationcanvas_ref 148232
|
||||
to durationcanvas_ref 148616
|
||||
yz 573 2020 msg operation_ref 130434 // "AddProduct()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "product: Product"
|
||||
label_xy 777 562
|
||||
msg 149000 return
|
||||
from durationcanvas_ref 148232
|
||||
to durationcanvas_ref 148872
|
||||
yz 585 2020 explicitmsg "Success: AddProductStatus"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 517 574
|
||||
msg 149256 return
|
||||
from durationcanvas_ref 148872
|
||||
to durationcanvas_ref 149128
|
||||
yz 604 2020 explicitmsg "ShowPaymentSelectView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 65 593
|
||||
end
|
@ -1,219 +0,0 @@
|
||||
format 224
|
||||
|
||||
classcanvas 128008 class_ref 128008 // Coin
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1605.99 768.88 2000 82 39
|
||||
end
|
||||
classcanvas 128136 class_ref 128136 // Price
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 542.5 249.27 2000 117 65
|
||||
end
|
||||
classcanvas 128154 class_ref 128154 // Product
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 354.488 517.046 2000 109 42
|
||||
end
|
||||
classcanvas 128282 class_ref 128282 // Meal
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 758.632 503.146 2000 105 49
|
||||
end
|
||||
classcanvas 128410 class_ref 128410 // Order
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 971.003 393.926 2000 141 186
|
||||
end
|
||||
classcanvas 129178 class_ref 128666 // CardPayment
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1403.87 391.153 2000 145 49
|
||||
end
|
||||
classcanvas 129434 class_ref 128922 // Automat
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 730.036 534.131 2000 169 345
|
||||
end
|
||||
classcanvas 129562 class_ref 129050 // Worker
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 728.689 832.522 2000 161 91
|
||||
end
|
||||
classcanvas 129690 class_ref 129178 // Shelf
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 535.185 683.051 2000 125 90
|
||||
end
|
||||
classcanvas 129800 class_ref 128026 // Ware
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 537.95 394.59 2000 127 49
|
||||
end
|
||||
classcanvas 129818 class_ref 135706 // Payment
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1249.66 389.962 2000 100 49
|
||||
end
|
||||
classcanvas 129946 class_ref 135834 // CashPayment
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1388.42 257.632 2000 145 59
|
||||
end
|
||||
classcanvas 130074 class_ref 135962 // CoinCollectorAdapter
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1201.01 643.607 2000 140 65
|
||||
end
|
||||
classcanvas 131080 class_ref 128264 // PhoneNumber
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 207.89 902.75 2000 124 65
|
||||
end
|
||||
classcanvas 131464 class_ref 128794 // Warehouse
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 91.19 394.84 2000 127 49
|
||||
end
|
||||
classcanvas 131848 class_ref 128392 // ProductType
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 88.25 512.83 2000 118 49
|
||||
end
|
||||
classcanvas 132104 class_ref 128520 // Date
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 991.93 240.22 2000 92 49
|
||||
end
|
||||
classcanvas 132360 class_ref 128648 // Address
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 84.54 756.06 2000 91 81
|
||||
end
|
||||
classcanvas 133000 class_ref 128776 // Money
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1443.3 797.44 2000 80 49
|
||||
end
|
||||
classcanvas 133128 class_ref 128904 // Cash
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1610.77 843.97 2000 79 39
|
||||
end
|
||||
classcanvas 133768 class_ref 135432 // Currency
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1441.77 919.1 2000 87 39
|
||||
end
|
||||
classcanvas 134024 class_ref 135560 // ZipCode
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 89.44 901.47 2000 80 65
|
||||
end
|
||||
classcanvas 135432 class_ref 135688 // Card
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1598.88 358.42 2000 93 107
|
||||
end
|
||||
classcanvas 136840 class_ref 135816 // CashCollectorAdapter
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 1198.07 733.64 2000 145 65
|
||||
end
|
||||
classcanvas 136968 class_ref 135944 // CollectorAdapter
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1002.88 676.91 2000
|
||||
end
|
||||
classcanvas 138504 class_ref 136072 // Culture
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 376.67 904.46 2000 139 59
|
||||
end
|
||||
relationcanvas 128197 relation_ref 128197 // Posiada ^
|
||||
from ref 129690 z 2001 label "Posiada ^" italic max_width 255 xyz 598 548 2001 to ref 129800
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 580 450 3000 multiplicity_b_pos 578 661 3000
|
||||
end
|
||||
relationcanvas 128264 relation_ref 128008 // <Posiada
|
||||
from ref 129434 z 2001 label "<Posiada" italic max_width 255 xyz 672 634 2001 to ref 129690
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 673 728 3000 multiplicity_b_pos 710 721 3000
|
||||
end
|
||||
relationcanvas 130184 relation_ref 129416 // Posiada
|
||||
from ref 129800 z 2001 label "Posiada" italic max_width 255 xyz 602 341 2001 to ref 128136
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 584 320 3000 multiplicity_b_pos 584 375 3000
|
||||
end
|
||||
relationcanvas 130312 relation_ref 129544 // <Zawiera
|
||||
from ref 129800 z 2001 label "<Zawiera" italic max_width 255 xyz 797 403 2001 to ref 128410
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 961 425 3000 multiplicity_b_pos 673 425 3000
|
||||
end
|
||||
relationcanvas 130568 relation_ref 129800 // Oplacone przez>
|
||||
from ref 128410 z 2001 label "Oplacone przez>" italic max_width 255 xyz 1128 401 2001 to ref 129818
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1233 420 3000 multiplicity_b_pos 1104 423 3000
|
||||
end
|
||||
relationcanvas 131336 relation_ref 130440 // Ma
|
||||
from ref 129434 z 2001 label "Ma" italic max_width 255 xyz 829 756 2001 to ref 129562
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 779 883 3000 multiplicity_b_pos 822 883 3000
|
||||
end
|
||||
relationcanvas 131592 relation_ref 130568 // >Posiada
|
||||
from ref 131464 z 2001 label ">Posiada" italic max_width 255 xyz 356 402 2001 to ref 129800
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 522 425 3000 multiplicity_b_pos 227 425 3000
|
||||
end
|
||||
relationcanvas 131976 relation_ref 130696 // <Jest
|
||||
from ref 128154 z 2001 label "<Jest" italic max_width 255 xyz 267 521 2001 to ref 131848
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 216 542 3000 multiplicity_b_pos 338 542 3000
|
||||
end
|
||||
relationcanvas 132232 relation_ref 130824 // ^Utworzono
|
||||
from ref 128410 z 2001 label "^Utworzono" italic max_width 255 xyz 1008 327 2001 to ref 132104
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1020 295 3000 multiplicity_b_pos 1020 375 3000
|
||||
end
|
||||
relationcanvas 134792 relation_ref 138504 // <generalisation>
|
||||
from ref 128154 z 2001 to ref 129800
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 134920 relation_ref 138632 // <generalisation>
|
||||
from ref 128282 z 2001 to ref 129800
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 135048 relation_ref 138760 // Posiada
|
||||
from ref 132360 z 2001 label "Posiada" italic max_width 255 xyz 128 865 2001 to ref 134024
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 111 882 3000 multiplicity_b_pos 111 836 3000
|
||||
end
|
||||
relationcanvas 135560 relation_ref 139144 // Wymaga
|
||||
from ref 129178 z 2001 label "Wymaga" italic max_width 255 xyz 1525 391 2001 to ref 135432
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1577 419 3000 multiplicity_b_pos 1559 420 3000
|
||||
end
|
||||
relationcanvas 136072 relation_ref 139400 // <generalisation>
|
||||
decenter_end 707
|
||||
from ref 129946 z 2001 to ref 129818
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 136200 relation_ref 139528 // <generalisation>
|
||||
from ref 129178 z 2007 to ref 129818
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 137096 relation_ref 139656 // Posiada
|
||||
from ref 129434 z 2001 label "Posiada" italic max_width 255 xyz 900 643 2001 to ref 136968
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 978 713 3000 multiplicity_b_pos 912 713 3000
|
||||
end
|
||||
relationcanvas 137224 relation_ref 139784 // <generalisation>
|
||||
from ref 130074 z 2001 to ref 136968
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 137480 relation_ref 139912 // <generalisation>
|
||||
from ref 136840 z 2001 to ref 136968
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 137608 relation_ref 140040 // <generalisation>
|
||||
from ref 128008 z 2001 to ref 133000
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 137736 relation_ref 140168 // <generalisation>
|
||||
from ref 133128 z 2007 to ref 133000
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 138248 relation_ref 140296 // Posiada
|
||||
from ref 133000 z 2001 label "Posiada" italic max_width 255 xyz 1489 872 2001 to ref 133768
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1467 902 3000 multiplicity_b_pos 1466 847 3000
|
||||
end
|
||||
relationcanvas 138632 relation_ref 146824 // Tworzy
|
||||
decenter_begin 921
|
||||
from ref 129434 z 2001 label "Tworzy" italic max_width 255 xyz 934 700 2001 to ref 128410
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 983 586 3000 multiplicity_b_pos 882 833 3000
|
||||
end
|
||||
end
|
@ -1,62 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 133000 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 67 20 2000 life_line_z 2000
|
||||
classinstance 133128 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 286 22 2000 life_line_z 2000
|
||||
classinstance 134024 class_ref 128922 // Automat
|
||||
name "" xyz 542 23 2000 life_line_z 2000
|
||||
classinstance 134152 class_ref 128410 // Order
|
||||
name "" xyz 799 23 2000 life_line_z 2000
|
||||
classinstance 134280 class_ref 135834 // CashPayment
|
||||
name "" xyz 959 25 2000 life_line_z 2000
|
||||
durationcanvas 133640 classinstance_ref 133000 // :Client
|
||||
xyzwh 78 113 2010 11 32
|
||||
end
|
||||
durationcanvas 133768 classinstance_ref 133128 // :AutomatController
|
||||
xyzwh 331 110 2010 11 118
|
||||
end
|
||||
durationcanvas 134408 classinstance_ref 134024 // :Automat
|
||||
xyzwh 564 123 2010 11 102
|
||||
end
|
||||
durationcanvas 134664 classinstance_ref 134280 // :CashPayment
|
||||
xyzwh 994 140 2010 11 25
|
||||
end
|
||||
durationcanvas 134920 classinstance_ref 134152 // :Order
|
||||
xyzwh 818 189 2010 11 26
|
||||
end
|
||||
durationcanvas 135176 classinstance_ref 133000 // :Client
|
||||
xyzwh 78 207 2010 11 25
|
||||
end
|
||||
msg 133896 synchronous
|
||||
from durationcanvas_ref 133640
|
||||
to durationcanvas_ref 133768
|
||||
yz 113 2015 msg operation_ref 130562 // "SelectCashPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 145 99
|
||||
msg 134536 synchronous
|
||||
from durationcanvas_ref 133768
|
||||
to durationcanvas_ref 134408
|
||||
yz 123 2015 msg operation_ref 130690 // "SetCashPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 393 109
|
||||
msg 134792 synchronous
|
||||
from durationcanvas_ref 134408
|
||||
to durationcanvas_ref 134664
|
||||
yz 140 2020 msg operation_ref 130946 // "createCashPayment()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 625 127
|
||||
msg 135048 synchronous
|
||||
from durationcanvas_ref 134408
|
||||
to durationcanvas_ref 134920
|
||||
yz 189 2015 msg operation_ref 130818 // "SetPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "method: PaymentMethod"
|
||||
label_xy 587 178
|
||||
msg 135304 return
|
||||
from durationcanvas_ref 133768
|
||||
to durationcanvas_ref 135176
|
||||
yz 207 2015 explicitmsg "ShowCashPaymentView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 150 193
|
||||
end
|
@ -1,61 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 133000 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 67 20 2000 life_line_z 2000
|
||||
classinstance 133128 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 286 22 2000 life_line_z 2000
|
||||
classinstance 134024 class_ref 128922 // Automat
|
||||
name "" xyz 542 23 2000 life_line_z 2000
|
||||
classinstance 134152 class_ref 128410 // Order
|
||||
name "" xyz 799 23 2000 life_line_z 2000
|
||||
classinstance 134280 class_ref 135834 // CashPayment
|
||||
name "" xyz 959 25 2000 life_line_z 2000
|
||||
durationcanvas 133640 classinstance_ref 133000 // :Client
|
||||
xyzwh 78 113 2010 11 32
|
||||
end
|
||||
durationcanvas 133768 classinstance_ref 133128 // :AutomatController
|
||||
xyzwh 331 110 2010 11 118
|
||||
end
|
||||
durationcanvas 134408 classinstance_ref 134024 // :Automat
|
||||
xyzwh 564 123 2010 11 102
|
||||
end
|
||||
durationcanvas 134664 classinstance_ref 134280 // :CashPayment
|
||||
xyzwh 994 140 2010 11 25
|
||||
end
|
||||
durationcanvas 134920 classinstance_ref 134152 // :Order
|
||||
xyzwh 818 189 2010 11 26
|
||||
end
|
||||
durationcanvas 135176 classinstance_ref 133000 // :Client
|
||||
xyzwh 78 207 2010 11 25
|
||||
end
|
||||
msg 133896 synchronous
|
||||
from durationcanvas_ref 133640
|
||||
to durationcanvas_ref 133768
|
||||
yz 113 2015 explicitmsg "SelectCashPaymentMethod"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 145 99
|
||||
msg 134536 synchronous
|
||||
from durationcanvas_ref 133768
|
||||
to durationcanvas_ref 134408
|
||||
yz 123 2015 explicitmsg "SetCashPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 393 109
|
||||
msg 134792 synchronous
|
||||
from durationcanvas_ref 134408
|
||||
to durationcanvas_ref 134664
|
||||
yz 140 2020 explicitmsg "<<create>>Create()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 625 127
|
||||
msg 135048 synchronous
|
||||
from durationcanvas_ref 134408
|
||||
to durationcanvas_ref 134920
|
||||
yz 189 2015 explicitmsg "SetPaymentMethod(method: PaymentMethod)"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 587 178
|
||||
msg 135304 return
|
||||
from durationcanvas_ref 133768
|
||||
to durationcanvas_ref 135176
|
||||
yz 207 2015 explicitmsg "ShowCashPaymentView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 150 193
|
||||
end
|
@ -1,45 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128776 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 76 19 2000 life_line_z 2000
|
||||
classinstance 128904 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 341 22 2000 life_line_z 2000
|
||||
classinstance 129416 class_ref 136072 // Culture
|
||||
name "" xyz 648 24 2000 life_line_z 2000
|
||||
durationcanvas 129032 classinstance_ref 128776 // :Client
|
||||
xyzwh 87 128 2010 11 40
|
||||
end
|
||||
durationcanvas 129160 classinstance_ref 128904 // :AutomatController
|
||||
xyzwh 386 130 2010 11 99
|
||||
end
|
||||
durationcanvas 129544 classinstance_ref 129416 // :Culture
|
||||
xyzwh 667 136 2010 11 51
|
||||
end
|
||||
durationcanvas 129928 classinstance_ref 128776 // :Client
|
||||
xyzwh 87 204 2010 11 25
|
||||
end
|
||||
msg 129288 synchronous
|
||||
from durationcanvas_ref 129032
|
||||
to durationcanvas_ref 129160
|
||||
yz 130 2015 msg operation_ref 131714 // "ClickChangeLanguageButton()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 173 116
|
||||
msg 129672 synchronous
|
||||
from durationcanvas_ref 129160
|
||||
to durationcanvas_ref 129544
|
||||
yz 138 2020 msg operation_ref 131842 // "GetAvailableCultures()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 478 124
|
||||
msg 129800 return
|
||||
from durationcanvas_ref 129544
|
||||
to durationcanvas_ref 129160
|
||||
yz 168 2015 explicitmsg "*culture: CultureType"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 482 154
|
||||
msg 130056 return
|
||||
from durationcanvas_ref 129160
|
||||
to durationcanvas_ref 129928
|
||||
yz 211 2020 explicitmsg "ShowChangeLanguageMenu"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 172 197
|
||||
end
|
@ -1,40 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128648 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 69 24 2000 life_line_z 2000
|
||||
classinstance 128776 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 299 31 2000 life_line_z 2000
|
||||
classinstance 129288 class_ref 128922 // Automat
|
||||
name "" xyz 611 34 2000 life_line_z 2000
|
||||
durationcanvas 128904 classinstance_ref 128648 // :Client
|
||||
xyzwh 80 113 2010 11 29
|
||||
end
|
||||
durationcanvas 129032 classinstance_ref 128776 // :AutomatController
|
||||
xyzwh 344 115 2010 11 70
|
||||
end
|
||||
durationcanvas 129416 classinstance_ref 129288 // :Automat
|
||||
xyzwh 633 126 2010 11 25
|
||||
end
|
||||
durationcanvas 129928 classinstance_ref 128648 // :Client
|
||||
xyzwh 80 164 2010 11 25
|
||||
end
|
||||
msg 129160 asynchronous
|
||||
from durationcanvas_ref 128904
|
||||
to durationcanvas_ref 129032
|
||||
yz 116 2015 msg operation_ref 131970 // "ClickSpecificLanguageButton()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 142 103
|
||||
msg 129544 asynchronous
|
||||
from durationcanvas_ref 129032
|
||||
to durationcanvas_ref 129416
|
||||
yz 129 2015 msg operation_ref 132098 // "ChangeCulture()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "culture: Culture"
|
||||
label_xy 418 115
|
||||
msg 130056 return
|
||||
from durationcanvas_ref 129032
|
||||
to durationcanvas_ref 129928
|
||||
yz 174 2015 explicitmsg "CloseSelectLanguageMenu"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 152 160
|
||||
end
|
@ -1,36 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128008 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 88 38 2000 life_line_z 2000
|
||||
classinstance 128136 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 276 44 2000 life_line_z 2000
|
||||
classinstance 128264 class_ref 128922 // Automat
|
||||
name "" xyz 546 43 2000 life_line_z 2000
|
||||
durationcanvas 128392 classinstance_ref 128008 // :Client
|
||||
xyzwh 99 141 2010 11 54
|
||||
end
|
||||
durationcanvas 128520 classinstance_ref 128136 // :AutomatController
|
||||
xyzwh 321 142 2010 11 53
|
||||
end
|
||||
durationcanvas 128776 classinstance_ref 128264 // :Automat
|
||||
xyzwh 568 146 2010 11 31
|
||||
end
|
||||
msg 128648 synchronous
|
||||
from durationcanvas_ref 128392
|
||||
to durationcanvas_ref 128520
|
||||
yz 143 2015 msg operation_ref 132226 // "ClickRestartButton()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 171 129
|
||||
msg 128904 synchronous
|
||||
from durationcanvas_ref 128520
|
||||
to durationcanvas_ref 128776
|
||||
yz 153 2020 msg operation_ref 132354 // "ResetOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 422 139
|
||||
msg 129288 return
|
||||
from durationcanvas_ref 128520
|
||||
to durationcanvas_ref 128392
|
||||
yz 182 2025 explicitmsg "ShowStartOrderView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 162 168
|
||||
end
|
@ -1,61 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128008 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 81 29 2000 life_line_z 2000
|
||||
classinstance 128136 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 354 31 2000 life_line_z 2030
|
||||
classinstance 128648 class_ref 128922 // Automat
|
||||
name "" xyz 642 31 2000 life_line_z 2025
|
||||
fragment 129288 "loop"
|
||||
xyzwh 235 135 2000 594 216
|
||||
end
|
||||
textcanvas 129416 "[isEmpty != true]"
|
||||
font bold xyzwh 277 139 2030 102 17
|
||||
fragment 129544 "break"
|
||||
xyzwh 234 361 2025 593 96
|
||||
end
|
||||
textcanvas 130568 "[isEmpty == true]"
|
||||
font bold xyzwh 278 363 2030 102 17
|
||||
durationcanvas 129672 classinstance_ref 128008 // :Client
|
||||
xyzwh 92 102 2010 11 32
|
||||
end
|
||||
durationcanvas 130056 classinstance_ref 128648 // :Automat
|
||||
xyzwh 664 144 2035 11 300
|
||||
end
|
||||
durationcanvas 130312 classinstance_ref 128136 // :AutomatController
|
||||
xyzwh 399 104 2040 11 344
|
||||
end
|
||||
durationcanvas 130952 classinstance_ref 128008 // :Client
|
||||
xyzwh 92 418 2010 11 34
|
||||
end
|
||||
msg 129928 synchronous
|
||||
from durationcanvas_ref 129672
|
||||
to durationcanvas_ref 130312
|
||||
yz 104 2045 msg operation_ref 132482 // "ClientClosesRetrieveOrderDoors()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 152 90
|
||||
msg 130184 synchronous
|
||||
from durationcanvas_ref 130312
|
||||
to durationcanvas_ref 130056
|
||||
yz 166 2050 msg operation_ref 132610 // "IsCollectionPointEmpty()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 480 152
|
||||
msg 130440 return
|
||||
from durationcanvas_ref 130056
|
||||
to durationcanvas_ref 130312
|
||||
yz 200 2055 explicitmsg "isEmpty: bool"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 506 186
|
||||
msg 130824 synchronous
|
||||
from durationcanvas_ref 130312
|
||||
to durationcanvas_ref 130056
|
||||
yz 392 2050 msg operation_ref 132354 // "ResetOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 507 378
|
||||
msg 131080 return
|
||||
from durationcanvas_ref 130312
|
||||
to durationcanvas_ref 130952
|
||||
yz 422 2045 explicitmsg "ShowStartView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 116 404
|
||||
end
|
@ -1,62 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128008 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 258.18 21.26 2000 life_line_z 2000
|
||||
classinstance 128136 class_ref 128410 // Order
|
||||
name "" xyz 775.52 21.96 2000 life_line_z 2000
|
||||
classinstance 128264 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 37.92 23.96 2000 life_line_z 2000
|
||||
classinstance 128392 class_ref 128922 // Automat
|
||||
name "" xyz 516.08 16.16 2000 life_line_z 2000
|
||||
classinstance 128520 class_ref 128666 // CardPayment
|
||||
name "" xyz 936.08 24.26 2000 life_line_z 2000
|
||||
durationcanvas 128648 classinstance_ref 128008 // :AutomatController
|
||||
xyzwh 303 117 2010 11 147
|
||||
end
|
||||
durationcanvas 128776 classinstance_ref 128136 // :Order
|
||||
xyzwh 794 224 2010 11 26
|
||||
end
|
||||
durationcanvas 128904 classinstance_ref 128264 // :Client
|
||||
xyzwh 48 242 2010 11 25
|
||||
end
|
||||
durationcanvas 129032 classinstance_ref 128264 // :Client
|
||||
xyzwh 48 116 2010 11 64
|
||||
end
|
||||
durationcanvas 129160 classinstance_ref 128520 // :CardPayment
|
||||
xyzwh 970 175 2010 11 25
|
||||
end
|
||||
durationcanvas 129288 classinstance_ref 128392 // :Automat
|
||||
xyzwh 538 149 2010 11 109
|
||||
end
|
||||
msg 129416 synchronous
|
||||
from durationcanvas_ref 129288
|
||||
to durationcanvas_ref 128776
|
||||
yz 223 2015 msg operation_ref 130818 // "SetPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "method: PaymentMethod"
|
||||
label_xy 566 212
|
||||
msg 129544 synchronous
|
||||
from durationcanvas_ref 129288
|
||||
to durationcanvas_ref 129160
|
||||
yz 174 2020 msg operation_ref 131586 // "CreateCardPayment()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 604 161
|
||||
msg 129672 synchronous
|
||||
from durationcanvas_ref 129032
|
||||
to durationcanvas_ref 128648
|
||||
yz 117 2015 msg operation_ref 131202 // "SelectCardPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 121 102
|
||||
msg 129800 return
|
||||
from durationcanvas_ref 128648
|
||||
to durationcanvas_ref 128904
|
||||
yz 243 2015 explicitmsg "ShowCardPaymentView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 126 229
|
||||
msg 129928 synchronous
|
||||
from durationcanvas_ref 128648
|
||||
to durationcanvas_ref 129288
|
||||
yz 157 2015 msg operation_ref 130690 // "SetCashPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 369 144
|
||||
end
|
@ -1,61 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128008 class_ref 142600 // AutomatController
|
||||
color lightmediumblue name "" xyz 258.18 21.26 2000 life_line_z 2000
|
||||
classinstance 128136 class_ref 128410 // Order
|
||||
name "" xyz 775.52 21.96 2000 life_line_z 2000
|
||||
classinstance 128264 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 37.92 23.96 2000 life_line_z 2000
|
||||
classinstance 128392 class_ref 128922 // Automat
|
||||
name "" xyz 516.08 16.16 2000 life_line_z 2000
|
||||
classinstance 128520 class_ref 128666 // CardPayment
|
||||
name "" xyz 936.08 24.26 2000 life_line_z 2000
|
||||
durationcanvas 128648 classinstance_ref 128008 // :AutomatController
|
||||
xyzwh 303 117 2010 11 147
|
||||
end
|
||||
durationcanvas 128776 classinstance_ref 128136 // :Order
|
||||
xyzwh 794 224 2010 11 26
|
||||
end
|
||||
durationcanvas 128904 classinstance_ref 128264 // :Client
|
||||
xyzwh 48 242 2010 11 25
|
||||
end
|
||||
durationcanvas 129032 classinstance_ref 128264 // :Client
|
||||
xyzwh 48 116 2010 11 64
|
||||
end
|
||||
durationcanvas 129160 classinstance_ref 128520 // :CardPayment
|
||||
xyzwh 970 175 2010 11 25
|
||||
end
|
||||
durationcanvas 129288 classinstance_ref 128392 // :Automat
|
||||
xyzwh 538 149 2010 11 109
|
||||
end
|
||||
msg 129416 synchronous
|
||||
from durationcanvas_ref 129288
|
||||
to durationcanvas_ref 128776
|
||||
yz 223 2015 explicitmsg "SetPaymentMethod(method: PaymentMethod)"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 566 212
|
||||
msg 129544 synchronous
|
||||
from durationcanvas_ref 129288
|
||||
to durationcanvas_ref 129160
|
||||
yz 174 2020 explicitmsg "<<create>>Create()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 604 161
|
||||
msg 129672 synchronous
|
||||
from durationcanvas_ref 129032
|
||||
to durationcanvas_ref 128648
|
||||
yz 117 2015 explicitmsg "SelectCardPaymentMethod"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 121 102
|
||||
msg 129800 return
|
||||
from durationcanvas_ref 128648
|
||||
to durationcanvas_ref 128904
|
||||
yz 243 2015 explicitmsg "ShowCardPaymentView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 126 229
|
||||
msg 129928 synchronous
|
||||
from durationcanvas_ref 128648
|
||||
to durationcanvas_ref 129288
|
||||
yz 157 2015 explicitmsg "SetCashPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 369 144
|
||||
end
|
@ -1,50 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128002 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 24.4518 5.34202 2000 life_line_z 2000
|
||||
classinstance 128130 class_ref 128770 // TransactionController
|
||||
name "" xyz 164.408 7.26461 2000 life_line_z 2000
|
||||
classinstance 128258 class_ref 135298 // Terminal
|
||||
name "" xyz 542.977 4.38073 2000 life_line_z 2000
|
||||
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 2010 11 40
|
||||
end
|
||||
durationcanvas 128642 classinstance_ref 128130 // :TransactionController
|
||||
xyzwh 217 152 2010 11 214
|
||||
end
|
||||
durationcanvas 128898 classinstance_ref 128258 // :Terminal
|
||||
xyzwh 563 165 2010 11 105
|
||||
end
|
||||
durationcanvas 129538 classinstance_ref 128386 // :Card
|
||||
xyzwh 740 350 2010 11 25
|
||||
end
|
||||
msg 128770 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 128642
|
||||
yz 152 2015 explicitmsg "<deleted operation>"
|
||||
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 "<deleted operation>"
|
||||
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
|
||||
to durationcanvas_ref 128642
|
||||
yz 254 2020 explicitmsg "number,month,year,cvv"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 340 240
|
||||
msg 129666 synchronous
|
||||
from durationcanvas_ref 128642
|
||||
to durationcanvas_ref 129538
|
||||
yz 350 2015 explicitmsg "<deleted operation>"
|
||||
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
|
@ -1,48 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128002 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 24.4518 5.34202 2000 life_line_z 2000
|
||||
classinstance 128130 class_ref 128770 // TransactionController
|
||||
name "" xyz 164.408 7.26461 2000 life_line_z 2000
|
||||
classinstance 128258 class_ref 135298 // Terminal
|
||||
name "" xyz 542.977 4.38073 2000 life_line_z 2000
|
||||
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 2010 11 40
|
||||
end
|
||||
durationcanvas 128642 classinstance_ref 128130 // :TransactionController
|
||||
xyzwh 217 152 2010 11 214
|
||||
end
|
||||
durationcanvas 128898 classinstance_ref 128258 // :Terminal
|
||||
xyzwh 563 165 2010 11 105
|
||||
end
|
||||
durationcanvas 129538 classinstance_ref 128386 // :Card
|
||||
xyzwh 740 350 2010 11 25
|
||||
end
|
||||
msg 128770 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 128642
|
||||
yz 152 2015 explicitmsg "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)"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 250 152
|
||||
msg 129410 return
|
||||
from durationcanvas_ref 128898
|
||||
to durationcanvas_ref 128642
|
||||
yz 254 2020 explicitmsg "number,month,year,cvv"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 340 240
|
||||
msg 129666 synchronous
|
||||
from durationcanvas_ref 128642
|
||||
to durationcanvas_ref 129538
|
||||
yz 350 2015 explicitmsg "createCard(number:string,month,int,year:int,cvv:string)"
|
||||
stereotype "<<create>>" xyz 457 364 3000
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 384 333
|
||||
end
|
@ -1,47 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128197 class_ref 128069 // Client
|
||||
name "" xyz 115 18 2000 life_line_z 2000
|
||||
classinstance 128325 class_ref 142600 // AutomatController
|
||||
name "" xyz 313 14 2000 life_line_z 2000
|
||||
classinstance 129093 class_ref 128922 // Automat
|
||||
name "" xyz 502 14 2000 life_line_z 2000
|
||||
classinstance 129477 class_ref 128410 // Order
|
||||
name "" xyz 658 17 2000 life_line_z 2000
|
||||
durationcanvas 135749 classinstance_ref 128197 // :Client
|
||||
xyzwh 126 92 2010 11 60
|
||||
end
|
||||
durationcanvas 135877 classinstance_ref 128325 // :AutomatController
|
||||
xyzwh 358 92 2010 11 55
|
||||
end
|
||||
durationcanvas 136133 classinstance_ref 129093 // :Automat
|
||||
xyzwh 524 97 2010 11 25
|
||||
end
|
||||
durationcanvas 136389 classinstance_ref 129477 // :Order
|
||||
xyzwh 677 101 2010 11 25
|
||||
end
|
||||
msg 136005 synchronous
|
||||
from durationcanvas_ref 135749
|
||||
to durationcanvas_ref 135877
|
||||
yz 92 2015 msg operation_ref 128514 // "startOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 222 78
|
||||
msg 136261 synchronous
|
||||
from durationcanvas_ref 135877
|
||||
to durationcanvas_ref 136133
|
||||
yz 97 2015 msg operation_ref 128642 // "createOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 413 83
|
||||
msg 136517 synchronous
|
||||
from durationcanvas_ref 136133
|
||||
to durationcanvas_ref 136389
|
||||
yz 101 2015 msg operation_ref 128770 // "createOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 544 87
|
||||
msg 136901 return
|
||||
from durationcanvas_ref 135877
|
||||
to durationcanvas_ref 135749
|
||||
yz 130 2015 explicitmsg "PinPadViewPanel"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 205 116
|
||||
end
|
@ -1,28 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128002 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 6.4 5.1 2000 life_line_z 2000
|
||||
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 2010 11 40
|
||||
end
|
||||
durationcanvas 129666 classinstance_ref 129410 // :TransactionController
|
||||
xyzwh 257 122 2010 11 82
|
||||
overlappingdurationcanvas 129922
|
||||
xyzwh 263 139 2020 11 25
|
||||
end
|
||||
end
|
||||
msg 129794 synchronous
|
||||
from durationcanvas_ref 129538
|
||||
to durationcanvas_ref 129666
|
||||
yz 122 2015 msg operation_ref 133122 // "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 msg operation_ref 133122 // "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
|
@ -1,143 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128197 class_ref 128069 // Client
|
||||
name "" xyz 12.2 4 2000 life_line_z 2005
|
||||
classinstance 128837 class_ref 142600 // AutomatController
|
||||
name "" xyz 264.6 4.4 2000 life_line_z 2000
|
||||
classinstance 129349 class_ref 128922 // Automat
|
||||
name "" xyz 546.2 4.4 2000 life_line_z 2000
|
||||
fragment 129989 "getShelf"
|
||||
color lightmagenta xyzwh 56.6 121.2 1990 1064 498
|
||||
separator 1242
|
||||
end
|
||||
classinstance 130629 class_ref 129178 // Shelf
|
||||
name "" xyz 779.6 4.4 2000 life_line_z 2000
|
||||
note 131909 "shelf == null"
|
||||
xyzwh 118 123 2005 85 35
|
||||
note 132037 "shelf != null"
|
||||
xyzwh 61.6 191.2 2005 77 35
|
||||
fragment 132293 "getProduct"
|
||||
color mediumblue xyzwh 104.2 245.6 1995 1005 351
|
||||
separator 3946
|
||||
end
|
||||
note 132421 "hasMealequals(false)"
|
||||
xyzwh 112 273.4 2015 147 37
|
||||
note 133829 "hasMeal.equals(true)
|
||||
"
|
||||
xyzwh 110.2 393.4 2000 143 35
|
||||
classinstance 134469 class_ref 128410 // Order
|
||||
name "" xyz 941 5 2000 life_line_z 2000
|
||||
durationcanvas 128965 classinstance_ref 128197 // :Client
|
||||
xyzwh 23 69 2015 11 40
|
||||
end
|
||||
durationcanvas 129093 classinstance_ref 128837 // :AutomatController
|
||||
xyzwh 309 72 2010 11 491
|
||||
end
|
||||
durationcanvas 129477 classinstance_ref 129349 // :Automat
|
||||
xyzwh 568 81 2010 11 445
|
||||
overlappingdurationcanvas 129733
|
||||
xyzwh 574 97 2020 11 28
|
||||
end
|
||||
end
|
||||
durationcanvas 130373 classinstance_ref 128197 // :Client
|
||||
xyzwh 23 157 2015 11 39
|
||||
end
|
||||
durationcanvas 133957 classinstance_ref 130629 // :Shelf
|
||||
xyzwh 798 203 2010 11 257
|
||||
end
|
||||
durationcanvas 134597 classinstance_ref 134469 // :Order
|
||||
xyzwh 960 477 2010 11 26
|
||||
end
|
||||
durationcanvas 135109 classinstance_ref 128197 // :Client
|
||||
xyzwh 23 330 2015 11 34
|
||||
end
|
||||
durationcanvas 135621 classinstance_ref 128197 // :Client
|
||||
xyzwh 23 533 2015 11 30
|
||||
end
|
||||
msg 129221 synchronous
|
||||
from durationcanvas_ref 128965
|
||||
to durationcanvas_ref 129093
|
||||
yz 73 2015 msg operation_ref 128898 // "enterProductCode()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 62 59
|
||||
msg 129605 synchronous
|
||||
from durationcanvas_ref 129093
|
||||
to durationcanvas_ref 129477
|
||||
yz 83 2015 msg operation_ref 129026 // "shelfSelected()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "shelfNo: Integer"
|
||||
label_xy 354 69
|
||||
reflexivemsg 129861 synchronous
|
||||
to durationcanvas_ref 129733
|
||||
yz 97 2025 msg operation_ref 129154 // "getShelf()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "shelfNo: Integer"
|
||||
label_xy 590 82
|
||||
msg 130501 return
|
||||
from durationcanvas_ref 129093
|
||||
to durationcanvas_ref 130373
|
||||
yz 168 3005 explicitmsg "MealNotFoundMessage"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 89 157
|
||||
msg 131781 synchronous
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 133957
|
||||
yz 208 2015 msg operation_ref 129282 // "hasMeal()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 652 197
|
||||
msg 134085 synchronous
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 133957
|
||||
yz 411 2015 msg operation_ref 129282 // "hasMeal()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 659 397
|
||||
msg 134725 synchronous
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 134597
|
||||
yz 479 2015 msg operation_ref 129538 // "addMeal()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "meal:Meal"
|
||||
label_xy 683 465
|
||||
msg 135877 return
|
||||
from durationcanvas_ref 129093
|
||||
to durationcanvas_ref 135109
|
||||
yz 332 3010 explicitmsg "MealIsNotAvailableMessage"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 104 318
|
||||
msg 136005 return
|
||||
from durationcanvas_ref 129093
|
||||
to durationcanvas_ref 135621
|
||||
yz 536 3005 explicitmsg "MealSuccessfullyAddedMessage"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 91 522
|
||||
msg 136133 return
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 129093
|
||||
yz 150 2025 explicitmsg "shelfNotFoundMessage : String"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 369 136
|
||||
msg 136261 return
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 129093
|
||||
yz 273 3005 explicitmsg "productNotAvailableMessage : String"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 355 259
|
||||
msg 136389 return
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 129093
|
||||
yz 500 3005 explicitmsg "mealSuccessfullyAddedMessage : String"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 345 486
|
||||
msg 136517 return
|
||||
from durationcanvas_ref 133957
|
||||
to durationcanvas_ref 129477
|
||||
yz 232 3005 explicitmsg "hasMeal : Boolean"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 643 220
|
||||
msg 136645 return
|
||||
from durationcanvas_ref 133957
|
||||
to durationcanvas_ref 129477
|
||||
yz 447 3005 explicitmsg "meal : Meal"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 662 433
|
||||
end
|
@ -1,71 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128002 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 21.1214 9.9297 2000 life_line_z 2000
|
||||
classinstance 128130 class_ref 128770 // TransactionController
|
||||
name "" xyz 152.828 9.8019 2000 life_line_z 2000
|
||||
classinstance 129154 class_ref 135938 // TransactionConfirmation
|
||||
name "" xyz 573.611 4 2000 life_line_z 2000
|
||||
fragment 129794 "printTransactionConfirmation == true"
|
||||
xyzwh 9.0099 78.1184 2005 830 264
|
||||
end
|
||||
classinstance 129922 class_ref 142466 // Transaction
|
||||
name "" xyz 344.761 9.4473 2000 life_line_z 2000
|
||||
fragment 131458 "printTransactionConfirmation == false"
|
||||
xyzwh 8.0099 344.882 2020 828 151
|
||||
end
|
||||
durationcanvas 128258 classinstance_ref 128002 // :Client
|
||||
xyzwh 32 114 2010 11 161
|
||||
end
|
||||
durationcanvas 128386 classinstance_ref 128130 // :TransactionController
|
||||
xyzwh 205 116 2010 11 196
|
||||
end
|
||||
durationcanvas 130050 classinstance_ref 129922 // :Transaction
|
||||
xyzwh 374 143 2010 11 115
|
||||
end
|
||||
durationcanvas 130562 classinstance_ref 129154 // :TransactionConfirmation
|
||||
xyzwh 633 207 2010 11 47
|
||||
overlappingdurationcanvas 130818
|
||||
xyzwh 639 223 2020 11 25
|
||||
end
|
||||
end
|
||||
durationcanvas 131074 classinstance_ref 128002 // :Client
|
||||
xyzwh 32 391 2010 11 40
|
||||
end
|
||||
durationcanvas 131202 classinstance_ref 128130 // :TransactionController
|
||||
xyzwh 205 392 2010 11 25
|
||||
end
|
||||
msg 128514 synchronous
|
||||
from durationcanvas_ref 128258
|
||||
to durationcanvas_ref 128386
|
||||
yz 145 2015 explicitmsg "<deleted operation>"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 52 131
|
||||
msg 130178 synchronous
|
||||
from durationcanvas_ref 128386
|
||||
to durationcanvas_ref 130050
|
||||
yz 143 2020 msg operation_ref 133378 // "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 msg operation_ref 133506 // "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 msg operation_ref 133506 // "createTransactionConfirmation()"
|
||||
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
|
||||
to durationcanvas_ref 131202
|
||||
yz 392 2015 explicitmsg "<deleted operation>"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 51 378
|
||||
end
|
@ -1,105 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128130 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 3.7234 4.04 2000 life_line_z 2000
|
||||
classinstance 128258 class_ref 128770 // TransactionController
|
||||
name "" xyz 137.653 12.7234 2000 life_line_z 2000
|
||||
classinstance 128770 class_ref 135298 // Terminal
|
||||
name "" xyz 440.11 18.3931 2000 life_line_z 2000
|
||||
classinstance 129282 class_ref 135554 // AuthorizationSystem
|
||||
name "" xyz 587.396 16 2000 life_line_z 2000
|
||||
fragment 130050 "authorize == true"
|
||||
xyzwh 3.86785 323.45 2005 680 108
|
||||
end
|
||||
fragment 130434 "authorize == false and attempts < 3"
|
||||
xyzwh 2.19819 431.175 2010 681 143
|
||||
end
|
||||
fragment 131458 "authorize =- false and attempts == 3"
|
||||
xyzwh 2 573 2015 682 140
|
||||
end
|
||||
durationcanvas 128386 classinstance_ref 128130 // :Client
|
||||
xyzwh 14 129 2010 11 40
|
||||
end
|
||||
durationcanvas 128514 classinstance_ref 128258 // :TransactionController
|
||||
xyzwh 190 136 2010 11 433
|
||||
overlappingdurationcanvas 129794
|
||||
xyzwh 196 373 2020 11 39
|
||||
end
|
||||
overlappingdurationcanvas 130178
|
||||
xyzwh 196 461 2020 11 25
|
||||
end
|
||||
end
|
||||
durationcanvas 128898 classinstance_ref 128770 // :Terminal
|
||||
xyzwh 461 138 2010 11 56
|
||||
end
|
||||
durationcanvas 129410 classinstance_ref 129282 // :AuthorizationSystem
|
||||
xyzwh 639 234 2010 11 88
|
||||
end
|
||||
durationcanvas 130818 classinstance_ref 129282 // :AuthorizationSystem
|
||||
xyzwh 639 511 2010 11 33
|
||||
end
|
||||
durationcanvas 131202 classinstance_ref 128258 // :TransactionController
|
||||
xyzwh 190 627 2010 11 40
|
||||
end
|
||||
msg 128642 synchronous
|
||||
from durationcanvas_ref 128386
|
||||
to durationcanvas_ref 128514
|
||||
yz 136 2015 explicitmsg "enterPIN"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 39 118
|
||||
msg 129026 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 128898
|
||||
yz 144 2020 msg operation_ref 133890 // "getPIN()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "PIN:string"
|
||||
label_xy 246 128
|
||||
msg 129154 return
|
||||
from durationcanvas_ref 128898
|
||||
to durationcanvas_ref 128514
|
||||
yz 176 2015 explicitmsg "PIN"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 271 162
|
||||
msg 129538 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 129410
|
||||
yz 240 2015 msg operation_ref 134146 // "authorize()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "card:Card, PIN:string"
|
||||
label_xy 213 226
|
||||
msg 129666 return
|
||||
from durationcanvas_ref 129410
|
||||
to durationcanvas_ref 128514
|
||||
yz 273 2015 explicitmsg "authorize"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 299 259
|
||||
reflexivemsg 129922 synchronous
|
||||
to durationcanvas_ref 129794
|
||||
yz 373 2025 msg operation_ref 134274 // "displayPositiveMessage()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 234 372
|
||||
reflexivemsg 130306 synchronous
|
||||
to durationcanvas_ref 130178
|
||||
yz 461 2025 msg operation_ref 134402 // "displayNegativeMessage()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 228 458
|
||||
msg 130946 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 130818
|
||||
yz 511 2015 msg operation_ref 134146 // "authorize()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "card:Card, PIN:string"
|
||||
label_xy 323 497
|
||||
msg 131074 return
|
||||
from durationcanvas_ref 130818
|
||||
to durationcanvas_ref 128514
|
||||
yz 533 2015 explicitmsg "authorize"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 398 519
|
||||
reflexivemsg 131330 synchronous
|
||||
to durationcanvas_ref 131202
|
||||
yz 627 2015 msg operation_ref 133122 // "cancelTransaction()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "transaction:Transaction"
|
||||
label_xy 224 625
|
||||
end
|
@ -1,105 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128130 class_ref 128538 // Client
|
||||
drawing_mode actor name "" xyz 3.7234 4.04 2000 life_line_z 2000
|
||||
classinstance 128258 class_ref 128770 // TransactionController
|
||||
name "" xyz 137.653 12.7234 2000 life_line_z 2000
|
||||
classinstance 128770 class_ref 135298 // Terminal
|
||||
name "" xyz 440.11 18.3931 2000 life_line_z 2000
|
||||
classinstance 129282 class_ref 135554 // AuthorizationSystem
|
||||
name "" xyz 587.396 16 2000 life_line_z 2000
|
||||
fragment 130050 "authorize == true"
|
||||
xyzwh 3.86785 323.45 2005 680 108
|
||||
end
|
||||
fragment 130434 "authorize == false and attempts < 3"
|
||||
xyzwh 2.19819 431.175 2010 681 143
|
||||
end
|
||||
fragment 131458 "authorize =- false and attempts == 3"
|
||||
xyzwh 2 573 2015 682 140
|
||||
end
|
||||
durationcanvas 128386 classinstance_ref 128130 // :Client
|
||||
xyzwh 14 129 2010 11 40
|
||||
end
|
||||
durationcanvas 128514 classinstance_ref 128258 // :TransactionController
|
||||
xyzwh 190 136 2010 11 433
|
||||
overlappingdurationcanvas 129794
|
||||
xyzwh 196 373 2020 11 39
|
||||
end
|
||||
overlappingdurationcanvas 130178
|
||||
xyzwh 196 461 2020 11 25
|
||||
end
|
||||
end
|
||||
durationcanvas 128898 classinstance_ref 128770 // :Terminal
|
||||
xyzwh 461 138 2010 11 56
|
||||
end
|
||||
durationcanvas 129410 classinstance_ref 129282 // :AuthorizationSystem
|
||||
xyzwh 639 234 2010 11 88
|
||||
end
|
||||
durationcanvas 130818 classinstance_ref 129282 // :AuthorizationSystem
|
||||
xyzwh 639 511 2010 11 33
|
||||
end
|
||||
durationcanvas 131202 classinstance_ref 128258 // :TransactionController
|
||||
xyzwh 190 627 2010 11 40
|
||||
end
|
||||
msg 128642 synchronous
|
||||
from durationcanvas_ref 128386
|
||||
to durationcanvas_ref 128514
|
||||
yz 136 2015 explicitmsg "enterPIN"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 39 118
|
||||
msg 129026 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 128898
|
||||
yz 144 2020 msg operation_ref 133890 // "getPIN()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "PIN:string"
|
||||
label_xy 246 128
|
||||
msg 129154 return
|
||||
from durationcanvas_ref 128898
|
||||
to durationcanvas_ref 128514
|
||||
yz 176 2015 explicitmsg "PIN"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 271 162
|
||||
msg 129538 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 129410
|
||||
yz 240 2015 msg operation_ref 134146 // "authorize()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "card:Card, PIN:string"
|
||||
label_xy 213 226
|
||||
msg 129666 return
|
||||
from durationcanvas_ref 129410
|
||||
to durationcanvas_ref 128514
|
||||
yz 273 2015 explicitmsg "authorize"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 299 259
|
||||
reflexivemsg 129922 synchronous
|
||||
to durationcanvas_ref 129794
|
||||
yz 373 2025 msg operation_ref 134274 // "displayPositiveMessage()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 234 372
|
||||
reflexivemsg 130306 synchronous
|
||||
to durationcanvas_ref 130178
|
||||
yz 461 2025 msg operation_ref 134402 // "displayNegativeMessage()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 228 458
|
||||
msg 130946 synchronous
|
||||
from durationcanvas_ref 128514
|
||||
to durationcanvas_ref 130818
|
||||
yz 511 2015 msg operation_ref 134146 // "authorize()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "card:Card, PIN:string"
|
||||
label_xy 323 497
|
||||
msg 131074 return
|
||||
from durationcanvas_ref 130818
|
||||
to durationcanvas_ref 128514
|
||||
yz 533 2015 explicitmsg "authorize"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 398 519
|
||||
reflexivemsg 131330 synchronous
|
||||
to durationcanvas_ref 131202
|
||||
yz 627 2015 msg operation_ref 133122 // "cancelTransaction()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "transaction:Transaction"
|
||||
label_xy 224 625
|
||||
end
|
@ -1,96 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128069 class_ref 128069 // Client
|
||||
name "" xyz 50 8 2000 life_line_z 2000
|
||||
classinstance 128197 class_ref 128922 // Automat
|
||||
name "" xyz 376 16 2000 life_line_z 2000
|
||||
classinstance 128325 class_ref 141637 // PaymentSelectorController
|
||||
name "" xyz 183 14 2000 life_line_z 2000
|
||||
classinstance 129093 class_ref 141765 // CollectorFactory
|
||||
name "" xyz 765 15 2000 life_line_z 2000
|
||||
classinstance 129477 class_ref 135816 // CashCollector
|
||||
name "" xyz 984 12 2000 life_line_z 2000
|
||||
classinstance 129605 class_ref 135962 // CoinCollector
|
||||
name "" xyz 1088 13 2000 life_line_z 2000
|
||||
classinstance 130757 class_ref 128410 // Order
|
||||
name "" xyz 711 16 2000 life_line_z 2000
|
||||
durationcanvas 128453 classinstance_ref 128069 // :Client
|
||||
xyzwh 61 82 2010 11 27
|
||||
end
|
||||
durationcanvas 128581 classinstance_ref 128325 // :PaymentSelectorController
|
||||
xyzwh 248 83 2010 11 232
|
||||
end
|
||||
durationcanvas 129221 classinstance_ref 129093 // :CollectorFactory
|
||||
xyzwh 806 90 2010 11 85
|
||||
end
|
||||
durationcanvas 129733 classinstance_ref 129477 // :CashCollector
|
||||
xyzwh 1019 106 2010 11 50
|
||||
end
|
||||
durationcanvas 129989 classinstance_ref 128197 // :Automat
|
||||
xyzwh 398 83 2010 11 197
|
||||
end
|
||||
durationcanvas 130245 classinstance_ref 129605 // :CoinCollector
|
||||
xyzwh 1121 164 2010 11 45
|
||||
end
|
||||
durationcanvas 131013 classinstance_ref 130757 // :Order
|
||||
xyzwh 730 249 2010 11 28
|
||||
end
|
||||
durationcanvas 131653 classinstance_ref 128069 // :Client
|
||||
xyzwh 61 294 2010 11 35
|
||||
end
|
||||
msg 128709 synchronous
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128581
|
||||
yz 83 2015 msg operation_ref 134786 // "selectCashPayment()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 113 69
|
||||
msg 128965 synchronous
|
||||
from durationcanvas_ref 128581
|
||||
to durationcanvas_ref 129989
|
||||
yz 84 2015 msg operation_ref 135042 // "cashPaymentSelected()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 271 69
|
||||
msg 129349 synchronous
|
||||
from durationcanvas_ref 129989
|
||||
to durationcanvas_ref 129221
|
||||
yz 90 2015 msg operation_ref 135170 // "createCollectorFactory()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 422 76
|
||||
msg 129861 synchronous
|
||||
from durationcanvas_ref 129221
|
||||
to durationcanvas_ref 129733
|
||||
yz 107 2015 msg operation_ref 135426 // "createCastCollector()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 827 92
|
||||
msg 130117 return
|
||||
from durationcanvas_ref 129733
|
||||
to durationcanvas_ref 129989
|
||||
yz 138 2015 explicitmsg "cashCollector : CashCollector"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 498 126
|
||||
msg 130373 synchronous
|
||||
from durationcanvas_ref 129221
|
||||
to durationcanvas_ref 130245
|
||||
yz 164 2015 msg operation_ref 135554 // "createCoinCollector()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 833 151
|
||||
msg 130629 return
|
||||
from durationcanvas_ref 130245
|
||||
to durationcanvas_ref 129989
|
||||
yz 194 2015 explicitmsg "coinCollector : CoinCollector"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 493 180
|
||||
msg 131141 synchronous
|
||||
from durationcanvas_ref 129989
|
||||
to durationcanvas_ref 131013
|
||||
yz 249 2015 msg operation_ref 135298 // "setPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "cashPaymentMethod : cashPaymentMethod"
|
||||
label_xy 419 232
|
||||
msg 131781 asynchronous
|
||||
from durationcanvas_ref 128581
|
||||
to durationcanvas_ref 131653
|
||||
yz 297 2015 msg operation_ref 134914 // "showCashPaymentViewPanel()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 87 283
|
||||
end
|
@ -1,68 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128069 class_ref 128069 // Client
|
||||
name "" xyz 54 4 2000 life_line_z 2000
|
||||
classinstance 128197 class_ref 141637 // PaymentSelectorController
|
||||
name "" xyz 174 6 2000 life_line_z 2000
|
||||
classinstance 128709 class_ref 128922 // Automat
|
||||
name "" xyz 403 4 2000 life_line_z 2000
|
||||
classinstance 129093 class_ref 135298 // Terminal
|
||||
name "" xyz 626 6 2000 life_line_z 2000
|
||||
classinstance 129733 class_ref 128410 // Order
|
||||
name "" xyz 745 8 2000 life_line_z 2000
|
||||
durationcanvas 128325 classinstance_ref 128069 // :Client
|
||||
xyzwh 65 71 2010 11 40
|
||||
end
|
||||
durationcanvas 128453 classinstance_ref 128197 // :PaymentSelectorController
|
||||
xyzwh 239 72 2010 11 166
|
||||
end
|
||||
durationcanvas 128837 classinstance_ref 128709 // :Automat
|
||||
xyzwh 425 79 2010 11 102
|
||||
end
|
||||
durationcanvas 129221 classinstance_ref 129093 // :Terminal
|
||||
xyzwh 647 87 2010 11 42
|
||||
end
|
||||
durationcanvas 129861 classinstance_ref 129733 // :Order
|
||||
xyzwh 764 147 2010 11 25
|
||||
end
|
||||
durationcanvas 130117 classinstance_ref 128069 // :Client
|
||||
xyzwh 65 224 2010 11 25
|
||||
end
|
||||
msg 128581 synchronous
|
||||
from durationcanvas_ref 128325
|
||||
to durationcanvas_ref 128453
|
||||
yz 72 2015 msg operation_ref 135682 // "selectCardPayment()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 111 58
|
||||
msg 128965 synchronous
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128837
|
||||
yz 83 2020 msg operation_ref 135810 // "cardPaymentSelector()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 286 69
|
||||
msg 129349 synchronous
|
||||
from durationcanvas_ref 128837
|
||||
to durationcanvas_ref 129221
|
||||
yz 89 2015 explicitmsg "terminal := <<create>> createTerminal()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 448 75
|
||||
msg 129605 return
|
||||
from durationcanvas_ref 129221
|
||||
to durationcanvas_ref 128837
|
||||
yz 118 2015 explicitmsg "terminal : Terminal"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 499 104
|
||||
msg 129989 synchronous
|
||||
from durationcanvas_ref 128837
|
||||
to durationcanvas_ref 129861
|
||||
yz 153 2015 msg operation_ref 135298 // "setPaymentMethod()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "cardPaymentMethod : CardPaymentMethod"
|
||||
label_xy 438 139
|
||||
msg 130245 return
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 130117
|
||||
yz 224 2015 explicitmsg "ShowCardPaymentViewPanel"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 85 210
|
||||
end
|
@ -1,3 +0,0 @@
|
||||
format 224
|
||||
|
||||
end
|
@ -1,63 +0,0 @@
|
||||
format 224
|
||||
|
||||
classcanvas 130434 class_ref 142600 // AutomatController
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2005.8 28.6 2000
|
||||
end
|
||||
classcanvas 130818 class_ref 135298 // Terminal
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1933.6 321.4 2000
|
||||
end
|
||||
classcanvas 131074 class_ref 135682 // Display
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1845.4 127 2000
|
||||
end
|
||||
classcanvas 131202 class_ref 135682 // Display
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2134.8 621.8 2000
|
||||
end
|
||||
classcanvas 131330 class_ref 135810 // Touchscreen
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2069.8 842.6 2000
|
||||
end
|
||||
classcanvas 131458 class_ref 142466 // Transaction
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1877.4 646.8 2005
|
||||
end
|
||||
classcanvas 131586 class_ref 142594 // PaymentCreator
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1962.4 435.6 2000
|
||||
end
|
||||
classcanvas 131714 class_ref 149384 // Interface
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2100.2 474.4 2000
|
||||
end
|
||||
classcanvas 131842 class_ref 128197 // PanelView
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2102.6 421.8 2000
|
||||
end
|
||||
classcanvas 131970 class_ref 134725 // ExceptionHandler
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2061.2 280 2000
|
||||
end
|
||||
classcanvas 132098 class_ref 134853 // I18nService
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2097.4 668.4 2005
|
||||
end
|
||||
classcanvas 132226 class_ref 134981 // LanguageController
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2089 550.4 2000
|
||||
end
|
||||
classcanvas 132354 class_ref 135109 // MealPrepearer
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1840.2 732.6 2000
|
||||
end
|
||||
classcanvas 132482 class_ref 141637 // PaymentSelectorController
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2045.2 749.4 2000
|
||||
end
|
||||
classcanvas 132610 class_ref 141765 // CollectorFactory
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 2055.6 356.8 2000
|
||||
end
|
||||
end
|
@ -1,42 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128069 class_ref 128069 // Client
|
||||
name "" xyz 47 4 2000 life_line_z 2000
|
||||
classinstance 128197 class_ref 142600 // AutomatController
|
||||
name "" xyz 163 5 2000 life_line_z 2000
|
||||
classinstance 128709 class_ref 134853 // I18nService
|
||||
name "" xyz 363 6 2000 life_line_z 2000
|
||||
durationcanvas 128325 classinstance_ref 128069 // :Client
|
||||
xyzwh 58 81 2010 11 77
|
||||
end
|
||||
durationcanvas 128453 classinstance_ref 128197 // :AutomatController
|
||||
xyzwh 208 81 2010 11 64
|
||||
end
|
||||
durationcanvas 128837 classinstance_ref 128709 // :I18nService
|
||||
xyzwh 393 85 2010 11 41
|
||||
end
|
||||
msg 128581 synchronous
|
||||
from durationcanvas_ref 128325
|
||||
to durationcanvas_ref 128453
|
||||
yz 82 2015 msg operation_ref 136066 // "OpenLanguageMenu()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 88 68
|
||||
msg 128965 synchronous
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128837
|
||||
yz 86 2020 msg operation_ref 136194 // "getLanguages()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 268 72
|
||||
msg 129093 return
|
||||
from durationcanvas_ref 128837
|
||||
to durationcanvas_ref 128453
|
||||
yz 115 2025 explicitmsg "cultures : Culture[]"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 262 101
|
||||
msg 129477 return
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128325
|
||||
yz 134 2015 explicitmsg "ShowAvailableLanguages"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 75 120
|
||||
end
|
@ -1,42 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128069 class_ref 128069 // Client
|
||||
name "" xyz 47 4 2000 life_line_z 2000
|
||||
classinstance 128197 class_ref 142600 // AutomatController
|
||||
name "" xyz 163 5 2000 life_line_z 2000
|
||||
classinstance 128709 class_ref 134853 // I18nService
|
||||
name "" xyz 363 6 2000 life_line_z 2000
|
||||
durationcanvas 128325 classinstance_ref 128069 // :Client
|
||||
xyzwh 58 81 2010 11 77
|
||||
end
|
||||
durationcanvas 128453 classinstance_ref 128197 // :AutomatController
|
||||
xyzwh 208 81 2010 11 64
|
||||
end
|
||||
durationcanvas 128837 classinstance_ref 128709 // :I18nService
|
||||
xyzwh 393 85 2010 11 41
|
||||
end
|
||||
msg 128581 synchronous
|
||||
from durationcanvas_ref 128325
|
||||
to durationcanvas_ref 128453
|
||||
yz 82 2015 explicitmsg "OpenLanguageMenu"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 88 68
|
||||
msg 128965 synchronous
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128837
|
||||
yz 86 2020 explicitmsg "getLanguages()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 268 72
|
||||
msg 129093 return
|
||||
from durationcanvas_ref 128837
|
||||
to durationcanvas_ref 128453
|
||||
yz 115 2025 explicitmsg "cultures : Culture[]"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 262 101
|
||||
msg 129477 return
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128325
|
||||
yz 134 2015 explicitmsg "ShowAvailableLanguages"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 75 120
|
||||
end
|
@ -1,37 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128069 class_ref 128069 // Client
|
||||
name "" xyz 52 5 2000 life_line_z 2000
|
||||
classinstance 129221 class_ref 134981 // LanguageController
|
||||
name "" xyz 183 4 2000 life_line_z 2000
|
||||
classinstance 129733 class_ref 134853 // I18nService
|
||||
name "" xyz 396 4 2000 life_line_z 2000
|
||||
durationcanvas 129349 classinstance_ref 128069 // :Client
|
||||
xyzwh 63 76 2010 11 53
|
||||
end
|
||||
durationcanvas 129477 classinstance_ref 129221 // :LanguageController
|
||||
xyzwh 232 77 2010 11 41
|
||||
end
|
||||
durationcanvas 129861 classinstance_ref 129733 // :I18nService
|
||||
xyzwh 426 78 2010 11 25
|
||||
end
|
||||
msg 129605 synchronous
|
||||
from durationcanvas_ref 129349
|
||||
to durationcanvas_ref 129477
|
||||
yz 77 2015 msg operation_ref 136322 // "selectLanguage()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 115 63
|
||||
msg 129989 synchronous
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 129861
|
||||
yz 80 2015 msg operation_ref 136450 // "changeLanguage()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "culture:Culture"
|
||||
label_xy 251 66
|
||||
msg 130117 return
|
||||
from durationcanvas_ref 129477
|
||||
to durationcanvas_ref 129349
|
||||
yz 107 2015 explicitmsg "CloseLanguagePanelView"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 90 93
|
||||
end
|
@ -1,47 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128069 class_ref 128069 // Client
|
||||
name "" xyz 40 13 2000 life_line_z 2000
|
||||
classinstance 128197 class_ref 142600 // AutomatController
|
||||
name "" xyz 160 17 2000 life_line_z 2000
|
||||
classinstance 128709 class_ref 128922 // Automat
|
||||
name "" xyz 344 17 2000 life_line_z 2000
|
||||
classinstance 129093 class_ref 128410 // Order
|
||||
name "" xyz 483 15 2000 life_line_z 2000
|
||||
durationcanvas 128325 classinstance_ref 128069 // :Client
|
||||
xyzwh 51 102 2010 11 40
|
||||
end
|
||||
durationcanvas 128453 classinstance_ref 128197 // :AutomatController
|
||||
xyzwh 205 103 2010 11 38
|
||||
end
|
||||
durationcanvas 128837 classinstance_ref 128709 // :Automat
|
||||
xyzwh 366 104 2010 11 28
|
||||
end
|
||||
durationcanvas 129221 classinstance_ref 129093 // :Order
|
||||
xyzwh 502 112 2010 11 9
|
||||
end
|
||||
msg 128581 synchronous
|
||||
from durationcanvas_ref 128325
|
||||
to durationcanvas_ref 128453
|
||||
yz 103 2015 msg operation_ref 136706 // "cancelOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 103 89
|
||||
msg 128965 synchronous
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128837
|
||||
yz 108 2015 msg operation_ref 136834 // "cancelOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 257 94
|
||||
msg 129349 synchronous
|
||||
from durationcanvas_ref 128837
|
||||
to durationcanvas_ref 129221
|
||||
yz 112 2020 msg operation_ref 136962 // "deleteOrder()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 407 98
|
||||
msg 129477 return
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128325
|
||||
yz 130 2015 explicitmsg "ShowWelcomeViewPanel"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 71 116
|
||||
end
|
@ -1,59 +0,0 @@
|
||||
format 224
|
||||
|
||||
classinstance 128069 class_ref 128069 // Client
|
||||
name "" xyz 79 16 2000 life_line_z 2000
|
||||
classinstance 128197 class_ref 142600 // AutomatController
|
||||
name "" xyz 227 4 2000 life_line_z 2000
|
||||
classinstance 128709 class_ref 128922 // Automat
|
||||
name "" xyz 403 4 2000 life_line_z 2000
|
||||
classinstance 129093 class_ref 135109 // MealPrepearer
|
||||
name "" xyz 570 4 2000 life_line_z 2000
|
||||
classinstance 129733 class_ref 129050 // Worker
|
||||
name "" xyz 764 9 2000 life_line_z 2000
|
||||
durationcanvas 128325 classinstance_ref 128069 // :Client
|
||||
xyzwh 90 83 2010 11 52
|
||||
end
|
||||
durationcanvas 128453 classinstance_ref 128197 // :AutomatController
|
||||
xyzwh 272 84 2010 11 47
|
||||
end
|
||||
durationcanvas 128837 classinstance_ref 128709 // :Automat
|
||||
xyzwh 425 90 2010 11 29
|
||||
end
|
||||
durationcanvas 129221 classinstance_ref 129093 // :MealPrepearer
|
||||
xyzwh 607 95 2010 11 31
|
||||
end
|
||||
durationcanvas 129861 classinstance_ref 129733 // :Worker
|
||||
xyzwh 783 101 2010 11 28
|
||||
end
|
||||
msg 128581 synchronous
|
||||
from durationcanvas_ref 128325
|
||||
to durationcanvas_ref 128453
|
||||
yz 85 2015 msg operation_ref 137090 // "collectMeal()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 160 71
|
||||
msg 128965 synchronous
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128837
|
||||
yz 92 2020 msg operation_ref 137218 // "mealCollected()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 317 78
|
||||
msg 129349 asynchronous
|
||||
from durationcanvas_ref 128837
|
||||
to durationcanvas_ref 129221
|
||||
yz 97 2015 msg operation_ref 137346 // "checkPreapererStatus()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 461 84
|
||||
msg 129477 return
|
||||
from durationcanvas_ref 128453
|
||||
to durationcanvas_ref 128325
|
||||
yz 115 2015 explicitmsg "showWelcomeViewPanel"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 125 101
|
||||
msg 129989 asynchronous
|
||||
from durationcanvas_ref 129221
|
||||
to durationcanvas_ref 129861
|
||||
yz 101 2020 msg operation_ref 137474 // "sendStatus()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "status : Status"
|
||||
label_xy 636 87
|
||||
end
|
@ -1,235 +0,0 @@
|
||||
format 224
|
||||
|
||||
classcanvas 139650 class_ref 128922 // Automat
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 497.524 64.1654 2000
|
||||
end
|
||||
classcanvas 139778 class_ref 142600 // AutomatController
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 36.7678 3.8796 2000
|
||||
end
|
||||
classcanvas 140034 class_ref 128410 // Order
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1010.26 -0.154523 2000
|
||||
end
|
||||
classcanvas 140162 class_ref 135834 // CashPayment
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1433.16 621.2 2000
|
||||
end
|
||||
classcanvas 140674 class_ref 129178 // Shelf
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1024.53 124.169 2000
|
||||
end
|
||||
classcanvas 140930 class_ref 128666 // CardPayment
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1553.14 444.275 2000
|
||||
end
|
||||
classcanvas 141058 class_ref 136072 // Culture
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1389.21 104.042 2000
|
||||
end
|
||||
classcanvas 141186 class_ref 134853 // I18nService
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1010.99 213.836 2000
|
||||
end
|
||||
classcanvas 141570 class_ref 141765 // CollectorFactory
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 989.914 300.483 2000
|
||||
end
|
||||
classcanvas 141698 class_ref 135962 // CoinCollectorAdapter
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1408.5 221.176 2000
|
||||
end
|
||||
classcanvas 141826 class_ref 135816 // CashCollectorAdapter
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1410.92 358.298 2000
|
||||
end
|
||||
classcanvas 141954 class_ref 135944 // CollectorAdapter
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1238.33 295.972 2000
|
||||
end
|
||||
classcanvas 142210 class_ref 141637 // PaymentSelectorController
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 38.1602 247.296 2000
|
||||
end
|
||||
classcanvas 143362 class_ref 149122 // PaymentService
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 991.36 494.712 2000
|
||||
end
|
||||
classcanvas 143746 class_ref 149250 // PaymentStrategy
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1224.17 489.947 2000
|
||||
end
|
||||
classcanvas 145282 class_ref 135109 // MealPrepearer
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 498.605 464.946 2000
|
||||
end
|
||||
classcanvas 145410 class_ref 129050 // Worker
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 706.469 442.618 2000
|
||||
end
|
||||
classcanvas 145794 class_ref 135298 // Terminal
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 79.96 880.658 2000
|
||||
end
|
||||
classcanvas 145922 class_ref 128770 // TransactionController
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 42.5047 321.903 2000
|
||||
end
|
||||
classcanvas 146562 class_ref 135688 // Card
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1573.94 873.708 2000
|
||||
end
|
||||
classcanvas 147202 class_ref 142466 // Transaction
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 513.302 721.3 2000
|
||||
end
|
||||
classcanvas 147330 class_ref 135938 // TransactionConfirmation
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 904.65 720.852 2000
|
||||
end
|
||||
classcanvas 147714 class_ref 135554 // AuthorizationSystem
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 1736.98 438.519 2000
|
||||
end
|
||||
note 149506 "2 odmienne rodzaje platnosci charakteryzujace sie odmienna implementacja"
|
||||
xyzwh 1217.26 393.14 2006 121 89
|
||||
note 149634 "Adapter-wspolny interfejs dla kolektorow pieniedzy"
|
||||
xyzwh 1230.94 211.4 2006 115 79
|
||||
note 149762 "Klasa odpowiedzialna za budowanie odpowiednich kolektorow. Wyrecza automat z tej odpowiedzialnosci"
|
||||
xyzwh 984.6 351.18 2006 153 90
|
||||
relationcanvas 139906 relation_ref 128258 // <unidirectional association>
|
||||
decenter_end 266
|
||||
from ref 139778 z 2001 to ref 139650
|
||||
role_a_pos 446 138 3000 no_role_b
|
||||
multiplicity_a_pos 484 161 3000 multiplicity_b_pos 219 147 3000
|
||||
end
|
||||
relationcanvas 140546 relation_ref 128386 // tworzy
|
||||
decenter_begin 32
|
||||
from ref 139650 z 2001 label "tworzy" italic max_width 255 xyz 807 59 2001 to ref 140034
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 994 67 3000 multiplicity_b_pos 639 97 3000
|
||||
end
|
||||
relationcanvas 140802 relation_ref 128514 // posiada
|
||||
decenter_begin 270
|
||||
from ref 139650 z 2001 label "posiada" italic max_width 255 xyz 810 142 2001 to ref 140674
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1005 167 3000 multiplicity_b_pos 650 163 3000
|
||||
end
|
||||
relationcanvas 141314 relation_ref 128642 // ma
|
||||
from ref 141186 z 2001 label "ma" italic max_width 255 xyz 1239 172 2001 to ref 141058
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1369 161 3000 multiplicity_b_pos 1124 229 3000
|
||||
end
|
||||
relationcanvas 141442 relation_ref 128770 // ma
|
||||
decenter_begin 560
|
||||
from ref 139650 z 2001 label "ma" italic max_width 255 xyz 815 225 2001 to ref 141186
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 994 249 3000 multiplicity_b_pos 639 244 3000
|
||||
end
|
||||
relationcanvas 142338 relation_ref 128898 // ma
|
||||
decenter_begin 828
|
||||
from ref 139650 z 2001 label "ma" italic max_width 255 xyz 803 300 2001 to ref 141570
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 975 326 3000 multiplicity_b_pos 639 318 3000
|
||||
end
|
||||
relationcanvas 142466 relation_ref 129026 // tworzy
|
||||
from ref 141570 z 2001 label "tworzy" italic max_width 255 xyz 1166 307 2001 to ref 141954
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 143234 relation_ref 129410 // kontroluje
|
||||
decenter_end 703
|
||||
from ref 142210 z 2001 label "kontroluje" italic max_width 255 xyz 317 256 2001 to ref 139650
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 484 282 3000 multiplicity_b_pos 201 273 3000
|
||||
end
|
||||
relationcanvas 143490 relation_ref 129538 // ma
|
||||
decenter_begin 967
|
||||
from ref 139650 z 2001 label "ma" italic max_width 255 xyz 805 411 2001 to ref 143362
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 979 511 3000 multiplicity_b_pos 639 361 3000
|
||||
end
|
||||
relationcanvas 144130 relation_ref 129794 // ma
|
||||
decenter_end 670
|
||||
from ref 143362 z 2001 label "ma" italic max_width 255 xyz 1148 504 2001 to ref 143746
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1212 526 3000 multiplicity_b_pos 1095 522 3000
|
||||
end
|
||||
relationcanvas 145538 relation_ref 130818 // ma
|
||||
from ref 139650 z 2001 label "ma" italic max_width 255 xyz 553 403 2001 to ref 145282
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 543 449 3000 multiplicity_b_pos 543 366 3000
|
||||
end
|
||||
relationcanvas 145666 relation_ref 130946 // ma
|
||||
decenter_begin 483
|
||||
from ref 145282 z 2001 to point 623.5 486.8
|
||||
line 150274 z 2001 label "ma" italic max_width 255 xyz 657 473 2001 to ref 145410
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 689 491 3000 multiplicity_b_pos 630 493 3000
|
||||
end
|
||||
relationcanvas 146050 relation_ref 131074 // kontroluje>
|
||||
decenter_end 939
|
||||
from ref 145922 z 2001 label "kontroluje>" italic max_width 255 xyz 319 336 2001 to ref 139650
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 484 348 3000 multiplicity_b_pos 210 374 3000
|
||||
end
|
||||
relationcanvas 146434 relation_ref 131330 // kontroluje
|
||||
from ref 145922 z 2001 label "kontroluje" italic max_width 255 xyz 95 661 2001 to ref 145794
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 101 865 3000 multiplicity_b_pos 101 477 3000
|
||||
end
|
||||
relationcanvas 146946 relation_ref 131458 // uzywa
|
||||
decenter_begin 592
|
||||
from ref 140930 z 2001 to point 1601.3 494.6
|
||||
line 149890 z 2001 label "uzywa" italic max_width 255 xyz 1591 673 2001 to ref 146562
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1590 861 3000 multiplicity_b_pos 1584 485 3000
|
||||
end
|
||||
relationcanvas 147074 relation_ref 131586 // ma
|
||||
from ref 145794 z 2001 label "ma" italic max_width 255 xyz 858 900 2001 to ref 146562
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1557 930 3000 multiplicity_b_pos 169 917 3000
|
||||
end
|
||||
relationcanvas 147458 relation_ref 131714 // ma
|
||||
from ref 147202 z 2001 label "ma" italic max_width 255 xyz 778 729 2001 to ref 147330
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 892 749 3000 multiplicity_b_pos 688 751 3000
|
||||
end
|
||||
relationcanvas 147586 relation_ref 131842 // ma
|
||||
from ref 145922 z 2001 label "ma" italic max_width 255 xyz 370 566 2001 to ref 147202
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 492 703 3000 multiplicity_b_pos 208 481 3000
|
||||
end
|
||||
relationcanvas 147842 relation_ref 131970 // ma
|
||||
from ref 140930 z 2001 label "ma" italic max_width 255 xyz 1679 447 2001 to ref 147714
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 1725 467 3000 multiplicity_b_pos 1645 467 3000
|
||||
end
|
||||
relationcanvas 147970 relation_ref 132098 // ma
|
||||
decenter_begin 671
|
||||
from ref 147202 z 2001 label "ma" italic max_width 255 xyz 796 613 2001 to ref 143362
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 979 538 3000 multiplicity_b_pos 666 706 3000
|
||||
end
|
||||
relationcanvas 148098 relation_ref 138626 // <realization>
|
||||
from ref 140162 z 2001 to ref 143746
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 148226 relation_ref 138754 // <realization>
|
||||
from ref 140930 z 2001 to ref 143746
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 149250 relation_ref 139138 // <unidirectional association>
|
||||
from ref 141698 z 2001 to ref 141954
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 149378 relation_ref 139266 // <unidirectional association>
|
||||
from ref 141826 z 2001 to ref 141954
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
end
|
@ -1,307 +0,0 @@
|
||||
format 224
|
||||
|
||||
pseudostatecanvas 128002 pseudostate_ref 128002 // initial
|
||||
xyz 377.112 21.9207 2000
|
||||
end
|
||||
statecanvas 128130 state_ref 128130 // Produkt wybrany
|
||||
|
||||
xyzwh 217.142 260.07 2000 115 33
|
||||
end
|
||||
statecanvas 128642 state_ref 128258 // Posilek wybrany
|
||||
|
||||
xyzwh 463.363 261.534 2000 111 33
|
||||
end
|
||||
statecanvas 129922 state_ref 128386 // Zamowienie rozpoczete
|
||||
|
||||
xyzwh 310.112 89.7223 2000 153 33
|
||||
end
|
||||
pseudostatecanvas 130434 pseudostate_ref 128898 // choice
|
||||
xyz 398.085 1576.54 2000
|
||||
end
|
||||
statecanvas 130946 state_ref 128514 // Wybor platnosci
|
||||
|
||||
xyzwh 372.673 803.034 2000 109 33
|
||||
end
|
||||
statecanvas 131074 state_ref 128642 // Platnosc karta
|
||||
|
||||
xyzwh 277.271 925.644 2000 99 33
|
||||
end
|
||||
statecanvas 131202 state_ref 128770 // Platnosc gotowka
|
||||
|
||||
xyzwh 533.701 917.932 2000 119 33
|
||||
end
|
||||
statecanvas 131842 state_ref 128898 // Platnosc gotowka zaakceptowana
|
||||
|
||||
xyzwh 412.505 1406.75 2000 207 33
|
||||
end
|
||||
statecanvas 131970 state_ref 129026 // Odrzucona
|
||||
|
||||
xyzwh 84.0747 958.957 2000 79 33
|
||||
end
|
||||
statecanvas 132354 state_ref 129154 // Procesowanie platnosci
|
||||
|
||||
xyzwh 202.202 1117.74 2000 153 33
|
||||
end
|
||||
statecanvas 133378 state_ref 129282 // Gotowka wrzucona
|
||||
|
||||
xyzwh 539.709 1071.39 2000 127 33
|
||||
end
|
||||
statecanvas 134018 state_ref 129410 // Gotowka zaakceptowany
|
||||
|
||||
xyzwh 457.968 1295.04 2000 157 33
|
||||
end
|
||||
statecanvas 134274 state_ref 129538 // Gotowka odrzucony
|
||||
|
||||
xyzwh 650.36 1294.18 2000 131 33
|
||||
end
|
||||
statecanvas 135554 state_ref 129666 // Posilek oplacony
|
||||
|
||||
xyzwh 586.803 1718.56 2000 113 33
|
||||
end
|
||||
statecanvas 135682 state_ref 129794 // Produkt oplacony
|
||||
|
||||
xyzwh 197.87 1887.85 2000 117 33
|
||||
end
|
||||
pseudostatecanvas 136066 pseudostate_ref 129026 // final
|
||||
xyz 248.674 2027.04 2000
|
||||
end
|
||||
statecanvas 136322 state_ref 129922 // Posilek przygotowywany
|
||||
|
||||
xyzwh 603.231 1903.37 2000 159 33
|
||||
end
|
||||
pseudostatecanvas 136450 pseudostate_ref 129154 // final
|
||||
xyz 680.415 2056.51 2000
|
||||
end
|
||||
statecanvas 136834 state_ref 130050 // Produkt dostepny
|
||||
|
||||
xyzwh 80.1157 450.577 2000 119 33
|
||||
end
|
||||
statecanvas 136962 state_ref 130178 // Produkt niedostepny
|
||||
|
||||
xyzwh 243.633 447.242 2000 137 33
|
||||
end
|
||||
statecanvas 137090 state_ref 130306 // Posilek dostepny
|
||||
|
||||
xyzwh 732.553 445.346 2000 117 33
|
||||
end
|
||||
statecanvas 137218 state_ref 130434 // Posilek niedostepny
|
||||
|
||||
xyzwh 463.221 444.882 2000 133 33
|
||||
end
|
||||
pseudostatecanvas 138114 pseudostate_ref 129282 // final
|
||||
xyz 417.065 649.718 2000
|
||||
end
|
||||
pseudostatecanvas 139266 pseudostate_ref 129410 // final
|
||||
xyz 97.5784 1161.3 2000
|
||||
end
|
||||
pseudostatecanvas 140418 pseudostate_ref 129538 // final
|
||||
xyz 1086.44 1189.18 2000
|
||||
end
|
||||
statecanvas 140930 state_ref 130562 // Gotowka wydany
|
||||
|
||||
xyzwh 860.68 1191.42 2000 117 33
|
||||
end
|
||||
statecanvas 141442 state_ref 130690 // Platnosc karta zaakceptowana
|
||||
|
||||
xyzwh 129.72 1400.16 2000 187 33
|
||||
end
|
||||
statecanvas 141954 state_ref 130818 // Reszta wydana
|
||||
|
||||
xyzwh 472.34 1497.86 2000 103 33
|
||||
end
|
||||
transitioncanvas 130050 transition_ref 128770 // rozpocznij zamowienie
|
||||
|
||||
from ref 128002 z 2001 label "rozpocznij zamowienie" xyz 331 56 3000 to ref 129922
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 130178 transition_ref 128898 // wybierz produkt
|
||||
|
||||
from ref 129922 z 2001 label "wybierz produkt" xyz 289 197.5 3000 to ref 128130
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 130306 transition_ref 129026 // wybierz posilek
|
||||
|
||||
from ref 129922 z 2001 label "wybierz posilek" xyz 400 182.5 3000 to ref 128642
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 131714 transition_ref 129666 // wybierz platnosc gotowka
|
||||
|
||||
from ref 130946 z 2001 label "wybierz platnosc gotowka" xyz 491.5 869.5 3000 to ref 131202
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 132482 transition_ref 130050 // zaplac karta
|
||||
|
||||
from ref 131074 z 2001 label "zaplac karta" xyz 272 1029 3000 to ref 132354
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 132994 transition_ref 130434 // transakcja odrzucona
|
||||
|
||||
from ref 132354 z 2001 label "transakcja odrzucona" xyz 146.5 1044.5 3000 to ref 131970
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 133122 transition_ref 130562 // ponowienie platnosci
|
||||
|
||||
from ref 131970 z 2001 label "ponowienie platnosci" xyz 157 927 3000 to ref 131074
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 133890 transition_ref 130818 // wrzuc monete
|
||||
|
||||
from ref 131202 z 2001 label "wrzuc monete" xyz 561 1003 3000 to ref 133378
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 134146 transition_ref 130946 // zaakceptuj gotowke
|
||||
decenter_end 277
|
||||
|
||||
from ref 133378 z 2001 label "zaakceptuj gotowke" xyz 423 1167 3000 to point 502.867 1086.86
|
||||
line 134786 z 2001 to ref 134018
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 134530 transition_ref 131074 // odrzuc gotowke
|
||||
decenter_end 611
|
||||
|
||||
from ref 133378 z 2001 label "odrzuc gotowke" xyz 721 1163.5 3000 to point 724.468 1082.61
|
||||
line 135170 z 2001 to ref 134274
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 134658 transition_ref 131202 // wrzuc gotowke
|
||||
decenter_begin 666
|
||||
|
||||
from ref 134018 z 2001 label "wrzuc gotowke" xyz 512.5 1192 3000 to point 562.708 1104.21
|
||||
line 134914 z 2001 to ref 133378
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 135042 transition_ref 131330 // wrzuc gotowke
|
||||
decenter_begin 82
|
||||
decenter_end 898
|
||||
|
||||
from ref 134274 z 2001 label "wrzuc gotowke" xyz 611 1182 3000 to ref 133378
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 135298 transition_ref 131458 // zaakceptuj platnosc [gotowka zaakceptowana >= cena produktu/posilku]
|
||||
decenter_end 572
|
||||
|
||||
from ref 134018 z 2001 label "zaakceptuj platnosc [gotowka zaakceptowana >= cena produktu/posilku]" xyz 535.5 1367 3000 to ref 131842
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 135810 transition_ref 131714 // wybrano produkt
|
||||
|
||||
from ref 130434 z 2001 label "wybrano produkt" xyz 274 1699.5 3000 to ref 135682
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 135938 transition_ref 131842 // wybrano posilek
|
||||
decenter_begin 755
|
||||
|
||||
from ref 130434 z 2001 label "wybrano posilek" xyz 526.5 1646 3000 to ref 135554
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 136194 transition_ref 131970 // wydaj produkt
|
||||
|
||||
from ref 135682 z 2001 label "wydaj produkt" xyz 298.5 1968 3000 to ref 136066
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 136578 transition_ref 132098 // przygotuj posilek
|
||||
|
||||
from ref 135554 z 2001 label "przygotuj posilek" xyz 694 1788.5 3000 to ref 136322
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 136706 transition_ref 132226 // wydaj posilek
|
||||
decenter_begin 546
|
||||
|
||||
from ref 136322 z 2001 label "wydaj posilek" xyz 739 1975 3000 to ref 136450
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 137346 transition_ref 132354 // sprawdz dostepnosc
|
||||
|
||||
from ref 128642 z 2001 label "sprawdz dostepnosc" xyz 678 246 3000 to point 791.32 273.04
|
||||
line 142338 z 2001 to ref 137090
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 137730 transition_ref 132610 // sprawdz dostepnosc
|
||||
decenter_end 414
|
||||
|
||||
from ref 128642 z 2001 label "sprawdz dostepnosc" xyz 523 355.5 3000 to ref 137218
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 137858 transition_ref 132738 // sprawdz dostepnosc
|
||||
decenter_end 261
|
||||
|
||||
from ref 128130 z 2001 label "sprawdz dostepnosc" xyz 191.5 354.5 3000 to ref 136962
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 137986 transition_ref 132866 // sprawdz dostepnosc
|
||||
decenter_end 328
|
||||
|
||||
from ref 128130 z 2001 label "sprawdz dostepnosc" xyz 86 246 3000 to point 115.36 276.92
|
||||
line 142594 z 2001 to ref 136834
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 138498 transition_ref 132994 // anuluj zamowienie
|
||||
|
||||
from ref 137218 z 2001 label "anuluj zamowienie" xyz 455.5 568.5 3000 to ref 138114
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 138626 transition_ref 133122 // anuluj zamowienie
|
||||
|
||||
from ref 136962 z 2001 label "anuluj zamowienie" xyz 331.5 547.5 3000 to ref 138114
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 138754 transition_ref 133250 // przejdz do platnosci
|
||||
decenter_begin 533
|
||||
|
||||
from ref 136834 z 2001 label "przejdz do platnosci" xyz 200 673 3000 to ref 130946
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 138882 transition_ref 133378 // przejdz do platnosci
|
||||
|
||||
from ref 137090 z 2001 label "przejdz do platnosci" xyz 562 650.5 3000 to ref 130946
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 139522 transition_ref 133762 // wybierz platnosc karta
|
||||
|
||||
from ref 130946 z 2001 label "wybierz platnosc karta" xyz 306 868 3000 to ref 131074
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 139650 transition_ref 133890 // anuluj zamowienie
|
||||
|
||||
from ref 130946 z 2001 label "anuluj zamowienie" xyz 383 730 3000 to ref 138114
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 139778 transition_ref 134018 // anuluj zamowienie [platnosci odrzucone > 3]
|
||||
|
||||
from ref 131970 z 2001 label "anuluj zamowienie [platnosci odrzucone > 3]" xyz 7 1078 3000 to ref 139266
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 141058 transition_ref 134274 // anuluj zamowienie
|
||||
decenter_end 381
|
||||
|
||||
from ref 133378 z 2001 label "anuluj zamowienie" xyz 756 1053.5 3000 to point 898.7 1082.1
|
||||
line 141314 z 2001 to ref 140930
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 141186 transition_ref 134402 // anuluj zamowienie
|
||||
|
||||
from ref 140930 z 2001 label "anuluj zamowienie" xyz 981 1227 3000 to ref 140418
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 141570 transition_ref 134530 // zaakceptuj platnosc
|
||||
|
||||
from ref 132354 z 2001 label "zaakceptuj platnosc" xyz 201 1267 3000 to ref 141442
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 141826 transition_ref 134658 // <transition>
|
||||
|
||||
from ref 141442 z 2001 to ref 130434
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 142082 transition_ref 134786 // wydaj reszte
|
||||
decenter_begin 527
|
||||
|
||||
from ref 131842 z 2001 label "wydaj reszte" xyz 562 1458.5 3000 to ref 141954
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
transitioncanvas 142210 transition_ref 134914 // <transition>
|
||||
|
||||
from ref 141954 z 2001 to ref 130434
|
||||
write_horizontally default show_definition default drawing_language default
|
||||
end
|
||||
end
|
@ -1,46 +0,0 @@
|
||||
window_sizes 1920 1017 332 1583 866 105
|
||||
|
||||
diagrams
|
||||
sequencediagram_ref 141442 // 3-5-podanie_PINu
|
||||
1266 693 100 A4 0 0
|
||||
active classdiagram_ref 154498 // design-model
|
||||
1583 866 90 A0 0 0
|
||||
end
|
||||
show_stereotypes
|
||||
marked
|
||||
class_ref 128922 // Automat
|
||||
class_ref 129178 // Shelf
|
||||
class_ref 135706 // Payment
|
||||
class_ref 135834 // CashPayment
|
||||
class_ref 135962 // CoinCollectorAdapter
|
||||
class_ref 128008 // Coin
|
||||
class_ref 128136 // Price
|
||||
class_ref 128264 // PhoneNumber
|
||||
class_ref 128392 // ProductType
|
||||
class_ref 136072 // Culture
|
||||
class_ref 128520 // Date
|
||||
class_ref 128648 // Address
|
||||
class_ref 128776 // Money
|
||||
class_ref 128904 // Cash
|
||||
class_ref 135432 // Currency
|
||||
class_ref 135560 // ZipCode
|
||||
class_ref 135688 // Card
|
||||
class_ref 135816 // CashCollectorAdapter
|
||||
class_ref 135944 // CollectorAdapter
|
||||
class_ref 128410 // Order
|
||||
end
|
||||
selected classdiagram_ref 154498 // design-model
|
||||
open
|
||||
class_ref 129178 // Shelf
|
||||
class_ref 135834 // CashPayment
|
||||
class_ref 135962 // CoinCollectorAdapter
|
||||
class_ref 135816 // CashCollectorAdapter
|
||||
class_ref 135944 // CollectorAdapter
|
||||
class_ref 128770 // TransactionController
|
||||
class_ref 135298 // Terminal
|
||||
class_ref 135554 // AuthorizationSystem
|
||||
class_ref 134981 // LanguageController
|
||||
class_ref 149122 // PaymentService
|
||||
class_ref 149250 // PaymentStrategy
|
||||
end
|
||||
end
|
@ -1,12 +0,0 @@
|
||||
window_sizes 1920 1017 450 1465 867 104
|
||||
|
||||
diagrams
|
||||
active classdiagram_ref 134597 // domain-models
|
||||
1345 760 100 A4 0 0
|
||||
end
|
||||
show_stereotypes
|
||||
selected classdiagram_ref 134597 // domain-models
|
||||
open
|
||||
classview_ref 134597 // domain
|
||||
end
|
||||
end
|
@ -1,13 +0,0 @@
|
||||
window_sizes 1920 1017 450 1465 839 132
|
||||
|
||||
diagrams
|
||||
active sequencediagram_ref 134664 // 1-3-wybranie_metody_platnosci_gotowka
|
||||
1172 671 100 A3 0 0
|
||||
end
|
||||
show_stereotypes
|
||||
selected sequencediagram_ref 134664 // 1-3-wybranie_metody_platnosci_gotowka
|
||||
open
|
||||
classview_ref 134597 // domain
|
||||
classview_ref 134658 // design
|
||||
end
|
||||
end
|
@ -1,8 +0,0 @@
|
||||
window_sizes 1920 1027 295 1620 885 96
|
||||
|
||||
show_stereotypes
|
||||
selected sequencediagram_ref 135176 // 1-8-odebranie_produktu
|
||||
open
|
||||
classview_ref 134658 // design
|
||||
end
|
||||
end
|
@ -1,22 +0,0 @@
|
||||
window_sizes 1920 1017 450 1465 867 104
|
||||
|
||||
diagrams
|
||||
sequencediagram_ref 128092 // 4-1-wrzut_monety
|
||||
1172 693 100 A4 0 0
|
||||
sequencediagram_ref 128220 // 4-2-wrzut_banknotu
|
||||
1172 693 100 A4 0 0
|
||||
sequencediagram_ref 128604 // 4-3-odbior_monety
|
||||
1172 693 100 A4 0 0
|
||||
sequencediagram_ref 128732 // 4-4-odbior_banknotu
|
||||
1172 693 100 A4 0 0
|
||||
sequencediagram_ref 128348 // 4-5-anulowanie_transakcji
|
||||
1172 693 100 A4 0 0
|
||||
active sequencediagram_ref 128476 // 4-6-wybor_drukowania_potwierdzenia_transakcji
|
||||
1172 693 100 A4 0 0
|
||||
end
|
||||
show_stereotypes
|
||||
selected sequencediagram_ref 128476 // 4-6-wybor_drukowania_potwierdzenia_transakcji
|
||||
open
|
||||
classview_ref 134658 // design
|
||||
end
|
||||
end
|
@ -1,13 +0,0 @@
|
||||
// "a type" "needed cpp_includes"
|
||||
"vector" "#include <vector>
|
||||
using namespace std;"
|
||||
|
||||
"list" "#include <list>
|
||||
using namespace std;"
|
||||
|
||||
"map" "#include <map>
|
||||
using namespace std;"
|
||||
|
||||
"string" "#include <string>
|
||||
using namespace std;"
|
||||
|
@ -1,332 +0,0 @@
|
||||
|
||||
java_default_defs
|
||||
cpp_h_extension "h" cpp_src_extension "cpp" cpp_h_add_extensions "" cpp_src_add_extensions "" java_extension "java" php_extension "php" python_extension "py" idl_extension "idl"
|
||||
cpp_inline_dont_force_incl_in_h
|
||||
|
||||
type_forms 15 // uml cpp java idl cpp_in cpp_out cpp_inout cpp_return
|
||||
"void" "void" "void" "void" "${type}" "${type} &" "${type}" "${type}"
|
||||
"any" "void *" "Object" "any" "const ${type}" "${type}" "${type} &" "${type}"
|
||||
"bool" "bool" "boolean" "boolean" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"char" "char" "char" "char" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"uchar" "unsigned char" "char" "octet" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"byte" "unsigned char" "byte" "octet" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"short" "short" "short" "short" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"ushort" "unsigned short" "short" "unsigned short" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"int" "int" "int" "long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"uint" "unsigned int" "int" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"long" "long" "long" "long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"ulong" "unsigned long" "long" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"float" "float" "float" "float" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"double" "double" "double" "double" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"string" "string" "String" "string" "${type}" "${type} &" "${type} &" "${type}"
|
||||
|
||||
relations_stereotypes 5 // uml cpp java pythonidl
|
||||
"sequence" "vector" "Vector" "list" "sequence"
|
||||
"vector" "vector" "Vector" "list" "sequence"
|
||||
"list" "list" "List" "list" "sequence"
|
||||
"set" "set" "Set" "set" "sequence"
|
||||
"map" "map" "Map" "dict" "sequence"
|
||||
|
||||
classes_stereotypes 17 // uml cpp java php python idl
|
||||
"class" "class" "class" "class" "class" "valuetype"
|
||||
"trait" "class" "class" "trait" "class" "valuetype"
|
||||
"interface" "class" "interface" "interface" "class" "interface"
|
||||
"exception" "class" "class" "class" "class" "exception"
|
||||
"enum" "enum" "enum" "enum" "enum" "enum"
|
||||
"enum_class" "enum_class" "enum" "enum" "enum" "enum"
|
||||
"enum_pattern" "enum" "enum_pattern" "enum" "enum" "enum"
|
||||
"struct" "struct" "class" "class" "class" "struct"
|
||||
"union" "union" "class" "class" "class" "union"
|
||||
"typedef" "typedef" "ignored" "ignored" "ignored" "typedef"
|
||||
"template_typedef" "template_typedef" "ignored" "ignored" "ignored" "ignored"
|
||||
"boundary" "class" "class" "class" "class" "interface"
|
||||
"control" "class" "class" "class" "class" "valuetype"
|
||||
"entity" "class" "class" "class" "class" "valuetype"
|
||||
"actor" "ignored" "ignored" "ignored" "ignored" "ignored"
|
||||
"@interface" "ignored" "@interface" "ignored" "ignored" "ignored"
|
||||
"stereotype" "ignored" "ignored" "ignored" "ignored" "ignored"
|
||||
|
||||
cpp_enum_default_type_forms "${type}" "${type} &" "${type} &" "${type}" // in out inout return
|
||||
other_cpp_types_default_type_forms "const ${type} &" "${type} &" "${type} &" "${type}" // in out inout return
|
||||
|
||||
cpp_default_h_content "#ifndef ${NAMESPACE}_${NAME}_H
|
||||
#define ${NAMESPACE}_${NAME}_H
|
||||
|
||||
${comment}
|
||||
${includes}
|
||||
${declarations}
|
||||
${namespace_start}
|
||||
${definition}
|
||||
${namespace_end}
|
||||
#endif
|
||||
"
|
||||
cpp_default_src_content "${comment}
|
||||
${includes}
|
||||
${namespace_start}
|
||||
${members}
|
||||
${namespace_end}"
|
||||
cpp_default_class_decl "${comment}${template}class ${name}${inherit} {
|
||||
${members}};
|
||||
${inlines}
|
||||
"
|
||||
cpp_default_external_class_decl "${name}
|
||||
#include <${name}.h>
|
||||
"
|
||||
cpp_default_struct_decl "${comment}${template}struct ${name}${inherit} {
|
||||
${members}};
|
||||
${inlines}
|
||||
"
|
||||
cpp_default_union_decl "${comment}${template}union ${name} {
|
||||
${members}};
|
||||
${inlines}
|
||||
"
|
||||
cpp_default_enum_decl "${comment}enum ${name} {
|
||||
${items}};
|
||||
"
|
||||
cpp_default_enumclass_decl "${comment}enum class ${name} {
|
||||
${items}};
|
||||
"
|
||||
cpp_default_typedef_decl "${comment}typedef ${type} ${name};
|
||||
"cpp_default_template_typedef_decl "${comment}${template}using ${name} = ${inherit};
|
||||
"
|
||||
cpp_default_attribute_declaration " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
|
||||
" // multiplicity [..]
|
||||
cpp_default_enum_item_declaration " ${name}${value},${comment}"
|
||||
cpp_association_aggregation_declaration
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type} *> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${multiplicity}${value};
|
||||
" // multiplicity [..]
|
||||
cpp_aggregation_by_value_declaration
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
|
||||
" // multiplicity [..]
|
||||
cpp_get "get_${name}" inline const value_const public
|
||||
cpp_set "set_${name}" public
|
||||
cpp_default_operation_declaration " ${comment}${friend}${static}${inline}${virtual}${typeprefix}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
|
||||
"
|
||||
cpp_default_operation_definition "${comment}${inline}${typeprefix}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
|
||||
${body}}
|
||||
"
|
||||
cpp_indent_visibility " " cpp_indent_friendclass " " cpp_indent_subclass " "
|
||||
java_default_src_content "${comment}
|
||||
${package}
|
||||
${imports}
|
||||
${definition}"
|
||||
java_default_class_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} {
|
||||
${members}}
|
||||
"
|
||||
java_default_external_class_decl "${name}"
|
||||
java_default_interface_decl "${comment}${@}${visibility}${static}interface ${name}${extends} {
|
||||
${members}}
|
||||
"
|
||||
java5_default_enum_decl "${comment}${@}${visibility}${static}${final}${abstract}enum ${name}${implements} {
|
||||
${items};
|
||||
${members}}
|
||||
"
|
||||
java_default_enum_decl "${comment}${@}${visibility}${static}$final class ${name} {
|
||||
${members}
|
||||
private final int value;
|
||||
|
||||
public int value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static ${name} fromInt(int value) {
|
||||
switch (value) {
|
||||
${cases} default: throw new Error();
|
||||
}
|
||||
|
||||
}
|
||||
private ${name}(int v) { value = v; };
|
||||
}
|
||||
"
|
||||
java_default_attribute_declaration " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
|
||||
" // multiplicity N
|
||||
java5_default_enum_item_declaration " ${@}${name}${value},${comment}"
|
||||
java_default_enum_item_declaration " ${comment}${@}public static final int _${name}${value};
|
||||
public static final ${class} ${name} = new ${class}(_${name});
|
||||
"
|
||||
java_default_enum_case " case _${name}: return ${name};
|
||||
"
|
||||
java_association_aggregation_declaration
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
|
||||
" // multiplicity N
|
||||
java_get "get${Name}" final public
|
||||
java_set "set${Name}" public
|
||||
java_default_operation_definition " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
|
||||
${body}}
|
||||
"
|
||||
php_default_src_content "<?php
|
||||
${comment}
|
||||
${namespace}
|
||||
${require_once}
|
||||
${use}
|
||||
${definition}
|
||||
?>
|
||||
"
|
||||
php_default_class_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
|
||||
${members}}
|
||||
"
|
||||
php_default_enum_decl "${comment}${visibility}final class ${name} {
|
||||
${items}}
|
||||
"
|
||||
php_default_external_class_decl "${name}"
|
||||
php_default_interface_decl "${comment}interface ${name}${extends} {
|
||||
${members}}
|
||||
"
|
||||
php_default_trait_decl "${comment}trait ${name} {
|
||||
${members}}
|
||||
"
|
||||
php_default_attribute_declaration " ${comment}${visibility}${const}${static}${var}${name}${value};
|
||||
"
|
||||
php_default_enum_item_decl " const ${name}${value};${comment}
|
||||
"
|
||||
php_default_relation_declaration" ${comment}${visibility}${const}${static}${var}${name}${value};
|
||||
"
|
||||
php_get "get${Name}" final
|
||||
php_set "set${Name}"
|
||||
php_default_operation_definition " ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}${type}
|
||||
{
|
||||
${body}}
|
||||
"
|
||||
php_param_typed php_out_inout_by_ref python_2_2
|
||||
python_indent_step " "
|
||||
python_default_src_content "${comment}
|
||||
${import}
|
||||
${definition}"
|
||||
python_default_class_decl "class ${name}${inherit}:
|
||||
${docstring}${members}
|
||||
"
|
||||
python_default_enum_decl "class ${name}:
|
||||
${docstring}${members}
|
||||
"
|
||||
python_default_external_class_decl "${name}"
|
||||
python_default_attribute_declaration "${comment}${self}${name} = ${value}
|
||||
" // multiplicity 1
|
||||
"${comment}${self}${name} = ${stereotype}()
|
||||
" // multiplicity != 1
|
||||
python_default_enum_item_decl "${comment}${self}${name} = ${value}
|
||||
"
|
||||
python_default_relation_declaration"${comment}${self}${name} = ${value}
|
||||
" // multiplicity 1
|
||||
"${comment}${self}${name} = ${stereotype}()
|
||||
" // multiplicity != 1
|
||||
python_default_composition_declaration"${comment}${self}${name} = ${type}()
|
||||
" // multiplicity 1
|
||||
"${comment}${self}${name} = ${stereotype}()
|
||||
" // multiplicity != 1
|
||||
python_default_operation_definition "${@}${static}${abstract}def ${name}${(}${)}:
|
||||
${docstring}${body}
|
||||
"
|
||||
python_default_initoperation_definition "${@}${static}${abstract}def ${name}${(}${p0}${v0}${)}:
|
||||
${docstring}super(${class}, ${p0}).__init__()
|
||||
${body}
|
||||
"
|
||||
python_get "get${Name}"
|
||||
python_set "set${Name}"
|
||||
idl_default_src_content "#ifndef ${MODULE}_${NAME}_H
|
||||
#define ${MODULE}_${NAME}_H
|
||||
|
||||
${comment}
|
||||
${includes}
|
||||
${module_start}
|
||||
${definition}
|
||||
${module_end}
|
||||
#endif
|
||||
"
|
||||
idl_default_interface_decl "${comment}${abstract}${local}interface ${name}${inherit} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_valuetype_decl "${comment}${abstract}${custom}valuetype ${name}${inherit} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_struct_decl "${comment}struct ${name} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_typedef_decl "${comment}typedef ${type} ${name};
|
||||
"
|
||||
idl_default_exception_decl "${comment}exception ${name} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_union_decl "${comment}union ${name} switch(${switch}) {
|
||||
${members}};
|
||||
"
|
||||
idl_default_enum_decl "${comment}enum ${name} {
|
||||
${items}};
|
||||
"
|
||||
idl_default_external_class_decl "${name}
|
||||
#include \"${name}.idl\"
|
||||
"
|
||||
idl_default_attribute_declaration " ${comment}${readonly}${attribute}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_default_valuetype_attribute_declaration " ${comment}${visibility}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${visibility}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_default_const_declaration " ${comment}const ${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}const ${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}const ${stereotype}<${type},${multiplicity}> ${name}${value};
|
||||
" // multiplicity N
|
||||
idl_default_enum_item_declaration " ${name},${comment}"
|
||||
idl_default_union_item_declaration " ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
|
||||
idl_association_aggregation_declaration
|
||||
" ${comment}${readonly}${attribute}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_valuetype_association_aggregation_declaration
|
||||
" ${comment}${visibility}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${visibility}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_union_association_aggregation_declaration
|
||||
" ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
|
||||
idl_get "get_${name}"
|
||||
idl_set "set_${name}" twoways
|
||||
idl_default_operation_declaration " ${comment}${oneway}${type} ${name}${(}${)}${raisesnl}${raises};
|
||||
"
|
||||
mysqldefault_src_content "${comment}CREATE DATABASE IF NOT EXISTS ${name};
|
||||
use ${name};
|
||||
|
||||
${definition}"
|
||||
mysql_default_table_decl "DROP TABLE IF EXISTS ${name};
|
||||
CREATE TABLE ${name} ${definition}${comment};
|
||||
"
|
||||
mysql_default_column_decl " ${name} ${type}${notnull}${default}${autoincr}${comment}"
|
||||
mysql_default_key_decl " ${constraint}${modifier}KEY${name}${type} (${columns})${ref}${comment}"
|
||||
uml_get_name uml uml_set_name uml
|
||||
end
|
@ -1 +0,0 @@
|
||||
// "a type" "needed idl_includes"
|
@ -1 +0,0 @@
|
||||
// "a type" "needed java_imports"
|
3313
models/models.prj
3313
models/models.prj
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
// "a type" "needed python_imports"
|
@ -1,63 +0,0 @@
|
||||
|
||||
package_stereotypes 6 "facade" "framework" "model library" "stub" "toplevel" "profile"
|
||||
-_-> 3 "access" "import" "from"
|
||||
end
|
||||
|
||||
class_stereotypes 23 "actor" "auxiliary" "boundary" "control" "entity" "enum" "enum_class" "enum_pattern" "exception" "focus" "implementationClass" "interface" "@interface" "metaclass" "stereotype" "struct" "table" "type" "typedef" "template_typedef" "union" "utility" "trait"
|
||||
---- 4 "list" "set" "vector" "map"
|
||||
---> 4 "list" "set" "vector" "map"
|
||||
---|> 4 "{complete,disjoint}" "{incomplete,disjoint}" "{complete,overlapping}" "{incomplete,overlapping}"
|
||||
o--- 4 "list" "set" "vector" "map"
|
||||
*--- 4 "list" "set" "vector" "map"
|
||||
o--> 4 "list" "set" "vector" "map"
|
||||
*--> 4 "list" "set" "vector" "map"
|
||||
-_-> 5 "friend" "from" "import" "instantiate" "use"
|
||||
-_-|> 1 "bind"
|
||||
end
|
||||
|
||||
rolepart_stereotypes 0
|
||||
use_case_stereotypes 2 "realization" "realization"
|
||||
|
||||
---|> 4 "{complete,disjoint}" "{incomplete,disjoint}" "{complete,overlapping}" "{incomplete,overlapping}"
|
||||
-_-> 2 "include" "extend"
|
||||
end
|
||||
|
||||
artifact_stereotypes 8 "database" "document" "executable" "file" "library" "script" "source" "text"
|
||||
-_-> 4 "deploy" "manifest" "import" "from"
|
||||
end
|
||||
|
||||
attribute_stereotypes 4 "list" "set" "vector" "map"
|
||||
operation_stereotypes 0
|
||||
state_stereotypes 3 "machine" "submachine" "top"
|
||||
activity_stereotypes 0
|
||||
flow_stereotypes 3 "interrupt" "multicast" "multireceive"
|
||||
interruptibleactivityregion_stereotypes 0
|
||||
pseudostate_stereotypes 0
|
||||
stateaction_stereotypes 2 "send-signal" "receive-signal"
|
||||
parameter_stereotypes 0
|
||||
activityvariable_stereotypes 0
|
||||
parameterset_stereotypes 0
|
||||
activitynode_stereotypes 0
|
||||
activityaction_stereotypes 0
|
||||
activityobject_stereotypes 2 "datastore" "centralBuffer"
|
||||
expansionregion_stereotypes 0
|
||||
activitypartition_stereotypes 0
|
||||
pin_stereotypes 0
|
||||
port_stereotypes 0
|
||||
component_stereotypes 6 "buildComponent" "entity" "implement" "process" "service" "subsystem"
|
||||
deploymentnode_stereotypes 3 "cpu" "device" "executionEnvironment"
|
||||
classview_stereotypes 0
|
||||
usecaseview_stereotypes 0
|
||||
componentview_stereotypes 0
|
||||
deploymentview_stereotypes 0
|
||||
classdiagram_stereotypes 0
|
||||
classcompositediagram_stereotypes 0
|
||||
seqdiagram_stereotypes 0
|
||||
msg_stereotypes 0
|
||||
coldiagram_stereotypes 0
|
||||
usecasediagram_stereotypes 0
|
||||
statediagram_stereotypes 0
|
||||
activitydiagram_stereotypes 0
|
||||
componentdiagram_stereotypes 0
|
||||
deploymentdiagram_stereotypes 0
|
||||
end
|
18
models/tools
18
models/tools
@ -1,18 +0,0 @@
|
||||
// 'tool' "the executable" "displayed string" {target}+
|
||||
tool "HTML documentation" "ghtml" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
|
||||
tool "HTML doc. (flat)" "ghtml -flat" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
|
||||
tool "HTML doc. (svg)" "ghtml -svg" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
|
||||
tool "HTML doc. (flat, svg)" "ghtml -flat -svg" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
|
||||
tool "Generate .pro" "gpro" Artifact
|
||||
tool "Import Rose" "irose" Project Package
|
||||
tool "C++ utilities" "cpp_util" Class
|
||||
tool "Generate XMI 1.2" "gxmi" Project
|
||||
tool "Generate XMI 2.x" "gxmi2" Project
|
||||
tool "Import XMI 2.x" "ixmi2" Project Package
|
||||
tool "C++ state machine" "stmgen" State
|
||||
tool "Use case wizard" "usecasewizard" UseCase
|
||||
tool "Check-in" "file_control ci" Project Package
|
||||
tool "Check-out" "file_control co" Project Package
|
||||
tool "Deploy classes" "deplcl" ClassView
|
||||
tool "Global Change" "global_change" Class Project Package ClassView DeploymentView
|
||||
tool "Uml projection" "uml_proj" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Project Package ClassView
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16
src/main/java/products/AbstractMenu.java
Normal file
16
src/main/java/products/AbstractMenu.java
Normal file
@ -0,0 +1,16 @@
|
||||
package main.java.products;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public abstract class AbstractMenu<T extends Product> extends ArrayList<T> {
|
||||
|
||||
public void showMenu() {
|
||||
showMenuName();
|
||||
for (int i = 0; i < size(); i++) {
|
||||
System.out.println(i + 1 + ". " + get(i) + " " + get(i).getPrice());
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract void showMenuName();
|
||||
|
||||
}
|
15
src/main/java/products/Denomination.java
Normal file
15
src/main/java/products/Denomination.java
Normal file
@ -0,0 +1,15 @@
|
||||
package main.java.products;
|
||||
|
||||
public enum Denomination {
|
||||
TEN_GR(0.1), TWENTY_GR(0.2), FIFTY_GR(0.5), ONE(1), TWO(2), FIVE(5), TEN(10), TWENTY(20), FIFTY(50), HUNDRED(100), TWO_HUNDRET(200);
|
||||
|
||||
private double denomination;
|
||||
|
||||
private Denomination(double denomination) {
|
||||
this.denomination = denomination;
|
||||
}
|
||||
|
||||
public double getDenomination() {
|
||||
return denomination;
|
||||
}
|
||||
}
|
34
src/main/java/products/Drink.java
Normal file
34
src/main/java/products/Drink.java
Normal file
@ -0,0 +1,34 @@
|
||||
package main.java.products;
|
||||
|
||||
|
||||
public class Drink implements Product {
|
||||
|
||||
private final String name;
|
||||
private final double price;
|
||||
int quantity;
|
||||
|
||||
public Drink(String aName, double aPrice, int aQuantity) {
|
||||
this.name = aName;
|
||||
this.price = aPrice;
|
||||
this.quantity = aQuantity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getQuantity() {
|
||||
return quantity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setQuantity(int aQuantity) {
|
||||
quantity = aQuantity;
|
||||
}
|
||||
}
|
21
src/main/java/products/DrinkMenu.java
Normal file
21
src/main/java/products/DrinkMenu.java
Normal file
@ -0,0 +1,21 @@
|
||||
package main.java.products;
|
||||
|
||||
public class DrinkMenu extends AbstractMenu<Drink> {
|
||||
|
||||
DrinkMenu() {
|
||||
|
||||
Drink cola = new Drink("Cola", 4.50, 1);
|
||||
Drink water = new Drink("Water", 2.10, 5);
|
||||
Drink orangeJuice = new Drink("Orange juice", 3.50, 5);
|
||||
add(cola);
|
||||
add(water);
|
||||
add(orangeJuice);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void showMenuName() {
|
||||
System.out.println("Drinks menu");
|
||||
System.out.println("Choose your drink");
|
||||
}
|
||||
}
|
200
src/main/java/products/Main.java
Normal file
200
src/main/java/products/Main.java
Normal file
@ -0,0 +1,200 @@
|
||||
package main.java.products;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Main {
|
||||
private final static Scanner sc = new Scanner(System.in);
|
||||
|
||||
public static void main(String[] aArg) {
|
||||
|
||||
useMachine();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static void useMachine() {
|
||||
DrinkMenu drinkMenu = new DrinkMenu();
|
||||
SnackMenu snackMenu = new SnackMenu();
|
||||
MealMenu mealMenu = new MealMenu();
|
||||
while (true) {
|
||||
System.out.println("Welcome!\nWhat do you want to buy?");
|
||||
System.out.println("1. A drink");
|
||||
System.out.println("2. A snack");
|
||||
System.out.println("3. A meal");
|
||||
|
||||
|
||||
int selectedType = sc.nextInt();
|
||||
double price = 0;
|
||||
if (selectedType == 1) {
|
||||
Drink drink = orderADrink(drinkMenu);
|
||||
price = drink.getPrice();
|
||||
} else if (selectedType == 2) {
|
||||
Snack snack = orderASnack(snackMenu);
|
||||
price = snack.getPrice();
|
||||
} else if (selectedType == 3) {
|
||||
price = orderAMeal(mealMenu);
|
||||
}
|
||||
|
||||
System.out.println("Choose payment option");
|
||||
System.out.println("1. Cash");
|
||||
System.out.println("2. Credit card");
|
||||
|
||||
int paymentType = sc.nextInt();
|
||||
if (paymentType == 1) {
|
||||
payInCash(price);
|
||||
} else if (paymentType == 2) {
|
||||
payWithCard(price);
|
||||
}
|
||||
if (selectedType == 3) {
|
||||
System.out.println("Preparing a meal...");
|
||||
System.out.println("Take your meal");
|
||||
} else {
|
||||
System.out.println("Take your product. Thank you!");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private static Drink orderADrink(DrinkMenu drinkMenu) {
|
||||
drinkMenu.showMenu();
|
||||
int opt;
|
||||
Drink orderedDrink = null;
|
||||
while (orderedDrink == null) {
|
||||
opt = sc.nextInt();
|
||||
if (opt < 1 || opt > 4) {
|
||||
System.out.println("You have chosen wrong option");
|
||||
} else {
|
||||
orderedDrink = drinkMenu.get(opt - 1);
|
||||
}
|
||||
}
|
||||
System.out.println("You ordered " + orderedDrink);
|
||||
System.out.println("Price: " + orderedDrink.getPrice());
|
||||
|
||||
if (orderedDrink.getQuantity() == 1) {
|
||||
System.out.println("This was the last " + orderedDrink.toString());
|
||||
System.out.println("Notification was sent to the service staff about the lack of drink");
|
||||
drinkMenu.remove(orderedDrink);
|
||||
}
|
||||
orderedDrink.setQuantity(orderedDrink.getQuantity() - 1);
|
||||
return orderedDrink;
|
||||
}
|
||||
|
||||
private static Snack orderASnack(SnackMenu snackMenu) {
|
||||
snackMenu.showMenu();
|
||||
int opt;
|
||||
Snack orderedSnack = null;
|
||||
while (orderedSnack == null) {
|
||||
opt = sc.nextInt();
|
||||
if (opt < 1 || opt > 4) {
|
||||
System.out.println("You have chosen wrong option");
|
||||
} else {
|
||||
orderedSnack = snackMenu.get(opt - 1);
|
||||
}
|
||||
}
|
||||
System.out.println("You ordered " + orderedSnack);
|
||||
System.out.println("Price: " + orderedSnack.getPrice());
|
||||
if (orderedSnack.getQuantity() == 1) {
|
||||
System.out.println("This was the last " + orderedSnack.toString());
|
||||
System.out.println("Notification was sent to the service staff about the lack of drink");
|
||||
snackMenu.remove(orderedSnack);
|
||||
|
||||
}
|
||||
orderedSnack.setQuantity(orderedSnack.getQuantity() - 1);
|
||||
return orderedSnack;
|
||||
|
||||
}
|
||||
|
||||
private static double orderAMeal(MealMenu mealMenu) {
|
||||
mealMenu.showMenu();
|
||||
int opt;
|
||||
Meal orderedMeal = null;
|
||||
while (orderedMeal == null) {
|
||||
opt = sc.nextInt();
|
||||
if (opt < 1 || opt > 4) {
|
||||
System.out.println("You have chosen wrong option");
|
||||
} else {
|
||||
orderedMeal = mealMenu.get(opt - 1);
|
||||
}
|
||||
}
|
||||
System.out.println("You ordered " + orderedMeal);
|
||||
System.out.println("Price: " + orderedMeal.getPrice());
|
||||
if (orderedMeal.getQuantity() == 1) {
|
||||
System.out.println("This was the last " + orderedMeal.toString());
|
||||
System.out.println("Notification was sent to the service staff about the lack of meal");
|
||||
System.out.println("Staff prepared 5 new meals");
|
||||
orderedMeal.setQuantity(5);
|
||||
|
||||
}
|
||||
orderedMeal.setQuantity(orderedMeal.getQuantity() - 1);
|
||||
return orderedMeal.getPrice();
|
||||
|
||||
}
|
||||
|
||||
private static void payWithCard(double price) {
|
||||
System.out.println("Follow the instructions on the pin pad");
|
||||
System.out.println("To pay: " + price);
|
||||
System.out.println("Type 'pay' to pay");
|
||||
while (true) {
|
||||
String cardPayment = sc.nextLine();
|
||||
if (cardPayment.equals("pay")) {
|
||||
break;
|
||||
} else if (cardPayment.equals("c")) {
|
||||
cancelTransaction(price);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private static void payInCash(double price) {
|
||||
System.out.println("Insert a coin or banknote.");
|
||||
double sum = 0;
|
||||
|
||||
while (true) {
|
||||
String payment;
|
||||
payment = sc.next();
|
||||
if (payment.equals("c")) {
|
||||
cancelTransaction(sum);
|
||||
return;
|
||||
}
|
||||
if (Arrays.stream(Denomination.values()).anyMatch((t) -> t.getDenomination() == (Double.parseDouble(payment)))) {
|
||||
sum += Double.parseDouble(payment);
|
||||
|
||||
} else {
|
||||
System.out.println("Wrong input");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
System.out.println("Credits: " + sum);
|
||||
if (sum == price) {
|
||||
return;
|
||||
} else if (sum > price) {
|
||||
giveChange(sum, price);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void cancelTransaction(double sum) {
|
||||
System.out.println("Take change from the dispenser: " + (sum));
|
||||
}
|
||||
|
||||
private static void giveChange(double sum, double price) {
|
||||
DecimalFormat df = new DecimalFormat("###.##");
|
||||
System.out.println("Take change from the dispenser: " + df.format((sum - price)));
|
||||
}
|
||||
|
||||
|
||||
}
|
34
src/main/java/products/Meal.java
Normal file
34
src/main/java/products/Meal.java
Normal file
@ -0,0 +1,34 @@
|
||||
package main.java.products;
|
||||
|
||||
public class Meal implements Product {
|
||||
|
||||
private final String name;
|
||||
private final double price;
|
||||
private int quantity;
|
||||
|
||||
public Meal(String aName, double aPrice, int aQuantity) {
|
||||
this.name = aName;
|
||||
this.price = aPrice;
|
||||
this.quantity = aQuantity;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public int getQuantity() {
|
||||
return quantity;
|
||||
}
|
||||
|
||||
public void setQuantity(int aQuantity) {
|
||||
quantity = aQuantity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
18
src/main/java/products/MealMenu.java
Normal file
18
src/main/java/products/MealMenu.java
Normal file
@ -0,0 +1,18 @@
|
||||
package main.java.products;
|
||||
|
||||
public class MealMenu extends AbstractMenu<Meal> {
|
||||
MealMenu() {
|
||||
Meal pizza = new Meal("Pizza", 15.50, 1);
|
||||
Meal spaghetti = new Meal("Spaghetti", 14.10, 5);
|
||||
Meal fries = new Meal("Fries", 6.40, 5);
|
||||
add(pizza);
|
||||
add(spaghetti);
|
||||
add(fries);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void showMenuName() {
|
||||
System.out.println("Meals menu");
|
||||
System.out.println("Choose your meal");
|
||||
}
|
||||
}
|
10
src/main/java/products/Product.java
Normal file
10
src/main/java/products/Product.java
Normal file
@ -0,0 +1,10 @@
|
||||
package main.java.products;
|
||||
|
||||
public interface Product {
|
||||
|
||||
double getPrice();
|
||||
|
||||
int getQuantity();
|
||||
|
||||
void setQuantity(int aQuantity);
|
||||
}
|
36
src/main/java/products/Snack.java
Normal file
36
src/main/java/products/Snack.java
Normal file
@ -0,0 +1,36 @@
|
||||
package main.java.products;
|
||||
|
||||
public class Snack implements Product {
|
||||
|
||||
private final String name;
|
||||
private final double price;
|
||||
int quantity;
|
||||
|
||||
public Snack(String aName, double aPrice, int aQuantity) {
|
||||
this.name = aName;
|
||||
this.price = aPrice;
|
||||
this.quantity = aQuantity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getQuantity() {
|
||||
return quantity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setQuantity(int aQuantity) {
|
||||
quantity = aQuantity;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
19
src/main/java/products/SnackMenu.java
Normal file
19
src/main/java/products/SnackMenu.java
Normal file
@ -0,0 +1,19 @@
|
||||
package main.java.products;
|
||||
|
||||
public class SnackMenu extends AbstractMenu<Snack> {
|
||||
SnackMenu() {
|
||||
|
||||
Snack lion = new Snack("Lion", 3.50, 5);
|
||||
Snack mars = new Snack("Mars", 3.10, 5);
|
||||
Snack snickers = new Snack("Snickers", 3.40, 5);
|
||||
add(lion);
|
||||
add(mars);
|
||||
add(snickers);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void showMenuName() {
|
||||
System.out.println("Snacks menu");
|
||||
System.out.println("Choose your snack");
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
Zdarzenia systemowe
|
||||
===================
|
||||
|
||||
Use case 1: Zakup produktu
|
||||
-----------------
|
||||
|
||||
1. Rozpoczęcie procesu zamówienia
|
||||
2. Wybranie kodu produktu
|
||||
3. Wybranie metody płatności - gotówka
|
||||
4. Wygranie metody płatności - karta
|
||||
5. Otwarcie menu ustawień językowych
|
||||
6. Wybranie języka z menu języków
|
||||
7. Anulowanie zamówienia
|
||||
8. Odebranie produktu
|
||||
|
||||
Use case 2: Zakup posiłku
|
||||
-----------------
|
||||
|
||||
1. Rozpoczęcie procesu zamówienia
|
||||
2. Wybranie kodu posiłku
|
||||
3. Wybranie metody płatności - gotówka
|
||||
4. Wybranie metody płatności - karta
|
||||
5. Otwarcie menu ustawień językowych
|
||||
6. Wybranie języka z menu języków
|
||||
7. Anulowanie zamówienia
|
||||
8. Odebranie posiłku
|
||||
|
||||
Use case 3: Płatność Kartą
|
||||
------------
|
||||
1. Przyłożenie karty
|
||||
2. Włożenie karty
|
||||
3. Anulowanie transakcji (przez klienta - przycisk)
|
||||
4. Wybór drukowania potwierdzenia transakcji
|
||||
5. Podanie PINu
|
||||
|
||||
Use case 4: Płatność gotówką
|
||||
------------
|
||||
1. Wrzut monety
|
||||
2. Wrzut banknotu
|
||||
3. Odbiór monety
|
||||
4. Odbiór banknotu
|
||||
5. Anulowanie transakcji (prez klienta - przycisk)
|
||||
6. Wybór drukowania potwierdzenia transakcji
|
@ -1,92 +0,0 @@
|
||||
Use Case 1: Zakup produktu
|
||||
=====================
|
||||
|
||||
**Aktor podstawowy:** Klient
|
||||
|
||||
|
||||
Główni odbiorcy i oczekiwania względem systemu:
|
||||
-----------------------------------------------
|
||||
|
||||
- Klient: oczekuje możliwości zakupu wybranego produktu
|
||||
- Klient: oczekuje możliwość rezygnacji z zakupu przed dokonaniem płatności
|
||||
- Klient: oczekuje szybkiego wydania poprawnego produktu
|
||||
|
||||
Warunki wstępne:
|
||||
----------------
|
||||
|
||||
Klient znajduje się przed automatem
|
||||
|
||||
Warunki końcowe:
|
||||
----------------
|
||||
|
||||
Klient otrzymał zamówiony produkt, stan magazynu jest zaktualizowany
|
||||
|
||||
Scenariusz główny (ścieżka podstawowa):
|
||||
---------------------------------------
|
||||
|
||||
1. Klient naciska przycisk start na automacie
|
||||
2. Klient wybiera na terminalu poprawny kod produktu jaki chce zakupić
|
||||
3. Klient wybiera sposób w jaki chce dokonać płatności
|
||||
4. Po zakończeniu płatności wybrany produkt jest wydawany
|
||||
5. Automat aktualizuje stan ilości produktów
|
||||
6. Klient odbiera wybrany produkt
|
||||
|
||||
Rozszerzenia (ścieżki alternatywne):
|
||||
------------------------------------
|
||||
|
||||
*a. Automat zawiesza się
|
||||
1. Następuje restart
|
||||
2. Powrót do kroku 1 scenariusza głównego
|
||||
---
|
||||
(1-3)a. Klient zmienia ustawienia językowe
|
||||
1. Następuje restart interfejsu w nowo wybranym języku bez restartu procesu zakupu
|
||||
---
|
||||
(1-3)b. Klient anuluje proces zakupu
|
||||
1. Następuje restart procesu zakupu
|
||||
2. Powrót do kroku 1 scenariusza głównego
|
||||
---
|
||||
2a. Wybrano niepoprawny produkt
|
||||
1. Automat informuje klient o wybraniu niepoprawnego produktu
|
||||
2. Powrót do kroku 2 scenariusza głównego
|
||||
|
||||
2b. Anulowano zakup
|
||||
1. Następuje restart procesu zakupu
|
||||
2. Powrót do kroku 1 scenariusza głównego
|
||||
---
|
||||
3a. Anulowano zakup
|
||||
1. Następuje restart procesu zakupu
|
||||
2. Powrót do kroku 1 scenariusza głównego
|
||||
|
||||
3b. Wybrano płatność kartą (UseCase3)
|
||||
|
||||
3c. Wybrano płatność gotówką (UseCase4)
|
||||
---
|
||||
5a. Próba przesłania stanu magazynu nie powiodła się
|
||||
1. Automat zapisuje stan magazynu i czas wykonania aktualizacji
|
||||
|
||||
5b. Próba przesłania stanu magazynu powiodła się
|
||||
1. Automat sprawdza czy ma do wysłania zaległe aktualizacje
|
||||
2. Automat podejmuje próbę ponownego wysłania zaległych aktualizacji
|
||||
|
||||
|
||||
Wymagania specjalne:
|
||||
--------------------
|
||||
|
||||
- Obsługa interfejsu w języku polskim i angielskim
|
||||
|
||||
Wymagania technologiczne oraz ograniczenia na wprowadzane dane:
|
||||
---------------------------------------------------------------
|
||||
---
|
||||
b*. Możliwość zmiany języku interfejsu powinna być dostępna w
|
||||
widocznym miejscu w każdym kroku (1 - 3) procesu zakupu
|
||||
---
|
||||
c*. Możliwość anulowania procesu zakupu powinna być dostępna w
|
||||
widocznym miejscu w każdym kroku
|
||||
---
|
||||
2.Kod produktu powinien być liczbą całkowitą z zakresu od 1 do 999
|
||||
|
||||
Kwestie otwarte:
|
||||
----------------
|
||||
|
||||
- Jak długo automat powinien przechowywać nieudane próby aktualizacji magazynu
|
||||
- Ile razy automat powinien podjąć próbę przesłania aktualizacji
|
113
use-case-2.md
113
use-case-2.md
@ -1,113 +0,0 @@
|
||||
Use Case 2: Zakup posiłku
|
||||
===================
|
||||
|
||||
**Aktor podstawowy:** Klient
|
||||
|
||||
|
||||
Główni odbiorcy i oczekiwania względem systemu:
|
||||
-----------------------------------------------
|
||||
|
||||
- Klient: Oczekuje zamówionego posiłku, który został poprawnie przygotowany
|
||||
w warunkach, które spełniają normy sanitarne.
|
||||
|
||||
- Magazyn: Oczekuje informacji na temat stanu liczebności danego posiłku po każdym zakupe.
|
||||
|
||||
- Serwisant: Oczekuje informacji o stanie urządzenia przygotowującego posiłki po każdym
|
||||
wykonanym posiłku.
|
||||
|
||||
Warunki wstępne:
|
||||
----------------
|
||||
|
||||
Urządzenie wydawania posiłku spełnia normy sanitarne (stan jest akceptowalny)
|
||||
|
||||
Warunki końcowe:
|
||||
----------------
|
||||
|
||||
Automat wydaje poprawie przygotowany posiłek, stan magazynu jest zaktualizowany, informacja
|
||||
o stanie urządzenia jest u serwisanta.
|
||||
|
||||
Scenariusz główny (ścieżka podstawowa):
|
||||
---------------------------------------
|
||||
|
||||
1. Klient wybiera posiłek
|
||||
2. Automat wyświetla cenę do zapłaty Brutto
|
||||
3. Klient wybiera metode płatności
|
||||
4. Klient płaci
|
||||
5. Automat wyświetla informacje o przygotowywaniu posiłku
|
||||
6. Automat przygotowywuje posiłek
|
||||
7. Automat wydaje posiłek
|
||||
8. Klient odbiera posiłek
|
||||
9. Automat wysyła informacje o stanie ilości posiłku, który właśnie został zakupiony, do magazynu
|
||||
10. Automat sprawdza stan urządenia przygotowywującego posiłki
|
||||
11. Automat wysyła informacje o stanie urządzenia do serwisanta
|
||||
|
||||
Rozszerzenia (ścieżki alternatywne):
|
||||
------------------------------------
|
||||
|
||||
*a: Zawieszenie systemu:
|
||||
Automat zapisuje stan, w którym proces zakupu posiłku się znajduje.
|
||||
- 1. Automat wyświetla informacje o błędzie
|
||||
- 2. Serwisant resetuje automat
|
||||
- 3. Automat sprawdza czy stan zakupu jest po dokonaniu płatności.
|
||||
|
||||
- 1. Stan zakupu jest po dokonaniu płatności
|
||||
- Płatności dokonana gotówką
|
||||
- Automat zwraca pieniądze
|
||||
- Płatność dokonana kartą
|
||||
- Automat wysyła żądanie do Systemu Płatności o anulowanie transakcji
|
||||
- 2. Stan zakupu jest przed płatnością
|
||||
- Automat wraca do stanu początkowego - sprzed zamówienia
|
||||
- 4. Automat sprawdza czy posiłek znajduje się w urządzeniu do wydawania posiłków
|
||||
- 1. Posiłek znajduje się w urządzeniu do wydawania posiłków
|
||||
- Automat wzywa serwisanta do usunięcia posiłku z urządzenia przygotowującego
|
||||
- Serwisant wyciąga posiłek
|
||||
- Automat sprawdza stan urządzenia przygotowującego posiłki
|
||||
- Automat wysyła informacje o stanie urządzenia do serwisanta
|
||||
- Automat wysyła informacje o stanie ilości posiłku, który właśnie
|
||||
został zakupiony, do magazynu
|
||||
- Automat wraca do stanu początkowego - sprzed zamówienia
|
||||
- 2. Posiłek nie znajduje się w urządzeniu do wydawania posiłków
|
||||
- Automat wraca do stanu początkowego - sprzed zamówienia
|
||||
|
||||
------
|
||||
|
||||
1a. Klient wybiera zły posiłek
|
||||
|
||||
1. Klient naciska przycisk anulowania zamówienia
|
||||
2. Automat wraca do stanu początkowego - sprzed zamówienia
|
||||
|
||||
------
|
||||
4. Klient płaci
|
||||
- 4a Klient płaci kartą (UseCase 3)
|
||||
- 4b Klient płaci gotówką (UseCase 4)
|
||||
|
||||
------
|
||||
|
||||
8a. Klient nie odbiera posiłku
|
||||
- Automat informuje serwisanta
|
||||
- Serwisant odbiera posiłek
|
||||
- Automat wraca do stanu początkowego - sprzed zamówienia
|
||||
|
||||
----
|
||||
Wymagania specjalne:
|
||||
--------------------
|
||||
|
||||
- Interfejs użytkownika musi być dostępny w języku polskim i angielskim
|
||||
|
||||
- Posiłek musi zostać odebrany przez klienta w przeciągu 30 sekund od wydania
|
||||
|
||||
- Pinpad powinien zawierać przycisk powrotu - służący do zmiany wybranego posiłku w
|
||||
przypadku pomyłki
|
||||
|
||||
- Posiłki powinny być wydawane na jednorazowych talerzykach
|
||||
|
||||
Wymagania technologiczne oraz ograniczenia na wprowadzane dane:
|
||||
---------------------------------------------------------------
|
||||
|
||||
1a. Numer produktu powinien być liczbą całkowitą z przedziąłu 1 - 99.
|
||||
|
||||
Kwestie otwarte:
|
||||
----------------
|
||||
|
||||
- Jak automat powinien wydawać posiłek aby zminimalizować kontakt między klientem, a
|
||||
urządzeniem? - kwestie higieny
|
@ -1,90 +0,0 @@
|
||||
Use Case 3: Płatność kartą
|
||||
=====================
|
||||
|
||||
**Aktor podstawowy:** Klient
|
||||
|
||||
|
||||
Główni odbiorcy i oczekiwania względem systemu:
|
||||
-----------------------------------------------
|
||||
|
||||
- Klient: oczekuje mozliwości płatności przy pomocy karty.
|
||||
- Agencja autoryzacji płatności: chce otrzymać zapytanie o potwierdzenie zapłaty w poprawnym protokole transmisji
|
||||
danych. Chce poprawnej obsługi transakcji realizowanej przez automat.
|
||||
- Klient: chce wybrać czy automat ma drukować potwierdzenie transakcji.
|
||||
- Klient: oczekuje wydrukowanego rachunku.
|
||||
|
||||
Warunki wstępne:
|
||||
----------------
|
||||
|
||||
Klient wybrał produkty, które chce kupić oraz płatność kartą jako formę płatności.
|
||||
|
||||
Warunki końcowe:
|
||||
----------------
|
||||
|
||||
Płatność przebiegła pomyślnie. Rachunek jest wydrukowany.
|
||||
|
||||
Scenariusz główny (ścieżka podstawowa):
|
||||
---------------------------------------
|
||||
|
||||
1. Klient przykłada kartę do terminala.
|
||||
2. Automat wysyła zapytanie o autoryzację transakcji do Systemu Autoryzacji i żąda potwierdzenia możliwości
|
||||
zrealizowania transakcji.
|
||||
3. Automat otrzymuje zgodę na realizację transakcji.
|
||||
4. Automat zachowuje informację o zrealizowaniu zapłaty przy pomocy karty oraz informację o potwierdzeniu realizacji
|
||||
transakcji.
|
||||
5. Klient wybiera, ze chce aby automat wydrukował potwierdzenie płatności.
|
||||
6. Automat drukuje paragon i potwierdzenie płatności.
|
||||
|
||||
Rozszerzenia (ścieżki alternatywne):
|
||||
------------------------------------
|
||||
|
||||
*a. W dowolnym czasie, dotyczy sytuacji kiedy automat zawiesza się:
|
||||
Aby zapewnić poprawne księgowanie, niezbędne jest aby wszystkie kluczowe dane dotyczące transakcji mogły zostać
|
||||
odtworzone w dowolnym momencie ścieżki podstawowej
|
||||
|
||||
1. Automat restartuje się i odtwarza stan przed zawieszeniem się systemu.
|
||||
1. Automat wykrywa błędy
|
||||
1. Automat przesyła informację o błędzie do obsługi serwisowej, zapisuje błąd i resetuje się.
|
||||
2. Automat rozpoczyna nową sprzedaż.
|
||||
|
||||
|
||||
1a. Klient nie posiada możliwości płatności zbliżeniowej
|
||||
|
||||
1. Klient wkłada kartę płatniczą do terminala.
|
||||
|
||||
2a. Automat wykrywa błąd współpracy z systemem zewnętrznym
|
||||
|
||||
1. Automat prosi klienta o alternatywną formę zapłaty.
|
||||
|
||||
2b. System zewnętrzny żąda numeru PIN do autoryzacji transakcji.
|
||||
|
||||
1. Klient podaje numer PIN.
|
||||
|
||||
1a. Klient podał nieprawidłowy PIN.
|
||||
1. Automat wyświetla prośbę o ponowne wpisanie numeru PIN.
|
||||
1. Podano trzykrotnie nieprawidłowy PIN.
|
||||
2. Automat prosi klienta o alternatywną formę zapłaty.
|
||||
|
||||
3a. System nie otrzymuje zgody na realizację transakcji.
|
||||
|
||||
1. Powrót do ekranu wyboru sposobu transakcji.
|
||||
|
||||
6a. Automat nie może wydrukować paragonu
|
||||
|
||||
1. Wezwanie obsługi serwisowej.
|
||||
2. Wyświetlenie komunikatu o problemie oraz o wezwaniu obsługi serwisowej.
|
||||
|
||||
6b. Klient wybrał, że nie chce aby automat drukował potwierdzenie płatności.
|
||||
|
||||
1. Automat drukuje tylko paragon.
|
||||
|
||||
Wymagania specjalne:
|
||||
--------------------
|
||||
|
||||
- Interfejs użytkownika musi być dostępny w języku polskim, angielskim i niemieckim.
|
||||
|
||||
Wymagania technologiczne oraz ograniczenia na wprowadzane dane:
|
||||
---------------------------------------------------------------
|
||||
|
||||
2a. Pin składa się z 4 cyfr.
|
||||
|
@ -1,76 +0,0 @@
|
||||
Use Case 4 Płatność gotówką
|
||||
=====================
|
||||
|
||||
Aktor podstawowy: Klient
|
||||
|
||||
|
||||
Główni odbiorcy i oczekiwania względem systemu
|
||||
-----------------------------------------------
|
||||
|
||||
- Klient: oczekuje informacji o kwocie do zapłaty i możliwości zapłacenia
|
||||
|
||||
- Klient: oczekuje wydania kupionego produktu
|
||||
|
||||
Warunki wstępne
|
||||
----------------
|
||||
|
||||
Klient wybrał dany produkt. Przy wyborze płatności wybrał opcję płatność gotówką.
|
||||
|
||||
Warunki końcowe
|
||||
----------------
|
||||
|
||||
Automat akceptuje gotówkę od klienta i wydaje żądany produkt.
|
||||
|
||||
Scenariusz główny (ścieżka podstawowa)
|
||||
---------------------------------------
|
||||
|
||||
1. Po wyborze danego produktu, klient wybiera płatność gotówką.
|
||||
2. Automat wyświetla kwotę do zapłaty.
|
||||
3. Klient wrzuca monety/banknoty do pobieracza.
|
||||
4. Automat sprawdza gotówkę i informuje klienta o zaakceptowaniu płatności.
|
||||
5. Automat wydaje żądany produkt.
|
||||
|
||||
Rozszerzenia (ścieżki alternatywne)
|
||||
------------------------------------
|
||||
|
||||
a. W dowolnym czasie, dotyczy sytuacji kiedy system zawiesza się:
|
||||
|
||||
1. Automat restartuje się i próbuje odtworzyć stan przed zawieszeniem się systemu.
|
||||
|
||||
1. Automat odtwarza stan przed zawieszeniem się.
|
||||
2. Automat wykrywa błędy.
|
||||
|
||||
i. Automat przesyła informację o błędzie do obsługi serwisowej, zapisuje błąd i resetuje się.
|
||||
|
||||
ii. Automat rozpoczyna nową sprzedaż.
|
||||
|
||||
1a. Wybranego produktu nie ma na stanie automatu.
|
||||
|
||||
1. Automat cofa transakcję i prosi o wybranie innego produktu.
|
||||
|
||||
3a. Automat zawiesza się podczas wrzucania gotówki
|
||||
|
||||
1. Klient wybiera inną formę płatności za produkt.
|
||||
|
||||
4a. Automat wykrywa nieprawidłowości we wrzuconej gotówce od klienta.
|
||||
|
||||
1. Klient wrzuca za małą ilość gotówki.
|
||||
|
||||
i. Automat wyświetla informację z prośbą o uzupełnienie brakującej gotówki.
|
||||
2. Klient wrzuca za dużą ilość gotówki.
|
||||
|
||||
i. Automat po zakończonej transakcji zwraca resztę gotówki klientowi.
|
||||
3. Klient wrzuca zniszczone banknoty.
|
||||
|
||||
i. Automat zwraca zniszczony banknot i wyświetla informację o odrzuceniu gotówki.
|
||||
|
||||
Wymagania specjalne
|
||||
--------------------
|
||||
|
||||
- możliwość wybrania języka: polski, angielski, niemiecki
|
||||
- ekran musi być dotykowy
|
||||
|
||||
Kwestie otwarte
|
||||
----------------
|
||||
|
||||
- Czy dopuszczamy możliwość płacenia obcymi walutami, np: EURO, DOLAR
|
50
use-cases.md
50
use-cases.md
@ -1,50 +0,0 @@
|
||||
Opis skrócony przypadków użycia
|
||||
===============================
|
||||
|
||||
Aktorzy procesu i ich cele
|
||||
--------------------------
|
||||
|
||||
Aktor | Cel
|
||||
------------|------------------------------
|
||||
Klient | Zakup produktu
|
||||
Klient | Zakup posiłku
|
||||
Klient | Płatność kartą
|
||||
Klient | Płatność gotówką
|
||||
Czas | Przywołanie obsługi serwisowej
|
||||
|
||||
|
||||
Słownik
|
||||
-------
|
||||
|
||||
Hasło |Opis
|
||||
-----------|-----------------------------
|
||||
Automat | Maszyna do wydawania produktów zamówionych przez klienta
|
||||
Produkt | Jedzenie lub napoje, które są bezpośrednio do odebrania po zamówieniu
|
||||
Posiłek | Jedzenie lub napoje, które muszą zostać odpowiednio przygotowane przed wydaniem dla klienta
|
||||
Pobieracz | Urządznie służące do pobierania monet oraz banknotów
|
||||
|
||||
Przypadki użycia
|
||||
----------------
|
||||
|
||||
### Use case 1: Zakup produktu:
|
||||
Klient wybiera produkt. Wyświetla się informacja o cenie do zapłaty.
|
||||
Klient wybiera metode płatności. Klient płaci (Use case 3-4). Wybrany produkt zostaje wydany.
|
||||
Automat aktualizuje stan ilości produktu.
|
||||
|
||||
### Use case 2: Zakup posiłku:
|
||||
Klient wybiera produkt, który chce zakupić. Wyświetla się informacja o cenie do zapłaty.
|
||||
Klient wybiera metode płatności. Klient płaci (Use case 3-4). Wybrany posiłek zostaje odpowiedno przygotowany.
|
||||
Automat wyświetla informacje o prygotowywaniu posiłku.
|
||||
Wybrany posiłek zostaje wydany. Automat aktualizuje stan ilości posiłków.
|
||||
|
||||
### Use case 3: Płatność kartą
|
||||
Klient wybrał płatność kartą. Terminal prosi o dokonanie płatności.
|
||||
Klient przykłada lub wkłada kartę do terminala. Terminal autoryzuje transakcje, następnie akceptuje ją.
|
||||
|
||||
### Use case 4: Płatność gotówką
|
||||
Klient wybrał płatność gotówką. Automat odblokowuje wrzutnik monet i banknotów. Klient wkłada odpowiednie nominały
|
||||
Pobieracz weryfikuje i sumuje zebrane nominały. Klient wrzucił odpowiednią kwote. Automat akceptuje płantość.
|
||||
|
||||
### Use case 5: Przywołanie obsługi serwisowej
|
||||
Automat sprawadza co 5 minut stan urządzeń przygotowujących posiłki. Odczytuje zły stan urządzenia.
|
||||
Wysyła informacje do obsługi serwisowej o konieczności serwisu urządzenia przygotowującego posiłki.
|
Loading…
Reference in New Issue
Block a user