UP4-COM-getTotal.txt
1 |
@startuml |
---|---|
2 |
|
3 |
scale 3 |
4 |
|
5 |
Object "<u>:Register" as R |
6 |
Object "<u>:Sale" as S |
7 |
Object "<u>:SalesLineItem" as SLI <<collection>> |
8 |
Object "<u>:ProductSpecification" as PS |
9 |
|
10 |
R -r- S : > total := getTotal() |
11 |
S -r- "*" SLI : > 1*: st = getSubTotal() |
12 |
SLI -d- PS : 1.1: pr := getPrice() |
13 |
|
14 |
note top of SLI: Sale?? ????? ???\nSalesLineItem?? ?????\n?????? ?? |
15 |
|
16 |
|
17 |
|
18 |
@enduml |