edu.mssm.crover.ims.users
Class UserDriver

java.lang.Object
  |
  +--edu.mssm.crover.ims.IMSObject
        |
        +--edu.mssm.crover.ims.users.UserDriver

public class UserDriver
extends IMSObject

The UserDriver class exercises the UserManager code. It implements a simple UI that is driven by terminal I/O.


Field Summary
protected static java.lang.String firstname
           
protected  java.lang.String newFirstname
           
protected  java.lang.String newPassword
           
protected  java.lang.String newUsername
           
protected static java.lang.String password
           
protected static java.lang.String username
           
 
Constructor Summary
UserDriver()
           
 
Method Summary
 void createUser(java.lang.String[] args)
           
protected  void finalize()
           
static java.lang.String getOption(java.lang.String[] args, java.lang.String a_optionKeyword, java.lang.String a_defaultValue)
          Extracts an option parameter from the command line arguments.
 void initUserData(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class edu.mssm.crover.ims.IMSObject
debug, debug, error
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

username

protected static java.lang.String username

password

protected static java.lang.String password

firstname

protected static java.lang.String firstname

newUsername

protected java.lang.String newUsername

newPassword

protected java.lang.String newPassword

newFirstname

protected java.lang.String newFirstname
Constructor Detail

UserDriver

public UserDriver()
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
java.lang.Throwable

getOption

public static java.lang.String getOption(java.lang.String[] args,
                                         java.lang.String a_optionKeyword,
                                         java.lang.String a_defaultValue)
Extracts an option parameter from the command line arguments. For boolean attributes, see isKeywordGiven.


initUserData

public void initUserData(java.lang.String[] args)

createUser

public void createUser(java.lang.String[] args)

main

public static void main(java.lang.String[] args)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.