forked from 0-PP-SALP146/11b_AskACat_02
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AskACat.drawio
81 lines (81 loc) · 10.6 KB
/
AskACat.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
<mxfile host="65bd71144e" pages="3">
<diagram name="AskACatItsAge" id="DpLw6PZjZQ7TQEPxX2lx">
<mxGraphModel dx="947" dy="414" 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="TSDw7aBspsEVQ6Ing-Lo-0"/>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-1" parent="TSDw7aBspsEVQ6Ing-Lo-0"/>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-2" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>SuperCat</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px"># name: String</p><hr size="1"><p style="margin: 0px ; margin-left: 4px"><span>+ getName(pet:Pet): String</span><br></p><p style="margin: 0px ; margin-left: 4px">+ askACatItsName(): String<br></p><p style="margin: 0px ; margin-left: 4px">+ askACatItsAge(): String<br></p><p style="margin: 0px ; margin-left: 4px">+ petSounds(): String<br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="TSDw7aBspsEVQ6Ing-Lo-1" vertex="1">
<mxGeometry x="474" y="280" width="160" height="120" as="geometry"/>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-3" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>&lt;&lt;static&gt;&gt;</b><b><br></b></p><p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Controller</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px"><u>- catsList: ArrayList&lt;SuperCat&gt;</u></p>&nbsp;<u>- dogsList: ArrayList&lt;Dog&gt;</u><br>&nbsp;<u>- random: Random</u><br><hr size="1"><p style="margin: 0px ; margin-left: 4px"><u>+ addNewCat(arr:String []):void</u><br></p><p style="margin: 0px ; margin-left: 4px"><u>+ addNewTomcat(arr:String []):void</u></p><p style="margin: 0px ; margin-left: 4px"><u>+ addNewDog(name:String): void<br></u></p><p style="margin: 0px ; margin-left: 4px"><u>+ getSomeRandomDog(): Dog<br></u></p><p style="margin: 0px ; margin-left: 4px"><u>+ getSomeRandomFelidae(): SuperCat</u></p><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="TSDw7aBspsEVQ6Ing-Lo-1" vertex="1">
<mxGeometry x="310" y="810" width="240" height="190" as="geometry"/>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-4" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Dog</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">- name: String</p><hr size="1"><p style="margin: 0px ; margin-left: 4px"><span>+ getName(): String</span></p><p style="margin: 0px ; margin-left: 4px"><span>+ askACatItsName(): String</span><br></p><p style="margin: 0px ; margin-left: 4px">+ petSounds(): String<br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="TSDw7aBspsEVQ6Ing-Lo-1" vertex="1">
<mxGeometry x="150" y="280" width="160" height="110" as="geometry"/>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-5" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>&lt;&lt; abstract &gt;&gt;</b></p><p style="margin: 0px ; margin-top: 4px ; text-align: center"><b><i>Pet</i></b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px"><span>+ petSounds(): String</span><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="TSDw7aBspsEVQ6Ing-Lo-1" vertex="1">
<mxGeometry x="354" y="60" width="120" height="70" as="geometry"/>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-6" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="TSDw7aBspsEVQ6Ing-Lo-1" source="TSDw7aBspsEVQ6Ing-Lo-2" target="TSDw7aBspsEVQ6Ing-Lo-5" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="420" y="130" as="sourcePoint"/>
<mxPoint x="410" y="140" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-7" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="TSDw7aBspsEVQ6Ing-Lo-1" source="TSDw7aBspsEVQ6Ing-Lo-4" target="TSDw7aBspsEVQ6Ing-Lo-5" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="80" y="150" as="sourcePoint"/>
<mxPoint x="240" y="150" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-10" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Cat</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">- age: int</p><p style="margin: 0px ; margin-left: 4px">- level: int<br></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ tellYourAge(felidae:SuperCat<span>): String</span></p><p style="margin: 0px ; margin-left: 4px">-&nbsp;checkEscalation(): String</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="TSDw7aBspsEVQ6Ing-Lo-1" vertex="1">
<mxGeometry x="560" y="560" width="220" height="110" as="geometry"/>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-11" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Tomcat</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">- age: int</p><hr size="1"><p style="margin: 0px ; margin-left: 4px"><span>+ tellYourAge(felidae:SuperCat</span><span>): String</span></p><p style="margin: 0px ; margin-left: 4px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="TSDw7aBspsEVQ6Ing-Lo-1" vertex="1">
<mxGeometry x="320" y="560" width="220" height="80" as="geometry"/>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-12" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.425;exitY=-0.007;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.33;entryY=0.997;entryDx=0;entryDy=0;entryPerimeter=0;" parent="TSDw7aBspsEVQ6Ing-Lo-1" source="TSDw7aBspsEVQ6Ing-Lo-11" target="TSDw7aBspsEVQ6Ing-Lo-2" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="414" y="480" as="sourcePoint"/>
<mxPoint x="580" y="430" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="TSDw7aBspsEVQ6Ing-Lo-13" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="TSDw7aBspsEVQ6Ing-Lo-1" source="TSDw7aBspsEVQ6Ing-Lo-10" target="TSDw7aBspsEVQ6Ing-Lo-2" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="890" y="580" as="sourcePoint"/>
<mxPoint x="560" y="401" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="0" value="" style="endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="TSDw7aBspsEVQ6Ing-Lo-1" target="TSDw7aBspsEVQ6Ing-Lo-3">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="200" y="390" as="sourcePoint"/>
<mxPoint x="190" y="910" as="targetPoint"/>
<Array as="points">
<mxPoint x="200" y="905"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="1" value="" style="endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="TSDw7aBspsEVQ6Ing-Lo-1" source="TSDw7aBspsEVQ6Ing-Lo-11" target="TSDw7aBspsEVQ6Ing-Lo-3">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="210" y="400" as="sourcePoint"/>
<mxPoint x="320" y="915" as="targetPoint"/>
<Array as="points">
<mxPoint x="430" y="750"/>
<mxPoint x="600" y="750"/>
<mxPoint x="600" y="905"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="2" value="" style="endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;" edge="1" parent="TSDw7aBspsEVQ6Ing-Lo-1" source="TSDw7aBspsEVQ6Ing-Lo-3">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="680" y="970" as="sourcePoint"/>
<mxPoint x="670" y="670" as="targetPoint"/>
<Array as="points">
<mxPoint x="670" y="953"/>
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>