프로젝트

일반

사용자정보

UP4-COM-getTotal.txt

5월 14일 수정 - Prof. Jong Min Lee, 2025/05/14 11:59

다운로드 (370 Bytes)

 
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