Examples of retireDoctor()


Examples of org.jboss.remoting.samples.transporter.complex.Information.retireDoctor()

   }

   public void retireDoctor(Doctor doctor)
   {
      Information info = Information.getInstance();
      info.retireDoctor(doctor);
   }

}
View Full Code Here

Examples of org.jboss.remoting.samples.transporter.complex.ProviderInterface.retireDoctor()

         // assign doctor as patient's doctor
         patient.setDoctor(doctor);
         System.out.println("*** Set doctor as patient's doctor.  Patient info is now:\n" + patient);

         // let's say our doctor made enough money to retire after helping out our patient, Bill.
         providerProcessor.retireDoctor(doctor);

         // let's create a new patient and find a doctor for him
         Patient patient2 = new Patient("Larry", "Page");
         patient2.setAilmentType("financial");
         patient2.setAilmentDescription("Money coming out the wazoo.");
View Full Code Here

Examples of org.jboss.remoting.samples.transporter.complex.ProviderInterface.retireDoctor()

/* 57 */       System.out.println("*** Found doctor for our patient.  Doctor found is:\n" + doctor);
/*    */
/* 60 */       patient.setDoctor(doctor);
/* 61 */       System.out.println("*** Set doctor as patient's doctor.  Patient info is now:\n" + patient);
/*    */
/* 64 */       providerProcessor.retireDoctor(doctor);
/*    */
/* 67 */       Patient patient2 = new Patient("Larry", "Page");
/* 68 */       patient2.setAilmentType("financial");
/* 69 */       patient2.setAilmentDescription("Money coming out the wazoo.");
/*    */
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.