org.jboss.remoting.samples.transporter.complex
Class Doctor

java.lang.Object
  extended by org.jboss.remoting.samples.transporter.complex.Doctor

public class Doctor
extends java.lang.Object

Author:
Tom Elrod

Constructor Summary
Doctor(java.lang.String name, java.lang.String specialty)
           
 
Method Summary
 void addPatient(Patient pat1)
           
 java.lang.String getFullName()
           
 java.lang.String getSpecialty()
           
 void setSpecialty(java.lang.String specialty)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Doctor

public Doctor(java.lang.String name,
              java.lang.String specialty)
Method Detail

getSpecialty

public java.lang.String getSpecialty()

setSpecialty

public void setSpecialty(java.lang.String specialty)

getFullName

public java.lang.String getFullName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addPatient

public void addPatient(Patient pat1)


Copyright 1998-2005 JBoss Inc . All Rights Reserved.