cnrg.itx.ds
Class UserID

java.lang.Object
  |
  +--cnrg.itx.ds.UserID

public class UserID
extends java.lang.Object
implements java.io.Serializable

This class provides an abstraction to identify a user uniquely

See Also:
Serialized Form

Field Summary
private  java.lang.String id
           
private  boolean isExtension
           
 
Constructor Summary
UserID(java.lang.String str)
          Constructor for string E.g.
 
Method Summary
 java.lang.String toString()
          Convert to string
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

id

private java.lang.String id

isExtension

private boolean isExtension
Constructor Detail

UserID

public UserID(java.lang.String str)
Constructor for string E.g. "cwn1@cornell.edu"; "gatewaysrv"
Parameters:
str - UserID in string format
Method Detail

toString

public java.lang.String toString()
Convert to string
Returns:
a string representation of userID
Overrides:
toString in class java.lang.Object