college/Summer-2024/CS-3443/Labs/Lab3/Layout.svg
2024-07-05 23:58:06 -05:00

1 line
15 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="891px" preserveAspectRatio="none" style="width:1879px;height:891px;background:#FFFFFF;" version="1.1" viewBox="0 0 1879 891" width="1879px" zoomAndPan="magnify"><defs/><g><!--class Property--><g id="elem_Property"><rect codeLine="2" fill="#F1F1F1" height="227.2656" id="Property" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="459" x="697" y="320.78"/><ellipse cx="893.25" cy="336.78" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M893.3594,332.1238 L892.2031,337.2019 L894.5313,337.2019 L893.3594,332.1238 Z M891.875,329.8894 L894.8594,329.8894 L898.2188,342.28 L895.7656,342.28 L895,339.2175 L891.7188,339.2175 L890.9688,342.28 L888.5313,342.28 L891.875,329.8894 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="58" x="913.75" y="341.6267">Property</text><line style="stroke:#181818;stroke-width:0.5;" x1="698" x2="1155" y1="352.78" y2="352.78"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="66" x="703" y="369.7751">-id: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="110" x="703" y="386.072">-address: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="88" x="703" y="402.3689">-price: String</text><line style="stroke:#181818;stroke-width:0.5;" x1="698" x2="1155" y1="409.6706" y2="409.6706"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="447" x="703" y="426.6657">+&#171;constructor&#187; Property(id: String, address: String, price: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="125" x="703" y="442.9626">+toString(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="146" x="703" y="459.2595">+setId(newId: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="106" x="703" y="475.5564">+getId(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="236" x="703" y="491.8532">+setAddress(newAddress: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="151" x="703" y="508.1501">+getAddress(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="161" x="703" y="524.447">+setPrice(price: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="128" x="703" y="540.7439">+getPrice(): String</text></g><!--class CommercialProperty--><g id="elem_CommercialProperty"><rect codeLine="17" fill="#F1F1F1" height="259.8594" id="CommercialProperty" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="889" x="7" y="616.19"/><ellipse cx="377.75" cy="632.19" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M380.7188,637.8306 Q380.1406,638.1275 379.5,638.2681 Q378.8594,638.4244 378.1563,638.4244 Q375.6563,638.4244 374.3281,636.7838 Q373.0156,635.1275 373.0156,632.0025 Q373.0156,628.8775 374.3281,627.2213 Q375.6563,625.565 378.1563,625.565 Q378.8594,625.565 379.5,625.7213 Q380.1563,625.8775 380.7188,626.1744 L380.7188,628.8931 Q380.0938,628.315 379.5,628.0494 Q378.9063,627.7681 378.2813,627.7681 Q376.9375,627.7681 376.25,628.8463 Q375.5625,629.9088 375.5625,632.0025 Q375.5625,634.0963 376.25,635.1744 Q376.9375,636.2369 378.2813,636.2369 Q378.9063,636.2369 379.5,635.9713 Q380.0938,635.69 380.7188,635.1119 L380.7188,637.8306 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="139" x="398.25" y="637.0367">CommercialProperty</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="895" y1="648.19" y2="648.19"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="66" x="13" y="665.1851">-id: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="110" x="13" y="681.482">-address: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="88" x="13" y="697.7789">-price: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="89" x="13" y="714.0757">-zone: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="97" x="13" y="730.3726">-units: Integer</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="154" x="13" y="746.6695">-parkingSpots: Integer</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="895" y1="753.9713" y2="753.9713"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="877" x="13" y="770.9664">+&#171;constructor&#187; CommercialProperty(id: String, address: String, price: String, zone: String, units: Integer, parkingSpots: Integer)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="196" x="13" y="787.2632">+setZone(newZone: String)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="131" x="13" y="803.5601">+getZone(): String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="201" x="13" y="819.857">+setUnits(newUnits: Integer)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="138" x="13" y="836.1539">+getUnits(): Integer</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="313" x="13" y="852.4507">+setParkingSpots(newParkingSpots: Integer)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="194" x="13" y="868.7476">+getParkingSpots(): Integer</text></g><!--class ResidentialProperty--><g id="elem_ResidentialProperty"><rect codeLine="34" fill="#F1F1F1" height="276.1563" id="ResidentialProperty" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="942" x="930.5" y="608.04"/><ellipse cx="1330.25" cy="624.04" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M1333.2188,629.6806 Q1332.6406,629.9775 1332,630.1181 Q1331.3594,630.2744 1330.6563,630.2744 Q1328.1563,630.2744 1326.8281,628.6338 Q1325.5156,626.9775 1325.5156,623.8525 Q1325.5156,620.7275 1326.8281,619.0713 Q1328.1563,617.415 1330.6563,617.415 Q1331.3594,617.415 1332,617.5713 Q1332.6563,617.7275 1333.2188,618.0244 L1333.2188,620.7431 Q1332.5938,620.165 1332,619.8994 Q1331.4063,619.6181 1330.7813,619.6181 Q1329.4375,619.6181 1328.75,620.6963 Q1328.0625,621.7588 1328.0625,623.8525 Q1328.0625,625.9463 1328.75,627.0244 Q1329.4375,628.0869 1330.7813,628.0869 Q1331.4063,628.0869 1332,627.8213 Q1332.5938,627.54 1333.2188,626.9619 L1333.2188,629.6806 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="134" x="1350.75" y="628.8867">ResidentialProperty</text><line style="stroke:#181818;stroke-width:0.5;" x1="931.5" x2="1871.5" y1="640.04" y2="640.04"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="66" x="936.5" y="657.0351">-id: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="110" x="936.5" y="673.332">-address: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="88" x="936.5" y="689.6289">-price: String</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="124" x="936.5" y="705.9257">-hoaFees: Double</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="135" x="936.5" y="722.2226">-bedrooms: Double</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="139" x="936.5" y="738.5195">-bathrooms: Double</text><line style="stroke:#181818;stroke-width:0.5;" x1="931.5" x2="1871.5" y1="745.8213" y2="745.8213"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="930" x="936.5" y="762.8164">+&#171;constructor&#187; ResidentialProperty(id: String, address: String, price: String, hoaFees: Double, bedrooms: Double, bathrooms: Double)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="165" x="936.5" y="779.1132">+getHoaFees(): Double</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="254" x="936.5" y="795.4101">+setHoaFees(newHoaFees: Double)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="176" x="936.5" y="811.707">+getBedrooms(): Double</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="276" x="936.5" y="828.0039">+setBedrooms(newBedrooms: Double)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="176" x="936.5" y="844.3007">+getBedrooms(): Double</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="180" x="936.5" y="860.5976">+getBathrooms(): Double</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="284" x="936.5" y="876.8945">+setBathrooms(newBathrooms: Double)</text></g><!--class Listing--><g id="elem_Listing"><rect codeLine="52" fill="#F1F1F1" height="129.4844" id="Listing" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="375" x="739" y="131.29"/><ellipse cx="900.25" cy="147.29" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M903.2188,152.9306 Q902.6406,153.2275 902,153.3681 Q901.3594,153.5244 900.6563,153.5244 Q898.1563,153.5244 896.8281,151.8838 Q895.5156,150.2275 895.5156,147.1025 Q895.5156,143.9775 896.8281,142.3213 Q898.1563,140.665 900.6563,140.665 Q901.3594,140.665 902,140.8213 Q902.6563,140.9775 903.2188,141.2744 L903.2188,143.9931 Q902.5938,143.415 902,143.1494 Q901.4063,142.8681 900.7813,142.8681 Q899.4375,142.8681 898.75,143.9463 Q898.0625,145.0088 898.0625,147.1025 Q898.0625,149.1963 898.75,150.2744 Q899.4375,151.3369 900.7813,151.3369 Q901.4063,151.3369 902,151.0713 Q902.5938,150.79 903.2188,150.2119 L903.2188,152.9306 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="44" x="920.75" y="152.1367">Listing</text><line style="stroke:#181818;stroke-width:0.5;" x1="740" x2="1113" y1="163.29" y2="163.29"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="224" x="745" y="180.2851">-properties: ArrayList&lt;Property&gt;</text><line style="stroke:#181818;stroke-width:0.5;" x1="740" x2="1113" y1="187.5869" y2="187.5869"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="363" x="745" y="204.582">+setProperties(newProperties: ArrayList&lt;Property&gt;)</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="264" x="745" y="220.8789">+getProperties(): ArrayList&lt;Property&gt;</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="175" x="745" y="237.1757">+loadProperties(): Listing</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="275" x="745" y="253.4726">+getProperty(address: String): Property</text></g><!--class MainActivity--><g id="elem_MainActivity"><rect codeLine="61" fill="#F1F1F1" height="64.2969" id="MainActivity" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="292" x="780.5" y="7"/><ellipse cx="882.75" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M885.7188,28.6406 Q885.1406,28.9375 884.5,29.0781 Q883.8594,29.2344 883.1563,29.2344 Q880.6563,29.2344 879.3281,27.5938 Q878.0156,25.9375 878.0156,22.8125 Q878.0156,19.6875 879.3281,18.0313 Q880.6563,16.375 883.1563,16.375 Q883.8594,16.375 884.5,16.5313 Q885.1563,16.6875 885.7188,16.9844 L885.7188,19.7031 Q885.0938,19.125 884.5,18.8594 Q883.9063,18.5781 883.2813,18.5781 Q881.9375,18.5781 881.25,19.6563 Q880.5625,20.7188 880.5625,22.8125 Q880.5625,24.9063 881.25,25.9844 Q881.9375,27.0469 883.2813,27.0469 Q883.9063,27.0469 884.5,26.7813 Q885.0938,26.5 885.7188,25.9219 L885.7188,28.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="79" x="903.25" y="27.8467">MainActivity</text><line style="stroke:#181818;stroke-width:0.5;" x1="781.5" x2="1071.5" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:0.5;" x1="781.5" x2="1071.5" y1="47" y2="47"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="280" x="786.5" y="63.9951">#onCreate(savedInstanceState: Bundle)</text></g><!--reverse link Property to CommercialProperty--><g id="link_Property_CommercialProperty"><path codeLine="65" d="M737.9215,558.3705 C704.3915,580.2305 684.11,593.46 649.86,615.79 " fill="none" id="Property-backto-CommercialProperty" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="753,548.54,734.6447,553.3443,741.1983,563.3967,753,548.54" style="stroke:#181818;stroke-width:1.0;"/></g><!--reverse link Property to ResidentialProperty--><g id="link_Property_ResidentialProperty"><path codeLine="66" d="M1115.0786,558.3703 C1144.4986,577.5503 1160.25,587.82 1190.5,607.55 " fill="none" id="Property-backto-ResidentialProperty" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="1100,548.54,1111.8018,563.3965,1118.3554,553.3441,1100,548.54" style="stroke:#181818;stroke-width:1.0;"/></g><!--reverse link Listing to Property--><g id="link_Listing_Property"><path codeLine="67" d="M926.5,273 C926.5,291.46 926.5,300.17 926.5,320.66 " fill="none" id="Listing-backto-Property" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="926.5,261,922.5,267,926.5,273,930.5,267,926.5,261" style="stroke:#181818;stroke-width:1.0;"/></g><!--link MainActivity to Listing--><g id="link_MainActivity_Listing"><path codeLine="68" d="M926.5,71.49 C926.5,88.64 926.5,92.53 926.5,113.11 " fill="none" id="MainActivity-to-Listing" style="stroke:#181818;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="none" points="926.5,131.11,932.5,113.11,920.5,113.11,926.5,131.11" style="stroke:#181818;stroke-width:1.0;"/></g><!--SRC=[hLLDIyGm4BttLmIyjDgAPraMkefOK5XSl7ZBDaCDxYObIPNrux-RRDgcISjAmTuwyzwRbvbfAjyegx70UrJki9IvKe9k6mL5oTc6VWAwYl1MAe5BPH5eBNWDGXtGLuJqar5oZJQQnIhxZWaH8AKVh0KjmGjTB1QwX5PkIiN5SjdhnaumHO5OYZoXn2efRb_ZnAyWGHKaPl1Ha81H7JDZU6xB6KxkLtR43ZDchustUCfXrIKTwIUAvD-zjos_uVizY9BYtJyrF_laB8WqZ2hDAvY22aHBn49Rh3Or3rEZwOqjpfXZYeP-KkHxqU0f7qdVznTDDYDx6OYunX-pus4zcng6zUmLSpmBI89pcp4Ft1Y1zGbtLG0VoCrPW2UGb01J_xW1hnpV0MZSBM-sEx31BH31-JwCOlKw3ezMOCBah1q87AKeTACZeHFNvdlBDXqUcfGkeqTrxvTmx5LRQeBUfpH_5JZwMy2aEjDJudtEg8zFDsT97gXKkf7TOjHs1jGSDnS27qn-qKrcERYrEjnncK-pXlTPJqjE5DXnJ7neQpCKEiJ1VcXebvhLXaTCMLug-axxZ-ICini1M44iyJkGGcyjPYLib0vTerN3IDlhYOisQx9lztEAfhx40DBDuJmZcOjwjYx9fMQqm5y0]--></g></svg>