UML to Java Code Help

silviatodorof's Avatar, Join Date: Dec 2011
Light Poster
Please, anybody can help me in my assignment. I tried it many times, but I couldn't do it.
/*************************************/
Title: Doctor Appointment
  • Show all the hospitals.
  • Choosing a specialization they want to book a doctor appointment.
  • Choosing a doctor from the list of doctors.
  • Show all the reservations for a particular customer.
  • Check availability of dates and time they need the appointment.
  • Fix appointment date and time.

Forms:
  1. Form needs a main menu shows links to other forms.
  2. Form for registration new patient.
  3. Form for reservation.
  4. Form to login already registered patients.
  5. Form to show (all hospitals, all departments/specialization) according to user selction.


· There should be a link from each form to the main menu.

Use the object oriented design paradigm to design and develop a Java program to meet the above requirements.
  • A UML Use Case Diagram for the system.
  • A UML Class Diagram for the system.
  • A UML Sequence & Collaboration Diagrams for the system.
/*************************************/
0
ewaldhorn's Avatar, Join Date: Feb 2010
Go4Expert Member
If you could post your code effort and explain what your problem is, perhaps someone could help you.
0
silviatodorof's Avatar, Join Date: Dec 2011
Light Poster
The attached code is working. I tried to create UML diagrams using NetBeans. Individual components were created but not connected as proper UML diagrams.
Attached Files
File Type: rar Hospital Management System-4.rar (291.5 KB, 14 views)
0
silviatodorof's Avatar, Join Date: Dec 2011
Light Poster
The attached file explains how I tried to create UML diagrams
Attached Files
File Type: pdf Java Code to UML diagrams.pdf (383.9 KB, 15 views)
0
ewaldhorn's Avatar, Join Date: Feb 2010
Go4Expert Member
NetBeans UML reverse engineering has never really worked well, I don't think it's supported in the later versions anymore. Not by default anyway.

I do wonder though, what IS the relationship between your classes? UML shows the inheritence between objects, and most of your classes seem to be pretty independent? They do not extend any other classes?

Your best bet would be to import into into ArgoUML and set up the links yourself if it does not create them by default.