dsg.smart
Class EmployeeID

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

public class EmployeeID
extends java.lang.Object
implements UserID

Class to identify BWH employees by their BWH employee ID. Format: %09d


Nested Class Summary
static class EmployeeID.FormatException
          Indicates a problem with the format of an EmployeeID when trying to convert from a String.
 
Constructor Summary
EmployeeID(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

EmployeeID

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