dsg.smart
Class PatientID

java.lang.Object
  extended bydsg.smart.PatientID
All Implemented Interfaces:
UserID

public class PatientID
extends java.lang.Object
implements UserID

Class to identify patients in Smart system. Format: ### ## ## # (spaces not stored)


Nested Class Summary
static class PatientID.FormatException
          Indicates a problem with the format of an PatientID when trying to convert from a String.
 
Constructor Summary
PatientID(java.lang.String id)
           
 
Method Summary
 boolean equals(UserID p)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatientID

public PatientID(java.lang.String id)
          throws PatientID.FormatException
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface UserID

equals

public boolean equals(UserID p)
Specified by:
equals in interface UserID