1 line
14 KiB
XML
1 line
14 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="1135px" preserveAspectRatio="none" style="width:778px;height:1135px;background:#FFFFFF;" version="1.1" viewBox="0 0 778 1135" width="778px" zoomAndPan="magnify"><defs/><g><!--class CrewMember--><g id="elem_CrewMember"><rect codeLine="2" fill="#F1F1F1" height="341.3438" id="CrewMember" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="764" x="7" y="787.32"/><ellipse cx="338.75" cy="803.32" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M341.7188,808.9606 Q341.1406,809.2575 340.5,809.3981 Q339.8594,809.5544 339.1563,809.5544 Q336.6563,809.5544 335.3281,807.9138 Q334.0156,806.2575 334.0156,803.1325 Q334.0156,800.0075 335.3281,798.3513 Q336.6563,796.695 339.1563,796.695 Q339.8594,796.695 340.5,796.8513 Q341.1563,797.0075 341.7188,797.3044 L341.7188,800.0231 Q341.0938,799.445 340.5,799.1794 Q339.9063,798.8981 339.2813,798.8981 Q337.9375,798.8981 337.25,799.9763 Q336.5625,801.0388 336.5625,803.1325 Q336.5625,805.2263 337.25,806.3044 Q337.9375,807.3669 339.2813,807.3669 Q339.9063,807.3669 340.5,807.1013 Q341.0938,806.82 341.7188,806.2419 L341.7188,808.9606 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="92" x="359.25" y="808.1667">CrewMember</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="770" y1="819.32" y2="819.32"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="93" x="13" y="836.3151">-name: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="109" x="13" y="852.612">-position: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="84" x="13" y="868.9089">-rank: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="108" x="13" y="885.2057">-species: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="135" x="13" y="901.5026">-assignment: String</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="770" y1="908.8044" y2="908.8044"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="752" x="13" y="925.7995">+«constructor» CrewMember(name: String, position: String, rank: String, species: String, assignment: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="614" x="13" y="942.0964">+«constructor» CrewMember(name: String, position: String, rank: String, species: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="125" x="13" y="958.3932">+toString(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="134" x="13" y="974.6901">+getName(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="172" x="13" y="990.987">+setName(name: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="149" x="13" y="1007.2839">+getPosition(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="203" x="13" y="1023.5807">+setPosition(position: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="129" x="13" y="1039.8776">+getRank(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="158" x="13" y="1056.1745">+setRank(rank: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="149" x="13" y="1072.4714">+getSpecies(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="202" x="13" y="1088.7682">+setSpecies(species: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="176" x="13" y="1105.0651">+getAssignment(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="256" x="13" y="1121.362">+setAssignment(assignment: String)</text></g><!--class Starship--><g id="elem_Starship"><rect codeLine="24" fill="#F1F1F1" height="308.75" id="Starship" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="537" x="120.5" y="418.57"/><ellipse cx="356.75" cy="434.57" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M359.7188,440.2106 Q359.1406,440.5075 358.5,440.6481 Q357.8594,440.8044 357.1563,440.8044 Q354.6563,440.8044 353.3281,439.1638 Q352.0156,437.5075 352.0156,434.3825 Q352.0156,431.2575 353.3281,429.6013 Q354.6563,427.945 357.1563,427.945 Q357.8594,427.945 358.5,428.1013 Q359.1563,428.2575 359.7188,428.5544 L359.7188,431.2731 Q359.0938,430.695 358.5,430.4294 Q357.9063,430.1481 357.2813,430.1481 Q355.9375,430.1481 355.25,431.2263 Q354.5625,432.2888 354.5625,434.3825 Q354.5625,436.4763 355.25,437.5544 Q355.9375,438.6169 357.2813,438.6169 Q357.9063,438.6169 358.5,438.3513 Q359.0938,438.07 359.7188,437.4919 L359.7188,440.2106 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="56" x="377.25" y="439.4167">Starship</text><line style="stroke:#181818;stroke-width:0.5;" x1="121.5" x2="656.5" y1="450.57" y2="450.57"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="93" x="126.5" y="467.5651">-name: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="105" x="126.5" y="483.862">-registry: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="146" x="126.5" y="500.1589">-starshipClass: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="220" x="126.5" y="516.4557">-crew: ArrayList<CrewMember></text><line style="stroke:#181818;stroke-width:0.5;" x1="121.5" x2="656.5" y1="523.7575" y2="523.7575"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="525" x="126.5" y="540.7526">+«constructor» Starship(name: String, registry: String, starshipClass: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="125" x="126.5" y="557.0495">+toString(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="331" x="126.5" y="573.3464">+addCrewMember(crewMember: CrewMember)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="243" x="126.5" y="589.6432">+getNumberOfPersonnel(): Integer</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="134" x="126.5" y="605.9401">+getName(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="172" x="126.5" y="622.237">+setName(name: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="150" x="126.5" y="638.5339">+getRegistry(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="200" x="126.5" y="654.8307">+setRegistry(registry: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="262" x="126.5" y="671.1276">+getCrew(): ArrayList<CrewMember></text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="294" x="126.5" y="687.4245">+setCrew(crew: ArrayList<CrewMember>)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="187" x="126.5" y="703.7214">+getStarshipClass(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="278" x="126.5" y="720.0182">+setStarshipClass(starshipClass: String)</text></g><!--class Fleet--><g id="elem_Fleet"><rect codeLine="44" fill="#F1F1F1" height="227.2656" id="Fleet" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="329" x="224.5" y="131.3"/><ellipse cx="367.75" cy="147.3" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M370.7188,152.9406 Q370.1406,153.2375 369.5,153.3781 Q368.8594,153.5344 368.1563,153.5344 Q365.6563,153.5344 364.3281,151.8938 Q363.0156,150.2375 363.0156,147.1125 Q363.0156,143.9875 364.3281,142.3313 Q365.6563,140.675 368.1563,140.675 Q368.8594,140.675 369.5,140.8313 Q370.1563,140.9875 370.7188,141.2844 L370.7188,144.0031 Q370.0938,143.425 369.5,143.1594 Q368.9063,142.8781 368.2813,142.8781 Q366.9375,142.8781 366.25,143.9563 Q365.5625,145.0188 365.5625,147.1125 Q365.5625,149.2063 366.25,150.2844 Q366.9375,151.3469 368.2813,151.3469 Q368.9063,151.3469 369.5,151.0813 Q370.0938,150.8 370.7188,150.2219 L370.7188,152.9406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="34" x="388.25" y="152.1467">Fleet</text><line style="stroke:#181818;stroke-width:0.5;" x1="225.5" x2="552.5" y1="163.3" y2="163.3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="93" x="230.5" y="180.2951">-name: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="214" x="230.5" y="196.592">-starships: ArrayList<Starship></text><line style="stroke:#181818;stroke-width:0.5;" x1="225.5" x2="552.5" y1="203.8938" y2="203.8938"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="246" x="230.5" y="220.8889">+«constructor» Fleet(name: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="125" x="230.5" y="237.1857">+toString(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="181" x="230.5" y="253.4826">+getSizeOfFleet(): Integer</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="224" x="230.5" y="269.7795">+addStarship(starship: Starship)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="134" x="230.5" y="286.0764">+getName(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="172" x="230.5" y="302.3732">+setName(name: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="255" x="230.5" y="318.6701">+getStarships(): ArrayList<Starship></text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="317" x="230.5" y="334.967">+setStarships(starships: ArrayList<Starship>)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="289" x="230.5" y="351.2639">+loadStarships(starshipsDirectory: String)</text></g><!--class Lab2--><g id="elem_Lab2"><rect codeLine="59" fill="#F1F1F1" height="64.2969" id="Lab2" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="208" x="285" y="7"/><ellipse cx="368.25" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M371.2188,28.6406 Q370.6406,28.9375 370,29.0781 Q369.3594,29.2344 368.6563,29.2344 Q366.1563,29.2344 364.8281,27.5938 Q363.5156,25.9375 363.5156,22.8125 Q363.5156,19.6875 364.8281,18.0313 Q366.1563,16.375 368.6563,16.375 Q369.3594,16.375 370,16.5313 Q370.6563,16.6875 371.2188,16.9844 L371.2188,19.7031 Q370.5938,19.125 370,18.8594 Q369.4063,18.5781 368.7813,18.5781 Q367.4375,18.5781 366.75,19.6563 Q366.0625,20.7188 366.0625,22.8125 Q366.0625,24.9063 366.75,25.9844 Q367.4375,27.0469 368.7813,27.0469 Q369.4063,27.0469 370,26.7813 Q370.5938,26.5 371.2188,25.9219 L371.2188,28.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="33" x="388.75" y="27.8467">Lab2</text><line style="stroke:#181818;stroke-width:0.5;" x1="286" x2="492" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:0.5;" x1="286" x2="492" y1="47" y2="47"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="196" x="291" y="63.9951">+_ main(args: String[]): void</text></g><!--reverse link Fleet to Starship--><g id="link_Fleet_Starship"><path codeLine="63" d="M389,371.04 C389,390.17 389,398.31 389,418.26 " fill="none" id="Fleet-backto-Starship" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="389,359.04,385,365.04,389,371.04,393,365.04,389,359.04" style="stroke:#181818;stroke-width:1.0;"/></g><!--reverse link Starship to CrewMember--><g id="link_Starship_CrewMember"><path codeLine="64" d="M389,739.81 C389,759.26 389,767.25 389,786.93 " fill="none" id="Starship-backto-CrewMember" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="389,727.81,385,733.81,389,739.81,393,733.81,389,727.81" style="stroke:#181818;stroke-width:1.0;"/></g><!--link Lab2 to Fleet--><g id="link_Lab2_Fleet"><path codeLine="65" d="M389,71.55 C389,87.96 389,91.16 389,113.04 " fill="none" id="Lab2-to-Fleet" style="stroke:#181818;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="389,131.04,395,113.04,383,113.04,389,131.04" style="stroke:#181818;stroke-width:1.0;"/></g><!--SRC=[jPJVQy8m4CVV-rVaqMALiKSHGJO6WbFHnp56h6SNR9EIn0ttutzVqZOrZR7x8VEftlLxzxsx3nKxGdFCSORY50inbfAJzLx296PqHTu0NGL50jrmUBs7R0qSlGT8_Ng8uWm6QAKKDAb2EHD44aQTCCTqvuH43Z41uKHL9vBG3AXi9BfeE5I6XEJxM38-6bbsEhQDwCH1r6WUkNqZJylmdtkQ-fAL_pkXCsm2SgOQdCH55RUxXqVDehBXqzKvrwkbNohJFcqHjoUoDAjoD9_CfCvChyJZUlK-lPNrtUWp2CHFuLr9pCKpoTlGvP0GTUo3osablT65d5oiW1YWCUVuC5NQuH6GqHc4Z1478BTtv6_xBJXuix4WZUl7WSMkjV_PNWVcsmLmmIY5L1USK0a9yCjGN5O3UN4oENTgIw_jQctRRaNrMiiLR53jXNfnRRnmPl-_WUuk1P1jn9aUmdPlR9mZgAZgNNlRvqGRcszBxScD5JKrbyRJe4Orl8m4KqOqp-cEAUmtsnTZYgSCRpoQMy91x-hmjwjDyVgwEbeNFI6KOK8xc2Sr10-FQf0NHZQwR7bZrklLwmhgRusE7baCYiBz_aTrmYy0]--></g></svg> |