- Construct A Package Diagram To Illustrate The Package Organization For The Scenario Below As Depicted In Figure 2 Stude 1 (58.06 KiB) Viewed 10 times
Construct a Package Diagram to illustrate the package organization for the scenario below as depicted in Figure 2. Stude
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Construct a Package Diagram to illustrate the package organization for the scenario below as depicted in Figure 2. Stude
Construct a Package Diagram to illustrate the package organization for the scenario below as depicted in Figure 2. Student object is acting as a model. StudentView will be a view class which can print student details on console and StudentController is the controller class responsible to store data in Student object and update view StudentView accordingly. In the following MVCPatternDemo, the demo class, uses the StudentController to demonstrate the use of MVC pattern. ** You can include any extra features and make your own assumption to improve the diagram. StudentView +printStudent Details ():void updates StudentController - model: Student -view: StudentView +StudentController() +setStudentName():void +getStudentName(): String. +setStudentRollNo() : void +getStudentRollNo() : String +updateView(): void uses Student -rollNo String -name: String +getName() : String +setName(): void +getRollNo() :String +setRollNo(): void uses Figure 2: MVC Diagram MVCPatternDemo +main(): void +retriveStudentFromDa tabase(): Student