-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuml.drawio
131 lines (131 loc) · 15.3 KB
/
uml.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<mxfile host="65bd71144e">
<diagram id="zw88rlfa6kmtK3dLLmww" name="Página-1">
<mxGraphModel dx="1236" dy="735" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="14" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Place</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Name : string</p><p style="margin: 0px ; margin-left: 4px">+ Calification: int</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px"></p>&nbsp;+ Place (name,calification)<br>&nbsp;+ CheckProductPrice (Product, price)<p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="320" y="265" width="231" height="140" as="geometry"/>
</mxCell>
<mxCell id="15" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>ExpenseLine</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Price: double</p><p style="margin: 0px ; margin-left: 4px">+ Quantity: double</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ ExpenseLine(price, quantity, product)</p><p style="margin: 0px ; margin-left: 4px">+ GetSubTotal() : double&nbsp;</p><p style="margin: 0px ; margin-left: 4px">+ GetTextLine() : string</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry y="460" width="210" height="165" as="geometry"/>
</mxCell>
<mxCell id="16" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>ProductSpecification</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px"><span>+ Price : double</span><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="500" y="10" width="150" height="140" as="geometry"/>
</mxCell>
<mxCell id="17" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>ProductCatalog</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+&nbsp;</p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ addProduct ( Product)</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="250" y="440" width="150" height="107.5" as="geometry"/>
</mxCell>
<mxCell id="18" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Product</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Name: string</p><p style="margin: 0px ; margin-left: 4px">+ Calification: int</p><p style="margin: 0px ; margin-left: 4px">+ Category: int</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Product (string, int, int)</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="514.75" y="465" width="180.5" height="160" as="geometry"/>
</mxCell>
<mxCell id="19" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>ExpenseCatalog</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+&nbsp;</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ addExpense(Expense)</p><p style="margin: 0px ; margin-left: 4px">+ getExpenses () : List Expense</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry y="10" width="210" height="190" as="geometry"/>
</mxCell>
<mxCell id="20" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>PlaceCatalog</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+&nbsp;</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ addPlace(Place)</p><p style="margin: 0px ; margin-left: 4px">+ findPlacesByName(string): List Place</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="260" y="10" width="210" height="190" as="geometry"/>
</mxCell>
<mxCell id="21" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Expense</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Date : DateTime</p><p style="margin: 0px ; margin-left: 4px"><br></p><p style="margin: 0px ; margin-left: 4px"><br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ GetTotal() : double</p><p style="margin: 0px ; margin-left: 4px">+ addLine(price, quantity, product)</p><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry y="260" width="210" height="150" as="geometry"/>
</mxCell>
<mxCell id="24" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;" parent="1" source="21" target="15" edge="1">
<mxGeometry x="-0.5789" y="5" relative="1" as="geometry">
<mxPoint x="370" y="460" as="sourcePoint"/>
<mxPoint x="530" y="460" as="targetPoint"/>
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="39" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;" parent="1" source="20" target="14" edge="1">
<mxGeometry x="-0.6155" y="6" relative="1" as="geometry">
<mxPoint x="310" y="240" as="sourcePoint"/>
<mxPoint x="470" y="240" as="targetPoint"/>
<mxPoint y="-1" as="offset"/>
<Array as="points">
<mxPoint x="365" y="310"/>
<mxPoint x="365" y="310"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="40" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="19" target="21" edge="1">
<mxGeometry x="-0.3333" y="5" relative="1" as="geometry">
<mxPoint x="310" y="320" as="sourcePoint"/>
<mxPoint x="470" y="320" as="targetPoint"/>
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="49" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;" parent="1" source="14" target="16" edge="1">
<mxGeometry x="-0.9355" y="-10" relative="1" as="geometry">
<mxPoint x="330" y="320" as="sourcePoint"/>
<mxPoint x="490" y="320" as="targetPoint"/>
<Array as="points">
<mxPoint x="520" y="200"/>
<mxPoint x="520" y="200"/>
</Array>
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="67" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;labelBackgroundColor=none;" parent="1" source="17" target="18" edge="1">
<mxGeometry x="-0.5584" relative="1" as="geometry">
<mxPoint x="330" y="450" as="sourcePoint"/>
<mxPoint x="490" y="450" as="targetPoint"/>
<mxPoint as="offset"/>
<Array as="points">
<mxPoint x="430" y="500"/>
<mxPoint x="430" y="500"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="68" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;" parent="1" source="21" target="14" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="330" y="400" as="sourcePoint"/>
<mxPoint x="490" y="400" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="69" value="*" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;" parent="68" connectable="0" vertex="1">
<mxGeometry x="-1" relative="1" as="geometry"/>
</mxCell>
<mxCell id="70" value="1" style="edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;" parent="68" connectable="0" vertex="1">
<mxGeometry x="1" relative="1" as="geometry"/>
</mxCell>
<mxCell id="71" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;labelBackgroundColor=none;" parent="1" source="15" target="18" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="210" y="530" as="sourcePoint"/>
<mxPoint x="330" y="530" as="targetPoint"/>
<Array as="points">
<mxPoint x="370" y="580"/>
<mxPoint x="370" y="580"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="72" value="*" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;" parent="71" connectable="0" vertex="1">
<mxGeometry x="-1" relative="1" as="geometry"/>
</mxCell>
<mxCell id="73" value="1" style="edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;" parent="71" connectable="0" vertex="1">
<mxGeometry x="1" relative="1" as="geometry">
<mxPoint x="-9" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="74" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;" parent="1" source="16" target="18" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="730" y="400" as="sourcePoint"/>
<mxPoint x="710" y="270" as="targetPoint"/>
<Array as="points">
<mxPoint x="605" y="230"/>
<mxPoint x="605" y="230"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="75" value="0..*" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;" parent="74" connectable="0" vertex="1">
<mxGeometry x="-1" relative="1" as="geometry">
<mxPoint x="5" y="10" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="76" value="1" style="edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;" parent="74" connectable="0" vertex="1">
<mxGeometry x="1" relative="1" as="geometry">
<mxPoint y="-30" as="offset"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>