Spaces:
Running
Running
| <!-- Generated by graphviz version 2.43.0 (0) | |
| --> | |
| <!-- Title: %3 Pages: 1 --> | |
| <svg width="2141pt" height="1150pt" | |
| viewBox="0.00 0.00 2141.00 1150.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
| <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(36 1114)"> | |
| <title>%3</title> | |
| <polygon fill="white" stroke="transparent" points="-36,36 -36,-1114 2105,-1114 2105,36 -36,36"/> | |
| <!-- Student --> | |
| <g id="node1" class="node"> | |
| <title>Student</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1078,-564C1078,-564 1315,-564 1315,-564 1321,-564 1327,-570 1327,-576 1327,-576 1327,-782 1327,-782 1327,-788 1321,-794 1315,-794 1315,-794 1078,-794 1078,-794 1072,-794 1066,-788 1066,-782 1066,-782 1066,-576 1066,-576 1066,-570 1072,-564 1078,-564"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1067.5,-771 1067.5,-793 1326.5,-793 1326.5,-771 1067.5,-771"/> | |
| <text text-anchor="start" x="1176" y="-780.2" font-family="Arial" font-weight="bold" font-size="11.00">Student</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-761 1067.5,-771 1326.5,-771 1326.5,-761 1067.5,-761"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-739 1067.5,-761 1326.5,-761 1326.5,-739 1067.5,-739"/> | |
| <text text-anchor="start" x="1072.5" y="-747.2" font-family="Arial" font-size="11.00">- studentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-717 1067.5,-739 1326.5,-739 1326.5,-717 1067.5,-717"/> | |
| <text text-anchor="start" x="1072.5" y="-725.2" font-family="Arial" font-size="11.00">+ firstName : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-695 1067.5,-717 1326.5,-717 1326.5,-695 1067.5,-695"/> | |
| <text text-anchor="start" x="1072.5" y="-703.2" font-family="Arial" font-size="11.00">+ lastName : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-673 1067.5,-695 1326.5,-695 1326.5,-673 1067.5,-673"/> | |
| <text text-anchor="start" x="1072.5" y="-681.2" font-family="Arial" font-size="11.00">+ email : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-651 1067.5,-673 1326.5,-673 1326.5,-651 1067.5,-651"/> | |
| <text text-anchor="start" x="1072.5" y="-659.2" font-family="Arial" font-size="11.00">+ major : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-641 1067.5,-651 1326.5,-651 1326.5,-641 1067.5,-641"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-631 1067.5,-641 1326.5,-641 1326.5,-631 1067.5,-631"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-609 1067.5,-631 1326.5,-631 1326.5,-609 1067.5,-609"/> | |
| <text text-anchor="start" x="1072.5" y="-617.2" font-family="Arial" font-size="11.00">+ Student(firstName: String, email: String) : Student</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-587 1067.5,-609 1326.5,-609 1326.5,-587 1067.5,-587"/> | |
| <text text-anchor="start" x="1072.5" y="-595.2" font-family="Arial" font-size="11.00">+ enroll(courseId: String) : boolean</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1067.5,-565 1067.5,-587 1326.5,-587 1326.5,-565 1067.5,-565"/> | |
| <text text-anchor="start" x="1072.5" y="-573.2" font-family="Arial" font-size="11.00">+ updateMajor(major: String) : void</text> | |
| <polygon fill="black" stroke="black" points="1066.5,-771 1066.5,-771 1327.5,-771 1327.5,-771 1066.5,-771"/> | |
| <polygon fill="black" stroke="black" points="1066.5,-641 1066.5,-641 1327.5,-641 1327.5,-641 1066.5,-641"/> | |
| <path fill="none" stroke="black" d="M1078,-564C1078,-564 1315,-564 1315,-564 1321,-564 1327,-570 1327,-576 1327,-576 1327,-782 1327,-782 1327,-788 1321,-794 1315,-794 1315,-794 1078,-794 1078,-794 1072,-794 1066,-788 1066,-782 1066,-782 1066,-576 1066,-576 1066,-570 1072,-564 1078,-564"/> | |
| </g> | |
| <!-- Enrollment --> | |
| <g id="node3" class="node"> | |
| <title>Enrollment</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M295,-284C295,-284 574,-284 574,-284 580,-284 586,-290 586,-296 586,-296 586,-458 586,-458 586,-464 580,-470 574,-470 574,-470 295,-470 295,-470 289,-470 283,-464 283,-458 283,-458 283,-296 283,-296 283,-290 289,-284 295,-284"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="284.5,-447 284.5,-469 585.5,-469 585.5,-447 284.5,-447"/> | |
| <text text-anchor="start" x="406" y="-456.2" font-family="Arial" font-weight="bold" font-size="11.00">Enrollment</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-437 284.5,-447 585.5,-447 585.5,-437 284.5,-437"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-415 284.5,-437 585.5,-437 585.5,-415 284.5,-415"/> | |
| <text text-anchor="start" x="289.5" y="-423.2" font-family="Arial" font-size="11.00">- enrollmentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-393 284.5,-415 585.5,-415 585.5,-393 284.5,-393"/> | |
| <text text-anchor="start" x="289.5" y="-401.2" font-family="Arial" font-size="11.00">+ studentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-371 284.5,-393 585.5,-393 585.5,-371 284.5,-371"/> | |
| <text text-anchor="start" x="289.5" y="-379.2" font-family="Arial" font-size="11.00">+ courseId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-349 284.5,-371 585.5,-371 585.5,-349 284.5,-349"/> | |
| <text text-anchor="start" x="289.5" y="-357.2" font-family="Arial" font-size="11.00">+ semester : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-339 284.5,-349 585.5,-349 585.5,-339 284.5,-339"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-329 284.5,-339 585.5,-339 585.5,-329 284.5,-329"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-307 284.5,-329 585.5,-329 585.5,-307 284.5,-307"/> | |
| <text text-anchor="start" x="289.5" y="-315.2" font-family="Arial" font-size="11.00">+ Enrollment(studentId: String, courseId: String) : Enrollment</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="284.5,-285 284.5,-307 585.5,-307 585.5,-285 284.5,-285"/> | |
| <text text-anchor="start" x="289.5" y="-293.2" font-family="Arial" font-size="11.00">+ drop() : void</text> | |
| <polygon fill="black" stroke="black" points="283.5,-447 283.5,-447 586.5,-447 586.5,-447 283.5,-447"/> | |
| <polygon fill="black" stroke="black" points="283.5,-339 283.5,-339 586.5,-339 586.5,-339 283.5,-339"/> | |
| <path fill="none" stroke="black" d="M295,-284C295,-284 574,-284 574,-284 580,-284 586,-290 586,-296 586,-296 586,-458 586,-458 586,-464 580,-470 574,-470 574,-470 295,-470 295,-470 289,-470 283,-464 283,-458 283,-458 283,-296 283,-296 283,-290 289,-284 295,-284"/> | |
| </g> | |
| <!-- Student->Enrollment --> | |
| <g id="edge1" class="edge"> | |
| <title>Student->Enrollment</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1057.66,-574C851.77,-574 489.5,-574 489.5,-574 489.5,-574 489.5,-484.06 489.5,-484.06"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="493,-484.06 489.5,-474.06 486,-484.06 493,-484.06"/> | |
| <text text-anchor="middle" x="487.5" y="-476.86" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1054.66" y="-576.8" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Grade --> | |
| <g id="node6" class="node"> | |
| <title>Grade</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M377.5,-4C377.5,-4 601.5,-4 601.5,-4 607.5,-4 613.5,-10 613.5,-16 613.5,-16 613.5,-178 613.5,-178 613.5,-184 607.5,-190 601.5,-190 601.5,-190 377.5,-190 377.5,-190 371.5,-190 365.5,-184 365.5,-178 365.5,-178 365.5,-16 365.5,-16 365.5,-10 371.5,-4 377.5,-4"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="366.5,-167 366.5,-189 612.5,-189 612.5,-167 366.5,-167"/> | |
| <text text-anchor="start" x="473.5" y="-176.2" font-family="Arial" font-weight="bold" font-size="11.00">Grade</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-157 366.5,-167 612.5,-167 612.5,-157 366.5,-157"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-135 366.5,-157 612.5,-157 612.5,-135 366.5,-135"/> | |
| <text text-anchor="start" x="371.5" y="-143.2" font-family="Arial" font-size="11.00">- gradeId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-113 366.5,-135 612.5,-135 612.5,-113 366.5,-113"/> | |
| <text text-anchor="start" x="371.5" y="-121.2" font-family="Arial" font-size="11.00">+ studentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-91 366.5,-113 612.5,-113 612.5,-91 366.5,-91"/> | |
| <text text-anchor="start" x="371.5" y="-99.2" font-family="Arial" font-size="11.00">+ assignmentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-69 366.5,-91 612.5,-91 612.5,-69 366.5,-69"/> | |
| <text text-anchor="start" x="371.5" y="-77.2" font-family="Arial" font-size="11.00">+ score : double</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-59 366.5,-69 612.5,-69 612.5,-59 366.5,-59"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-49 366.5,-59 612.5,-59 612.5,-49 366.5,-49"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-27 366.5,-49 612.5,-49 612.5,-27 366.5,-27"/> | |
| <text text-anchor="start" x="371.5" y="-35.2" font-family="Arial" font-size="11.00">+ Grade(studentId: String, score: double) : Grade</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="366.5,-5 366.5,-27 612.5,-27 612.5,-5 366.5,-5"/> | |
| <text text-anchor="start" x="371.5" y="-13.2" font-family="Arial" font-size="11.00">+ updateScore(newScore: double) : void</text> | |
| <polygon fill="black" stroke="black" points="365.5,-167 365.5,-167 613.5,-167 613.5,-167 365.5,-167"/> | |
| <polygon fill="black" stroke="black" points="365.5,-59 365.5,-59 613.5,-59 613.5,-59 365.5,-59"/> | |
| <path fill="none" stroke="black" d="M377.5,-4C377.5,-4 601.5,-4 601.5,-4 607.5,-4 613.5,-10 613.5,-16 613.5,-16 613.5,-178 613.5,-178 613.5,-184 607.5,-190 601.5,-190 601.5,-190 377.5,-190 377.5,-190 371.5,-190 365.5,-184 365.5,-178 365.5,-178 365.5,-16 365.5,-16 365.5,-10 371.5,-4 377.5,-4"/> | |
| </g> | |
| <!-- Student->Grade --> | |
| <g id="edge5" class="edge"> | |
| <title>Student->Grade</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1057.72,-567C883.66,-567 607.75,-567 607.75,-567 607.75,-567 607.75,-204.1 607.75,-204.1"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="611.25,-204.1 607.75,-194.1 604.25,-204.1 611.25,-204.1"/> | |
| <text text-anchor="middle" x="605.75" y="-196.9" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1054.72" y="-559.8" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Loan --> | |
| <g id="node9" class="node"> | |
| <title>Loan</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1397.5,-284C1397.5,-284 1611.5,-284 1611.5,-284 1617.5,-284 1623.5,-290 1623.5,-296 1623.5,-296 1623.5,-458 1623.5,-458 1623.5,-464 1617.5,-470 1611.5,-470 1611.5,-470 1397.5,-470 1397.5,-470 1391.5,-470 1385.5,-464 1385.5,-458 1385.5,-458 1385.5,-296 1385.5,-296 1385.5,-290 1391.5,-284 1397.5,-284"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1386.5,-447 1386.5,-469 1622.5,-469 1622.5,-447 1386.5,-447"/> | |
| <text text-anchor="start" x="1491" y="-456.2" font-family="Arial" font-weight="bold" font-size="11.00">Loan</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-437 1386.5,-447 1622.5,-447 1622.5,-437 1386.5,-437"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-415 1386.5,-437 1622.5,-437 1622.5,-415 1386.5,-415"/> | |
| <text text-anchor="start" x="1391.5" y="-423.2" font-family="Arial" font-size="11.00">- loanId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-393 1386.5,-415 1622.5,-415 1622.5,-393 1386.5,-393"/> | |
| <text text-anchor="start" x="1391.5" y="-401.2" font-family="Arial" font-size="11.00">+ studentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-371 1386.5,-393 1622.5,-393 1622.5,-371 1386.5,-371"/> | |
| <text text-anchor="start" x="1391.5" y="-379.2" font-family="Arial" font-size="11.00">+ bookId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-349 1386.5,-371 1622.5,-371 1622.5,-349 1386.5,-349"/> | |
| <text text-anchor="start" x="1391.5" y="-357.2" font-family="Arial" font-size="11.00">+ dueDate : Date</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-339 1386.5,-349 1622.5,-349 1622.5,-339 1386.5,-339"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-329 1386.5,-339 1622.5,-339 1622.5,-329 1386.5,-329"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-307 1386.5,-329 1622.5,-329 1622.5,-307 1386.5,-307"/> | |
| <text text-anchor="start" x="1391.5" y="-315.2" font-family="Arial" font-size="11.00">+ Loan(studentId: String, bookId: String) : Loan</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1386.5,-285 1386.5,-307 1622.5,-307 1622.5,-285 1386.5,-285"/> | |
| <text text-anchor="start" x="1391.5" y="-293.2" font-family="Arial" font-size="11.00">+ returnBook() : void</text> | |
| <polygon fill="black" stroke="black" points="1385.5,-447 1385.5,-447 1623.5,-447 1623.5,-447 1385.5,-447"/> | |
| <polygon fill="black" stroke="black" points="1385.5,-339 1385.5,-339 1623.5,-339 1623.5,-339 1385.5,-339"/> | |
| <path fill="none" stroke="black" d="M1397.5,-284C1397.5,-284 1611.5,-284 1611.5,-284 1617.5,-284 1623.5,-290 1623.5,-296 1623.5,-296 1623.5,-458 1623.5,-458 1623.5,-464 1617.5,-470 1611.5,-470 1611.5,-470 1397.5,-470 1397.5,-470 1391.5,-470 1385.5,-464 1385.5,-458 1385.5,-458 1385.5,-296 1385.5,-296 1385.5,-290 1391.5,-284 1397.5,-284"/> | |
| </g> | |
| <!-- Student->Loan --> | |
| <g id="edge7" class="edge"> | |
| <title>Student->Loan</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1335.16,-567C1363.7,-567 1385.25,-567 1385.25,-567 1385.25,-567 1385.25,-484.23 1385.25,-484.23"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1388.75,-484.23 1385.25,-474.23 1381.75,-484.23 1388.75,-484.23"/> | |
| <text text-anchor="middle" x="1383.25" y="-477.03" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1338.16" y="-559.8" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- FoodOrder --> | |
| <g id="node12" class="node"> | |
| <title>FoodOrder</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1100,-284C1100,-284 1299,-284 1299,-284 1305,-284 1311,-290 1311,-296 1311,-296 1311,-458 1311,-458 1311,-464 1305,-470 1299,-470 1299,-470 1100,-470 1100,-470 1094,-470 1088,-464 1088,-458 1088,-458 1088,-296 1088,-296 1088,-290 1094,-284 1100,-284"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1089.5,-447 1089.5,-469 1310.5,-469 1310.5,-447 1089.5,-447"/> | |
| <text text-anchor="start" x="1171" y="-456.2" font-family="Arial" font-weight="bold" font-size="11.00">FoodOrder</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-437 1089.5,-447 1310.5,-447 1310.5,-437 1089.5,-437"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-415 1089.5,-437 1310.5,-437 1310.5,-415 1089.5,-415"/> | |
| <text text-anchor="start" x="1094.5" y="-423.2" font-family="Arial" font-size="11.00">- orderId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-393 1089.5,-415 1310.5,-415 1310.5,-393 1089.5,-393"/> | |
| <text text-anchor="start" x="1094.5" y="-401.2" font-family="Arial" font-size="11.00">+ studentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-371 1089.5,-393 1310.5,-393 1310.5,-371 1089.5,-371"/> | |
| <text text-anchor="start" x="1094.5" y="-379.2" font-family="Arial" font-size="11.00">+ totalAmount : double</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-349 1089.5,-371 1310.5,-371 1310.5,-349 1089.5,-349"/> | |
| <text text-anchor="start" x="1094.5" y="-357.2" font-family="Arial" font-size="11.00">+ orderTime : Date</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-339 1089.5,-349 1310.5,-349 1310.5,-339 1089.5,-339"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-329 1089.5,-339 1310.5,-339 1310.5,-329 1089.5,-329"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-307 1089.5,-329 1310.5,-329 1310.5,-307 1089.5,-307"/> | |
| <text text-anchor="start" x="1094.5" y="-315.2" font-family="Arial" font-size="11.00">+ FoodOrder(studentId: String) : FoodOrder</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1089.5,-285 1089.5,-307 1310.5,-307 1310.5,-285 1089.5,-285"/> | |
| <text text-anchor="start" x="1094.5" y="-293.2" font-family="Arial" font-size="11.00">+ addItem(itemId: String) : void</text> | |
| <polygon fill="black" stroke="black" points="1088.5,-447 1088.5,-447 1311.5,-447 1311.5,-447 1088.5,-447"/> | |
| <polygon fill="black" stroke="black" points="1088.5,-339 1088.5,-339 1311.5,-339 1311.5,-339 1088.5,-339"/> | |
| <path fill="none" stroke="black" d="M1100,-284C1100,-284 1299,-284 1299,-284 1305,-284 1311,-290 1311,-296 1311,-296 1311,-458 1311,-458 1311,-464 1305,-470 1299,-470 1299,-470 1100,-470 1100,-470 1094,-470 1088,-464 1088,-458 1088,-458 1088,-296 1088,-296 1088,-290 1094,-284 1100,-284"/> | |
| </g> | |
| <!-- Student->FoodOrder --> | |
| <g id="edge10" class="edge"> | |
| <title>Student->FoodOrder</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1199.5,-559.64C1199.5,-559.64 1199.5,-484.14 1199.5,-484.14"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1203,-484.14 1199.5,-474.14 1196,-484.14 1203,-484.14"/> | |
| <text text-anchor="middle" x="1197.5" y="-476.94" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1196.5" y="-552.44" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- RoomAssignment --> | |
| <g id="node15" class="node"> | |
| <title>RoomAssignment</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1710,-284C1710,-284 2049,-284 2049,-284 2055,-284 2061,-290 2061,-296 2061,-296 2061,-458 2061,-458 2061,-464 2055,-470 2049,-470 2049,-470 1710,-470 1710,-470 1704,-470 1698,-464 1698,-458 1698,-458 1698,-296 1698,-296 1698,-290 1704,-284 1710,-284"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1699.5,-447 1699.5,-469 2060.5,-469 2060.5,-447 1699.5,-447"/> | |
| <text text-anchor="start" x="1832.5" y="-456.2" font-family="Arial" font-weight="bold" font-size="11.00">RoomAssignment</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-437 1699.5,-447 2060.5,-447 2060.5,-437 1699.5,-437"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-415 1699.5,-437 2060.5,-437 2060.5,-415 1699.5,-415"/> | |
| <text text-anchor="start" x="1704.5" y="-423.2" font-family="Arial" font-size="11.00">- assignmentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-393 1699.5,-415 2060.5,-415 2060.5,-393 1699.5,-393"/> | |
| <text text-anchor="start" x="1704.5" y="-401.2" font-family="Arial" font-size="11.00">+ studentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-371 1699.5,-393 2060.5,-393 2060.5,-371 1699.5,-371"/> | |
| <text text-anchor="start" x="1704.5" y="-379.2" font-family="Arial" font-size="11.00">+ roomId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-349 1699.5,-371 2060.5,-371 2060.5,-349 1699.5,-349"/> | |
| <text text-anchor="start" x="1704.5" y="-357.2" font-family="Arial" font-size="11.00">+ semester : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-339 1699.5,-349 2060.5,-349 2060.5,-339 1699.5,-339"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-329 1699.5,-339 2060.5,-339 2060.5,-329 1699.5,-329"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-307 1699.5,-329 2060.5,-329 2060.5,-307 1699.5,-307"/> | |
| <text text-anchor="start" x="1704.5" y="-315.2" font-family="Arial" font-size="11.00">+ RoomAssignment(studentId: String, roomId: String) : RoomAssignment</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1699.5,-285 1699.5,-307 2060.5,-307 2060.5,-285 1699.5,-285"/> | |
| <text text-anchor="start" x="1704.5" y="-293.2" font-family="Arial" font-size="11.00">+ terminate() : void</text> | |
| <polygon fill="black" stroke="black" points="1698.5,-447 1698.5,-447 2061.5,-447 2061.5,-447 1698.5,-447"/> | |
| <polygon fill="black" stroke="black" points="1698.5,-339 1698.5,-339 2061.5,-339 2061.5,-339 1698.5,-339"/> | |
| <path fill="none" stroke="black" d="M1710,-284C1710,-284 2049,-284 2049,-284 2055,-284 2061,-290 2061,-296 2061,-296 2061,-458 2061,-458 2061,-464 2055,-470 2049,-470 2049,-470 1710,-470 1710,-470 1704,-470 1698,-464 1698,-458 1698,-458 1698,-296 1698,-296 1698,-290 1704,-284 1710,-284"/> | |
| </g> | |
| <!-- Student->RoomAssignment --> | |
| <g id="edge13" class="edge"> | |
| <title>Student->RoomAssignment</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1335.29,-574C1489.86,-574 1718.25,-574 1718.25,-574 1718.25,-574 1718.25,-484.06 1718.25,-484.06"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1721.75,-484.06 1718.25,-474.06 1714.75,-484.06 1721.75,-484.06"/> | |
| <text text-anchor="middle" x="1715.25" y="-476.86" font-family="Arial" font-size="9.00">1</text> | |
| <text text-anchor="middle" x="1338.29" y="-576.8" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Course --> | |
| <g id="node2" class="node"> | |
| <title>Course</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M178,-586C178,-586 365,-586 365,-586 371,-586 377,-592 377,-598 377,-598 377,-760 377,-760 377,-766 371,-772 365,-772 365,-772 178,-772 178,-772 172,-772 166,-766 166,-760 166,-760 166,-598 166,-598 166,-592 172,-586 178,-586"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="167.5,-749 167.5,-771 376.5,-771 376.5,-749 167.5,-749"/> | |
| <text text-anchor="start" x="252.5" y="-758.2" font-family="Arial" font-weight="bold" font-size="11.00">Course</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-739 167.5,-749 376.5,-749 376.5,-739 167.5,-739"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-717 167.5,-739 376.5,-739 376.5,-717 167.5,-717"/> | |
| <text text-anchor="start" x="172.5" y="-725.2" font-family="Arial" font-size="11.00">- courseId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-695 167.5,-717 376.5,-717 376.5,-695 167.5,-695"/> | |
| <text text-anchor="start" x="172.5" y="-703.2" font-family="Arial" font-size="11.00">+ courseName : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-673 167.5,-695 376.5,-695 376.5,-673 167.5,-673"/> | |
| <text text-anchor="start" x="172.5" y="-681.2" font-family="Arial" font-size="11.00">+ credits : int</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-651 167.5,-673 376.5,-673 376.5,-651 167.5,-651"/> | |
| <text text-anchor="start" x="172.5" y="-659.2" font-family="Arial" font-size="11.00">+ capacity : int</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-641 167.5,-651 376.5,-651 376.5,-641 167.5,-641"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-631 167.5,-641 376.5,-641 376.5,-631 167.5,-631"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-609 167.5,-631 376.5,-631 376.5,-609 167.5,-609"/> | |
| <text text-anchor="start" x="172.5" y="-617.2" font-family="Arial" font-size="11.00">+ Course(courseName: String) : Course</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="167.5,-587 167.5,-609 376.5,-609 376.5,-587 167.5,-587"/> | |
| <text text-anchor="start" x="172.5" y="-595.2" font-family="Arial" font-size="11.00">+ addStudent(studentId: String) : boolean</text> | |
| <polygon fill="black" stroke="black" points="166.5,-749 166.5,-749 377.5,-749 377.5,-749 166.5,-749"/> | |
| <polygon fill="black" stroke="black" points="166.5,-641 166.5,-641 377.5,-641 377.5,-641 166.5,-641"/> | |
| <path fill="none" stroke="black" d="M178,-586C178,-586 365,-586 365,-586 371,-586 377,-592 377,-598 377,-598 377,-760 377,-760 377,-766 371,-772 365,-772 365,-772 178,-772 178,-772 172,-772 166,-766 166,-760 166,-760 166,-598 166,-598 166,-592 172,-586 178,-586"/> | |
| </g> | |
| <!-- Course->Enrollment --> | |
| <g id="edge2" class="edge"> | |
| <title>Course->Enrollment</title> | |
| <path fill="none" stroke="#4a4a4a" d="M330,-581.78C330,-581.78 330,-484.03 330,-484.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="333.5,-484.03 330,-474.03 326.5,-484.03 333.5,-484.03"/> | |
| <text text-anchor="middle" x="328" y="-476.83" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="327" y="-574.58" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Assignment --> | |
| <g id="node5" class="node"> | |
| <title>Assignment</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M20,-284C20,-284 197,-284 197,-284 203,-284 209,-290 209,-296 209,-296 209,-458 209,-458 209,-464 203,-470 197,-470 197,-470 20,-470 20,-470 14,-470 8,-464 8,-458 8,-458 8,-296 8,-296 8,-290 14,-284 20,-284"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="9.5,-447 9.5,-469 208.5,-469 208.5,-447 9.5,-447"/> | |
| <text text-anchor="start" x="77" y="-456.2" font-family="Arial" font-weight="bold" font-size="11.00">Assignment</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-437 9.5,-447 208.5,-447 208.5,-437 9.5,-437"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-415 9.5,-437 208.5,-437 208.5,-415 9.5,-415"/> | |
| <text text-anchor="start" x="14.5" y="-423.2" font-family="Arial" font-size="11.00">- assignmentId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-393 9.5,-415 208.5,-415 208.5,-393 9.5,-393"/> | |
| <text text-anchor="start" x="14.5" y="-401.2" font-family="Arial" font-size="11.00">+ courseId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-371 9.5,-393 208.5,-393 208.5,-371 9.5,-371"/> | |
| <text text-anchor="start" x="14.5" y="-379.2" font-family="Arial" font-size="11.00">+ title : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-349 9.5,-371 208.5,-371 208.5,-349 9.5,-349"/> | |
| <text text-anchor="start" x="14.5" y="-357.2" font-family="Arial" font-size="11.00">+ dueDate : Date</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-339 9.5,-349 208.5,-349 208.5,-339 9.5,-339"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-329 9.5,-339 208.5,-339 208.5,-329 9.5,-329"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-307 9.5,-329 208.5,-329 208.5,-307 9.5,-307"/> | |
| <text text-anchor="start" x="14.5" y="-315.2" font-family="Arial" font-size="11.00">+ Assignment(title: String) : Assignment</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="9.5,-285 9.5,-307 208.5,-307 208.5,-285 9.5,-285"/> | |
| <text text-anchor="start" x="14.5" y="-293.2" font-family="Arial" font-size="11.00">+ submit(studentId: String) : void</text> | |
| <polygon fill="black" stroke="black" points="8.5,-447 8.5,-447 209.5,-447 209.5,-447 8.5,-447"/> | |
| <polygon fill="black" stroke="black" points="8.5,-339 8.5,-339 209.5,-339 209.5,-339 8.5,-339"/> | |
| <path fill="none" stroke="black" d="M20,-284C20,-284 197,-284 197,-284 203,-284 209,-290 209,-296 209,-296 209,-458 209,-458 209,-464 203,-470 197,-470 197,-470 20,-470 20,-470 14,-470 8,-464 8,-458 8,-458 8,-296 8,-296 8,-290 14,-284 20,-284"/> | |
| </g> | |
| <!-- Course->Assignment --> | |
| <g id="edge4" class="edge"> | |
| <title>Course->Assignment</title> | |
| <path fill="none" stroke="#4a4a4a" d="M187.5,-569.78C187.5,-569.78 187.5,-484.03 187.5,-484.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="187.5,-486.03 183.5,-480.03 187.5,-474.03 191.5,-480.03 187.5,-486.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="184,-571.78 187.5,-581.78 191,-571.78 184,-571.78"/> | |
| <text text-anchor="middle" x="185.5" y="-574.58" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="184.5" y="-476.83" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Professor --> | |
| <g id="node4" class="node"> | |
| <title>Professor</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M183.5,-888C183.5,-888 359.5,-888 359.5,-888 365.5,-888 371.5,-894 371.5,-900 371.5,-900 371.5,-1062 371.5,-1062 371.5,-1068 365.5,-1074 359.5,-1074 359.5,-1074 183.5,-1074 183.5,-1074 177.5,-1074 171.5,-1068 171.5,-1062 171.5,-1062 171.5,-900 171.5,-900 171.5,-894 177.5,-888 183.5,-888"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="172.5,-1051 172.5,-1073 370.5,-1073 370.5,-1051 172.5,-1051"/> | |
| <text text-anchor="start" x="245.5" y="-1060.2" font-family="Arial" font-weight="bold" font-size="11.00">Professor</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-1041 172.5,-1051 370.5,-1051 370.5,-1041 172.5,-1041"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-1019 172.5,-1041 370.5,-1041 370.5,-1019 172.5,-1019"/> | |
| <text text-anchor="start" x="177.5" y="-1027.2" font-family="Arial" font-size="11.00">- professorId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-997 172.5,-1019 370.5,-1019 370.5,-997 172.5,-997"/> | |
| <text text-anchor="start" x="177.5" y="-1005.2" font-family="Arial" font-size="11.00">+ name : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-975 172.5,-997 370.5,-997 370.5,-975 172.5,-975"/> | |
| <text text-anchor="start" x="177.5" y="-983.2" font-family="Arial" font-size="11.00">+ department : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-953 172.5,-975 370.5,-975 370.5,-953 172.5,-953"/> | |
| <text text-anchor="start" x="177.5" y="-961.2" font-family="Arial" font-size="11.00">+ office : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-943 172.5,-953 370.5,-953 370.5,-943 172.5,-943"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-933 172.5,-943 370.5,-943 370.5,-933 172.5,-933"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-911 172.5,-933 370.5,-933 370.5,-911 172.5,-911"/> | |
| <text text-anchor="start" x="177.5" y="-919.2" font-family="Arial" font-size="11.00">+ Professor(name: String) : Professor</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="172.5,-889 172.5,-911 370.5,-911 370.5,-889 172.5,-889"/> | |
| <text text-anchor="start" x="177.5" y="-897.2" font-family="Arial" font-size="11.00">+ assignCourse(courseId: String) : void</text> | |
| <polygon fill="black" stroke="black" points="171.5,-1051 171.5,-1051 371.5,-1051 371.5,-1051 171.5,-1051"/> | |
| <polygon fill="black" stroke="black" points="171.5,-943 171.5,-943 371.5,-943 371.5,-943 171.5,-943"/> | |
| <path fill="none" stroke="black" d="M183.5,-888C183.5,-888 359.5,-888 359.5,-888 365.5,-888 371.5,-894 371.5,-900 371.5,-900 371.5,-1062 371.5,-1062 371.5,-1068 365.5,-1074 359.5,-1074 359.5,-1074 183.5,-1074 183.5,-1074 177.5,-1074 171.5,-1068 171.5,-1062 171.5,-1062 171.5,-900 171.5,-900 171.5,-894 177.5,-888 183.5,-888"/> | |
| </g> | |
| <!-- Professor->Course --> | |
| <g id="edge3" class="edge"> | |
| <title>Professor->Course</title> | |
| <path fill="none" stroke="#4a4a4a" d="M271.5,-883.78C271.5,-883.78 271.5,-786.03 271.5,-786.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="275,-786.03 271.5,-776.03 268,-786.03 275,-786.03"/> | |
| <text text-anchor="middle" x="269.5" y="-778.83" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="268.5" y="-876.58" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Assignment->Grade --> | |
| <g id="edge6" class="edge"> | |
| <title>Assignment->Grade</title> | |
| <path fill="none" stroke="#4a4a4a" d="M108.5,-279.9C108.5,-198.68 108.5,-96 108.5,-96 108.5,-96 347.31,-96 347.31,-96"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="347.31,-99.5 357.31,-96 347.31,-92.5 347.31,-99.5"/> | |
| <text text-anchor="middle" x="355.31" y="-98.8" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="105.5" y="-272.7" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Library --> | |
| <g id="node7" class="node"> | |
| <title>Library</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1432.5,-888C1432.5,-888 1580.5,-888 1580.5,-888 1586.5,-888 1592.5,-894 1592.5,-900 1592.5,-900 1592.5,-1062 1592.5,-1062 1592.5,-1068 1586.5,-1074 1580.5,-1074 1580.5,-1074 1432.5,-1074 1432.5,-1074 1426.5,-1074 1420.5,-1068 1420.5,-1062 1420.5,-1062 1420.5,-900 1420.5,-900 1420.5,-894 1426.5,-888 1432.5,-888"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1421.5,-1051 1421.5,-1073 1591.5,-1073 1591.5,-1051 1421.5,-1051"/> | |
| <text text-anchor="start" x="1487.5" y="-1060.2" font-family="Arial" font-weight="bold" font-size="11.00">Library</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-1041 1421.5,-1051 1591.5,-1051 1591.5,-1041 1421.5,-1041"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-1019 1421.5,-1041 1591.5,-1041 1591.5,-1019 1421.5,-1019"/> | |
| <text text-anchor="start" x="1426.5" y="-1027.2" font-family="Arial" font-size="11.00">- libraryId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-997 1421.5,-1019 1591.5,-1019 1591.5,-997 1421.5,-997"/> | |
| <text text-anchor="start" x="1426.5" y="-1005.2" font-family="Arial" font-size="11.00">+ name : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-975 1421.5,-997 1591.5,-997 1591.5,-975 1421.5,-975"/> | |
| <text text-anchor="start" x="1426.5" y="-983.2" font-family="Arial" font-size="11.00">+ location : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-953 1421.5,-975 1591.5,-975 1591.5,-953 1421.5,-953"/> | |
| <text text-anchor="start" x="1426.5" y="-961.2" font-family="Arial" font-size="11.00">+ capacity : int</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-943 1421.5,-953 1591.5,-953 1591.5,-943 1421.5,-943"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-933 1421.5,-943 1591.5,-943 1591.5,-933 1421.5,-933"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-911 1421.5,-933 1591.5,-933 1591.5,-911 1421.5,-911"/> | |
| <text text-anchor="start" x="1426.5" y="-919.2" font-family="Arial" font-size="11.00">+ Library(name: String) : Library</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1421.5,-889 1421.5,-911 1591.5,-911 1591.5,-889 1421.5,-889"/> | |
| <text text-anchor="start" x="1426.5" y="-897.2" font-family="Arial" font-size="11.00">+ searchBook(title: String) : Book</text> | |
| <polygon fill="black" stroke="black" points="1420.5,-1051 1420.5,-1051 1592.5,-1051 1592.5,-1051 1420.5,-1051"/> | |
| <polygon fill="black" stroke="black" points="1420.5,-943 1420.5,-943 1592.5,-943 1592.5,-943 1420.5,-943"/> | |
| <path fill="none" stroke="black" d="M1432.5,-888C1432.5,-888 1580.5,-888 1580.5,-888 1586.5,-888 1592.5,-894 1592.5,-900 1592.5,-900 1592.5,-1062 1592.5,-1062 1592.5,-1068 1586.5,-1074 1580.5,-1074 1580.5,-1074 1432.5,-1074 1432.5,-1074 1426.5,-1074 1420.5,-1068 1420.5,-1062 1420.5,-1062 1420.5,-900 1420.5,-900 1420.5,-894 1426.5,-888 1432.5,-888"/> | |
| </g> | |
| <!-- Book --> | |
| <g id="node8" class="node"> | |
| <title>Book</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1413,-586C1413,-586 1600,-586 1600,-586 1606,-586 1612,-592 1612,-598 1612,-598 1612,-760 1612,-760 1612,-766 1606,-772 1600,-772 1600,-772 1413,-772 1413,-772 1407,-772 1401,-766 1401,-760 1401,-760 1401,-598 1401,-598 1401,-592 1407,-586 1413,-586"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1402.5,-749 1402.5,-771 1611.5,-771 1611.5,-749 1402.5,-749"/> | |
| <text text-anchor="start" x="1493" y="-758.2" font-family="Arial" font-weight="bold" font-size="11.00">Book</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-739 1402.5,-749 1611.5,-749 1611.5,-739 1402.5,-739"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-717 1402.5,-739 1611.5,-739 1611.5,-717 1402.5,-717"/> | |
| <text text-anchor="start" x="1407.5" y="-725.2" font-family="Arial" font-size="11.00">- bookId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-695 1402.5,-717 1611.5,-717 1611.5,-695 1402.5,-695"/> | |
| <text text-anchor="start" x="1407.5" y="-703.2" font-family="Arial" font-size="11.00">+ title : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-673 1402.5,-695 1611.5,-695 1611.5,-673 1402.5,-673"/> | |
| <text text-anchor="start" x="1407.5" y="-681.2" font-family="Arial" font-size="11.00">+ author : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-651 1402.5,-673 1611.5,-673 1611.5,-651 1402.5,-651"/> | |
| <text text-anchor="start" x="1407.5" y="-659.2" font-family="Arial" font-size="11.00">+ isAvailable : boolean</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-641 1402.5,-651 1611.5,-651 1611.5,-641 1402.5,-641"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-631 1402.5,-641 1611.5,-641 1611.5,-631 1402.5,-631"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-609 1402.5,-631 1611.5,-631 1611.5,-609 1402.5,-609"/> | |
| <text text-anchor="start" x="1407.5" y="-617.2" font-family="Arial" font-size="11.00">+ Book(title: String, author: String) : Book</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1402.5,-587 1402.5,-609 1611.5,-609 1611.5,-587 1402.5,-587"/> | |
| <text text-anchor="start" x="1407.5" y="-595.2" font-family="Arial" font-size="11.00">+ borrow(studentId: String) : boolean</text> | |
| <polygon fill="black" stroke="black" points="1401.5,-749 1401.5,-749 1612.5,-749 1612.5,-749 1401.5,-749"/> | |
| <polygon fill="black" stroke="black" points="1401.5,-641 1401.5,-641 1612.5,-641 1612.5,-641 1401.5,-641"/> | |
| <path fill="none" stroke="black" d="M1413,-586C1413,-586 1600,-586 1600,-586 1606,-586 1612,-592 1612,-598 1612,-598 1612,-760 1612,-760 1612,-766 1606,-772 1600,-772 1600,-772 1413,-772 1413,-772 1407,-772 1401,-766 1401,-760 1401,-760 1401,-598 1401,-598 1401,-592 1407,-586 1413,-586"/> | |
| </g> | |
| <!-- Library->Book --> | |
| <g id="edge8" class="edge"> | |
| <title>Library->Book</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1506.5,-871.78C1506.5,-871.78 1506.5,-786.03 1506.5,-786.03"/> | |
| <polygon fill="none" stroke="#4a4a4a" points="1506.5,-788.03 1502.5,-782.03 1506.5,-776.03 1510.5,-782.03 1506.5,-788.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1503,-873.78 1506.5,-883.78 1510,-873.78 1503,-873.78"/> | |
| <text text-anchor="middle" x="1504.5" y="-876.58" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1503.5" y="-778.83" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Book->Loan --> | |
| <g id="edge9" class="edge"> | |
| <title>Book->Loan</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1506.5,-581.78C1506.5,-581.78 1506.5,-484.03 1506.5,-484.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1510,-484.03 1506.5,-474.03 1503,-484.03 1510,-484.03"/> | |
| <text text-anchor="middle" x="1504.5" y="-476.83" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1503.5" y="-574.58" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- Cafeteria --> | |
| <g id="node10" class="node"> | |
| <title>Cafeteria</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M791,-284C791,-284 1002,-284 1002,-284 1008,-284 1014,-290 1014,-296 1014,-296 1014,-458 1014,-458 1014,-464 1008,-470 1002,-470 1002,-470 791,-470 791,-470 785,-470 779,-464 779,-458 779,-458 779,-296 779,-296 779,-290 785,-284 791,-284"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="780.5,-447 780.5,-469 1013.5,-469 1013.5,-447 780.5,-447"/> | |
| <text text-anchor="start" x="873" y="-456.2" font-family="Arial" font-weight="bold" font-size="11.00">Cafeteria</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-437 780.5,-447 1013.5,-447 1013.5,-437 780.5,-437"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-415 780.5,-437 1013.5,-437 1013.5,-415 780.5,-415"/> | |
| <text text-anchor="start" x="785.5" y="-423.2" font-family="Arial" font-size="11.00">- cafeteriaId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-393 780.5,-415 1013.5,-415 1013.5,-393 780.5,-393"/> | |
| <text text-anchor="start" x="785.5" y="-401.2" font-family="Arial" font-size="11.00">+ name : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-371 780.5,-393 1013.5,-393 1013.5,-371 780.5,-371"/> | |
| <text text-anchor="start" x="785.5" y="-379.2" font-family="Arial" font-size="11.00">+ location : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-349 780.5,-371 1013.5,-371 1013.5,-349 780.5,-349"/> | |
| <text text-anchor="start" x="785.5" y="-357.2" font-family="Arial" font-size="11.00">+ openingHours : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-339 780.5,-349 1013.5,-349 1013.5,-339 780.5,-339"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-329 780.5,-339 1013.5,-339 1013.5,-329 780.5,-329"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-307 780.5,-329 1013.5,-329 1013.5,-307 780.5,-307"/> | |
| <text text-anchor="start" x="785.5" y="-315.2" font-family="Arial" font-size="11.00">+ Cafeteria(name: String) : Cafeteria</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="780.5,-285 780.5,-307 1013.5,-307 1013.5,-285 780.5,-285"/> | |
| <text text-anchor="start" x="785.5" y="-293.2" font-family="Arial" font-size="11.00">+ processOrder(studentId: String) : FoodOrder</text> | |
| <polygon fill="black" stroke="black" points="779.5,-447 779.5,-447 1014.5,-447 1014.5,-447 779.5,-447"/> | |
| <polygon fill="black" stroke="black" points="779.5,-339 779.5,-339 1014.5,-339 1014.5,-339 779.5,-339"/> | |
| <path fill="none" stroke="black" d="M791,-284C791,-284 1002,-284 1002,-284 1008,-284 1014,-290 1014,-296 1014,-296 1014,-458 1014,-458 1014,-464 1008,-470 1002,-470 1002,-470 791,-470 791,-470 785,-470 779,-464 779,-458 779,-458 779,-296 779,-296 779,-290 785,-284 791,-284"/> | |
| </g> | |
| <!-- FoodItem --> | |
| <g id="node11" class="node"> | |
| <title>FoodItem</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M930,-4C930,-4 1165,-4 1165,-4 1171,-4 1177,-10 1177,-16 1177,-16 1177,-178 1177,-178 1177,-184 1171,-190 1165,-190 1165,-190 930,-190 930,-190 924,-190 918,-184 918,-178 918,-178 918,-16 918,-16 918,-10 924,-4 930,-4"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="919.5,-167 919.5,-189 1176.5,-189 1176.5,-167 919.5,-167"/> | |
| <text text-anchor="start" x="1023" y="-176.2" font-family="Arial" font-weight="bold" font-size="11.00">FoodItem</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-157 919.5,-167 1176.5,-167 1176.5,-157 919.5,-157"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-135 919.5,-157 1176.5,-157 1176.5,-135 919.5,-135"/> | |
| <text text-anchor="start" x="924.5" y="-143.2" font-family="Arial" font-size="11.00">- itemId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-113 919.5,-135 1176.5,-135 1176.5,-113 919.5,-113"/> | |
| <text text-anchor="start" x="924.5" y="-121.2" font-family="Arial" font-size="11.00">+ name : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-91 919.5,-113 1176.5,-113 1176.5,-91 919.5,-91"/> | |
| <text text-anchor="start" x="924.5" y="-99.2" font-family="Arial" font-size="11.00">+ price : double</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-69 919.5,-91 1176.5,-91 1176.5,-69 919.5,-69"/> | |
| <text text-anchor="start" x="924.5" y="-77.2" font-family="Arial" font-size="11.00">+ category : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-59 919.5,-69 1176.5,-69 1176.5,-59 919.5,-59"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-49 919.5,-59 1176.5,-59 1176.5,-49 919.5,-49"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-27 919.5,-49 1176.5,-49 1176.5,-27 919.5,-27"/> | |
| <text text-anchor="start" x="924.5" y="-35.2" font-family="Arial" font-size="11.00">+ FoodItem(name: String, price: double) : FoodItem</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="919.5,-5 919.5,-27 1176.5,-27 1176.5,-5 919.5,-5"/> | |
| <text text-anchor="start" x="924.5" y="-13.2" font-family="Arial" font-size="11.00">+ updatePrice(newPrice: double) : void</text> | |
| <polygon fill="black" stroke="black" points="918.5,-167 918.5,-167 1177.5,-167 1177.5,-167 918.5,-167"/> | |
| <polygon fill="black" stroke="black" points="918.5,-59 918.5,-59 1177.5,-59 1177.5,-59 918.5,-59"/> | |
| <path fill="none" stroke="black" d="M930,-4C930,-4 1165,-4 1165,-4 1171,-4 1177,-10 1177,-16 1177,-16 1177,-178 1177,-178 1177,-184 1171,-190 1165,-190 1165,-190 930,-190 930,-190 924,-190 918,-184 918,-178 918,-178 918,-16 918,-16 918,-10 924,-4 930,-4"/> | |
| </g> | |
| <!-- Cafeteria->FoodItem --> | |
| <g id="edge11" class="edge"> | |
| <title>Cafeteria->FoodItem</title> | |
| <path fill="none" stroke="#4a4a4a" d="M966,-267.86C966,-267.86 966,-204.45 966,-204.45"/> | |
| <polygon fill="none" stroke="#4a4a4a" points="966,-206.45 962,-200.45 966,-194.45 970,-200.45 966,-206.45"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="962.5,-269.86 966,-279.86 969.5,-269.86 962.5,-269.86"/> | |
| <text text-anchor="middle" x="964" y="-272.66" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="963" y="-197.25" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- FoodOrder->FoodItem --> | |
| <g id="edge12" class="edge"> | |
| <title>FoodOrder->FoodItem</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1132.5,-279.86C1132.5,-279.86 1132.5,-204.45 1132.5,-204.45"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1136,-204.45 1132.5,-194.45 1129,-204.45 1136,-204.45"/> | |
| <text text-anchor="middle" x="1130.5" y="-197.25" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1130.5" y="-272.66" font-family="Arial" font-size="9.00">*</text> | |
| </g> | |
| <!-- Dormitory --> | |
| <g id="node13" class="node"> | |
| <title>Dormitory</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1774.5,-888C1774.5,-888 1984.5,-888 1984.5,-888 1990.5,-888 1996.5,-894 1996.5,-900 1996.5,-900 1996.5,-1062 1996.5,-1062 1996.5,-1068 1990.5,-1074 1984.5,-1074 1984.5,-1074 1774.5,-1074 1774.5,-1074 1768.5,-1074 1762.5,-1068 1762.5,-1062 1762.5,-1062 1762.5,-900 1762.5,-900 1762.5,-894 1768.5,-888 1774.5,-888"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1763.5,-1051 1763.5,-1073 1995.5,-1073 1995.5,-1051 1763.5,-1051"/> | |
| <text text-anchor="start" x="1852.5" y="-1060.2" font-family="Arial" font-weight="bold" font-size="11.00">Dormitory</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-1041 1763.5,-1051 1995.5,-1051 1995.5,-1041 1763.5,-1041"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-1019 1763.5,-1041 1995.5,-1041 1995.5,-1019 1763.5,-1019"/> | |
| <text text-anchor="start" x="1768.5" y="-1027.2" font-family="Arial" font-size="11.00">- dormId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-997 1763.5,-1019 1995.5,-1019 1995.5,-997 1763.5,-997"/> | |
| <text text-anchor="start" x="1768.5" y="-1005.2" font-family="Arial" font-size="11.00">+ buildingName : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-975 1763.5,-997 1995.5,-997 1995.5,-975 1763.5,-975"/> | |
| <text text-anchor="start" x="1768.5" y="-983.2" font-family="Arial" font-size="11.00">+ capacity : int</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-953 1763.5,-975 1995.5,-975 1995.5,-953 1763.5,-953"/> | |
| <text text-anchor="start" x="1768.5" y="-961.2" font-family="Arial" font-size="11.00">+ address : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-943 1763.5,-953 1995.5,-953 1995.5,-943 1763.5,-943"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-933 1763.5,-943 1995.5,-943 1995.5,-933 1763.5,-933"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-911 1763.5,-933 1995.5,-933 1995.5,-911 1763.5,-911"/> | |
| <text text-anchor="start" x="1768.5" y="-919.2" font-family="Arial" font-size="11.00">+ Dormitory(buildingName: String) : Dormitory</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1763.5,-889 1763.5,-911 1995.5,-911 1995.5,-889 1763.5,-889"/> | |
| <text text-anchor="start" x="1768.5" y="-897.2" font-family="Arial" font-size="11.00">+ assignRoom(studentId: String) : boolean</text> | |
| <polygon fill="black" stroke="black" points="1762.5,-1051 1762.5,-1051 1996.5,-1051 1996.5,-1051 1762.5,-1051"/> | |
| <polygon fill="black" stroke="black" points="1762.5,-943 1762.5,-943 1996.5,-943 1996.5,-943 1762.5,-943"/> | |
| <path fill="none" stroke="black" d="M1774.5,-888C1774.5,-888 1984.5,-888 1984.5,-888 1990.5,-888 1996.5,-894 1996.5,-900 1996.5,-900 1996.5,-1062 1996.5,-1062 1996.5,-1068 1990.5,-1074 1984.5,-1074 1984.5,-1074 1774.5,-1074 1774.5,-1074 1768.5,-1074 1762.5,-1068 1762.5,-1062 1762.5,-1062 1762.5,-900 1762.5,-900 1762.5,-894 1768.5,-888 1774.5,-888"/> | |
| </g> | |
| <!-- DormRoom --> | |
| <g id="node14" class="node"> | |
| <title>DormRoom</title> | |
| <path fill="#e8e8e8" stroke="transparent" d="M1766.5,-586C1766.5,-586 1992.5,-586 1992.5,-586 1998.5,-586 2004.5,-592 2004.5,-598 2004.5,-598 2004.5,-760 2004.5,-760 2004.5,-766 1998.5,-772 1992.5,-772 1992.5,-772 1766.5,-772 1766.5,-772 1760.5,-772 1754.5,-766 1754.5,-760 1754.5,-760 1754.5,-598 1754.5,-598 1754.5,-592 1760.5,-586 1766.5,-586"/> | |
| <polygon fill="#bebebe" stroke="transparent" points="1755.5,-749 1755.5,-771 2003.5,-771 2003.5,-749 1755.5,-749"/> | |
| <text text-anchor="start" x="1849" y="-758.2" font-family="Arial" font-weight="bold" font-size="11.00">DormRoom</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-739 1755.5,-749 2003.5,-749 2003.5,-739 1755.5,-739"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-717 1755.5,-739 2003.5,-739 2003.5,-717 1755.5,-717"/> | |
| <text text-anchor="start" x="1760.5" y="-725.2" font-family="Arial" font-size="11.00">- roomId : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-695 1755.5,-717 2003.5,-717 2003.5,-695 1755.5,-695"/> | |
| <text text-anchor="start" x="1760.5" y="-703.2" font-family="Arial" font-size="11.00">+ roomNumber : String</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-673 1755.5,-695 2003.5,-695 2003.5,-673 1755.5,-673"/> | |
| <text text-anchor="start" x="1760.5" y="-681.2" font-family="Arial" font-size="11.00">+ capacity : int</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-651 1755.5,-673 2003.5,-673 2003.5,-651 1755.5,-651"/> | |
| <text text-anchor="start" x="1760.5" y="-659.2" font-family="Arial" font-size="11.00">+ isOccupied : boolean</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-641 1755.5,-651 2003.5,-651 2003.5,-641 1755.5,-641"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-631 1755.5,-641 2003.5,-641 2003.5,-631 1755.5,-631"/> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-609 1755.5,-631 2003.5,-631 2003.5,-609 1755.5,-609"/> | |
| <text text-anchor="start" x="1760.5" y="-617.2" font-family="Arial" font-size="11.00">+ DormRoom(roomNumber: String) : DormRoom</text> | |
| <polygon fill="#e8e8e8" stroke="transparent" points="1755.5,-587 1755.5,-609 2003.5,-609 2003.5,-587 1755.5,-587"/> | |
| <text text-anchor="start" x="1760.5" y="-595.2" font-family="Arial" font-size="11.00">+ checkIn(studentId: String) : void</text> | |
| <polygon fill="black" stroke="black" points="1754.5,-749 1754.5,-749 2004.5,-749 2004.5,-749 1754.5,-749"/> | |
| <polygon fill="black" stroke="black" points="1754.5,-641 1754.5,-641 2004.5,-641 2004.5,-641 1754.5,-641"/> | |
| <path fill="none" stroke="black" d="M1766.5,-586C1766.5,-586 1992.5,-586 1992.5,-586 1998.5,-586 2004.5,-592 2004.5,-598 2004.5,-598 2004.5,-760 2004.5,-760 2004.5,-766 1998.5,-772 1992.5,-772 1992.5,-772 1766.5,-772 1766.5,-772 1760.5,-772 1754.5,-766 1754.5,-760 1754.5,-760 1754.5,-598 1754.5,-598 1754.5,-592 1760.5,-586 1766.5,-586"/> | |
| </g> | |
| <!-- Dormitory->DormRoom --> | |
| <g id="edge14" class="edge"> | |
| <title>Dormitory->DormRoom</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1879.5,-871.78C1879.5,-871.78 1879.5,-786.03 1879.5,-786.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1879.5,-788.03 1875.5,-782.03 1879.5,-776.03 1883.5,-782.03 1879.5,-788.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1876,-873.78 1879.5,-883.78 1883,-873.78 1876,-873.78"/> | |
| <text text-anchor="middle" x="1877.5" y="-876.58" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1876.5" y="-778.83" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| <!-- DormRoom->RoomAssignment --> | |
| <g id="edge15" class="edge"> | |
| <title>DormRoom->RoomAssignment</title> | |
| <path fill="none" stroke="#4a4a4a" d="M1879.5,-581.78C1879.5,-581.78 1879.5,-484.03 1879.5,-484.03"/> | |
| <polygon fill="#4a4a4a" stroke="#4a4a4a" points="1883,-484.03 1879.5,-474.03 1876,-484.03 1883,-484.03"/> | |
| <text text-anchor="middle" x="1877.5" y="-476.83" font-family="Arial" font-size="9.00">*</text> | |
| <text text-anchor="middle" x="1876.5" y="-574.58" font-family="Arial" font-size="9.00">1</text> | |
| </g> | |
| </g> | |
| </svg> | |