Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i want this solution in java code not the explanation Also there must be an open and save facility /file backup facility for the end

i want this solution in java code not the explanation image text in transcribedimage text in transcribed

Also there must be an open and save facility /file backup facility for the end user. For the save facility, you can only set a button (save) and saves the Hospital Management System records and object to a file. The same can be done to load the Hospital Management System and related objects and records from file. The backup facility should backup the Hospital Management System in a file called Hospital Management System.bak. Additional grade-bonus of 5% will be given, if a name-it option is supported, in which the end user is asked for the name of the backup file. Mainly you are asked to be the end-user of the Hospital Management System who needs a login and a password to login and gain access to the System. One such sample of the screenshot of the room record may look like the following: Note: You should make use of all the OO concepts we have been over (Objects, GUI, Inheritance, Overloading, Polymorphism, upcasting of classes etc.) You need to submit: - The source code and the executable along with a precise documentation explaining the given code and how your code operates. - A clear definition for the source code regarding the Constructor methods and the actions with the associated members/functions. - All source codelines should have comments where needed. (II) Finally for each one of the above programmed operations (I) (and optionally (II)), you should provide a UML diagram explaining the entire program with model-based explanations (where required) for the reverse engineering process. Remarks: You should design/write, create and use a GUI (Graphical User Interface) template. GUI design is also an important part of application programming. As an idea of what is expected for the user friendly interface, are the fig. windows below: the design principles of Object Orientation and the classes provided by the Oracle's Java Core library for the GUIs. The application must have a user-friendly approach and should have conversational characteristics (dialog Boxes, tabbed index as the sample application in the following page) for the end-user's interaction with the system. The system will consist of many clients and one "server" machine (your machine that will reply after your compiled program runs). The requirements are as follows: many rooms have to be processed in this system. The hospital exists regardless of the number of customers, and the relationship between the Hospital and Customers class is one to many. Your system has to be able to record (keep the records in the classes and their instances instances) customers in the system, and process that these customers behave (their statuses/reason of being hospitalized). This can be done i.e.by using a customers (hospitalized person's) ID number as a way of identifying an individual person or any other attribute you find useful and relevant. You can also create for example a PatientList class which will obviously be the collection of patients (persons/customers being hospitalized) and their particular illness/reason for being hospitalized. Tour program should - potentially- be able to perform a way to apply an efficient Hospital Management System following -at least- a fully demonstrated actions with their respective classes for the following: You can set the above classes with your own hierarchical abstractions and design to meet the actions described above (the actions are not limited-this means that you can add your own actions if you consider that it is needed). The classes that should be used are the above and 3 classes of your choice that can describe accurately the above actions in your own scenario. You are strongly recommended to use abstractions to relate the classes with the derived classes in relation to the actions and data imported initially from the programmer. Your program should be designed in an OO way and enable full parameterization of all the required fields according to the classes' declarations and your own designed classes. Page 3/5 Also there must be an open and save facility /file backup facility for the end user. For the save facility, you can only set a button (save) and saves the Hospital Management System records and object to a file. The same can be done to load the Hospital Management System and related objects and records from file. The backup facility should backup the Hospital Management System in a file called Hospital Management System.bak. Additional grade-bonus of 5% will be given, if a name-it option is supported, in which the end user is asked for the name of the backup file. Mainly you are asked to be the end-user of the Hospital Management System who needs a login and a password to login and gain access to the System. One such sample of the screenshot of the room record may look like the following: Note: You should make use of all the OO concepts we have been over (Objects, GUI, Inheritance, Overloading, Polymorphism, upcasting of classes etc.) You need to submit: - The source code and the executable along with a precise documentation explaining the given code and how your code operates. - A clear definition for the source code regarding the Constructor methods and the actions with the associated members/functions. - All source codelines should have comments where needed. (II) Finally for each one of the above programmed operations (I) (and optionally (II)), you should provide a UML diagram explaining the entire program with model-based explanations (where required) for the reverse engineering process. Remarks: You should design/write, create and use a GUI (Graphical User Interface) template. GUI design is also an important part of application programming. As an idea of what is expected for the user friendly interface, are the fig. windows below: the design principles of Object Orientation and the classes provided by the Oracle's Java Core library for the GUIs. The application must have a user-friendly approach and should have conversational characteristics (dialog Boxes, tabbed index as the sample application in the following page) for the end-user's interaction with the system. The system will consist of many clients and one "server" machine (your machine that will reply after your compiled program runs). The requirements are as follows: many rooms have to be processed in this system. The hospital exists regardless of the number of customers, and the relationship between the Hospital and Customers class is one to many. Your system has to be able to record (keep the records in the classes and their instances instances) customers in the system, and process that these customers behave (their statuses/reason of being hospitalized). This can be done i.e.by using a customers (hospitalized person's) ID number as a way of identifying an individual person or any other attribute you find useful and relevant. You can also create for example a PatientList class which will obviously be the collection of patients (persons/customers being hospitalized) and their particular illness/reason for being hospitalized. Tour program should - potentially- be able to perform a way to apply an efficient Hospital Management System following -at least- a fully demonstrated actions with their respective classes for the following: You can set the above classes with your own hierarchical abstractions and design to meet the actions described above (the actions are not limited-this means that you can add your own actions if you consider that it is needed). The classes that should be used are the above and 3 classes of your choice that can describe accurately the above actions in your own scenario. You are strongly recommended to use abstractions to relate the classes with the derived classes in relation to the actions and data imported initially from the programmer. Your program should be designed in an OO way and enable full parameterization of all the required fields according to the classes' declarations and your own designed classes. Page 3/5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

What are some of Samsungs greatest competitive strengths?

Answered: 1 week ago