forked from upgrad-edu/tm-java-git-q-new-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFlightReservationSystem.drawio
More file actions
121 lines (121 loc) · 13.6 KB
/
Copy pathFlightReservationSystem.drawio
File metadata and controls
121 lines (121 loc) · 13.6 KB
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
<mxfile host="app.diagrams.net" modified="2022-06-11T17:34:40.610Z" agent="5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36" etag="VMG5KByzwCP1pmiB-ONI" version="19.0.1" type="github">
<diagram id="CFYQU3aXSemnN9mfyRZu" name="Page-1">
<mxGraphModel dx="1157" dy="643" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="YULxTUnS-_DGTSKAkYLE-14" value="Passanger" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="340" y="45" width="190" height="140" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-15" value="+ id : Int
+address : Address
+Contact : Contact" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-14">
<mxGeometry y="26" width="190" height="54" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-16" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-14">
<mxGeometry y="80" width="190" height="8" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-17" value="+ getContact():Contact
+getAddress():Address" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-14">
<mxGeometry y="88" width="190" height="52" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-18" value="Address" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="60" y="55" width="200" height="130" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-19" value="+ City : string
+State : String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-18">
<mxGeometry y="26" width="200" height="44" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-20" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-18">
<mxGeometry y="70" width="200" height="8" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-21" value="+getAddressDetails():String
+UpdateAddressDetails:String.void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-18">
<mxGeometry y="78" width="200" height="52" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-26" value="Contact" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="620" y="60" width="200" height="150" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-27" value="+name:String
+phone:String
+email:String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-26">
<mxGeometry y="26" width="200" height="64" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-28" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-26">
<mxGeometry y="90" width="200" height="8" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-29" value="+ getcontactDetails(): Contact
+getAddressDetails(): Address" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-26">
<mxGeometry y="98" width="200" height="52" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-30" value="Classname" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="355" y="270" width="160" height="220" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-31" value="+ pnr : String
+ from : String
+ to : String
+flight : Flight
+departureDateTime:String
+arrivalDateTime : String
+seatNo: String
+price:Float
+cancellation:boolean" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-30">
<mxGeometry y="26" width="160" height="144" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-32" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-30">
<mxGeometry y="170" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-33" value="+getFlightDuration():int
+cancel():void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-30">
<mxGeometry y="178" width="160" height="42" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-34" value="Regular Ticket" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="70" y="480" width="220" height="130" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-35" value="+ specialServices: String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-34">
<mxGeometry y="26" width="220" height="26" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-36" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-34">
<mxGeometry y="52" width="220" height="8" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-37" value="+ getSpeciaServices(): String
+ updateSpecialServices():String void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-34">
<mxGeometry y="60" width="220" height="70" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-38" value="Tourist Ticket" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="610" y="290" width="210" height="150" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-39" value="+ hotelAddress : String
+selectedTouristPlace :String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-38">
<mxGeometry y="26" width="210" height="54" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-40" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-38">
<mxGeometry y="80" width="210" height="8" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-41" value="+ getHotelAddress():String
+getTouristPlace(): String
+ removeTouristLocation():String void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-38">
<mxGeometry y="88" width="210" height="62" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-42" value="Flight" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1">
<mxGeometry x="82" y="270" width="170" height="140" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-43" value="+flightNo :String\
+capacity: int
+seatBooked:int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-42">
<mxGeometry y="26" width="170" height="64" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-44" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-42">
<mxGeometry y="90" width="170" height="8" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-45" value="+ getFlightDetails():string
+checkAvailability(): boolean" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="YULxTUnS-_DGTSKAkYLE-42">
<mxGeometry y="98" width="170" height="42" as="geometry" />
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-46" value="" style="endArrow=diamondThin;endFill=1;endSize=24;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.386;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="YULxTUnS-_DGTSKAkYLE-19" target="YULxTUnS-_DGTSKAkYLE-15">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="260" y="90" as="sourcePoint" />
<mxPoint x="380" y="130" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-48" value="" style="endArrow=diamondThin;endFill=1;endSize=24;html=1;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="YULxTUnS-_DGTSKAkYLE-15">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="610" y="100" as="sourcePoint" />
<mxPoint x="770" y="70" as="targetPoint" />
<Array as="points">
<mxPoint x="620" y="98" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-52" value="" style="endArrow=diamondThin;endFill=0;endSize=24;html=1;rounded=0;" edge="1" parent="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="430" y="190" as="sourcePoint" />
<mxPoint x="434.33000000000004" y="270" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="YULxTUnS-_DGTSKAkYLE-54" value="" style="endArrow=diamondThin;endFill=0;endSize=24;html=1;rounded=0;exitX=1.01;exitY=0.37;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.155;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="YULxTUnS-_DGTSKAkYLE-43" target="YULxTUnS-_DGTSKAkYLE-31">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="250" y="310" as="sourcePoint" />
<mxPoint x="350" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>