Class UWPerson

java.lang.Object
  |
  +--UWPerson

public class UWPerson
extends java.lang.Object

This class can be used to represent a member of the UW community. In this simple implementation, such people have a name and a UWNetID.


Constructor Summary
UWPerson(java.lang.String given, java.lang.String family, java.lang.String net)
          Create a new UWPerson using the name information provided.
 
Method Summary
 java.lang.String toString()
          Provide a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UWPerson

public UWPerson(java.lang.String given,
                java.lang.String family,
                java.lang.String net)
Create a new UWPerson using the name information provided.

Parameters:
given - the specific name of this person
family - the surname or family name of this person
net - the UWNetID of this person
Method Detail

toString

public java.lang.String toString()
Provide a String representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
a String describing this UWPerson object.