dsg.smart
Class ResearcherID

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

public class ResearcherID
extends java.lang.Object
implements UserID

Class to identify people with Smart logins who are not patients or employees. They're generally identified by driver's license (state and ID, where ID will be the driver's licence number).


Nested Class Summary
static class ResearcherID.FormatException
          Problem in the format of a ResearcherID, when converting from a String.
 
Constructor Summary
ResearcherID(java.lang.String state, 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

ResearcherID

public ResearcherID(java.lang.String state,
                    java.lang.String id)
             throws ResearcherID.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