Class ContactInformation
java.lang.Object
ContactInformation
public class ContactInformation
- extends java.lang.Object
Contact information (i.e., phone numbers and email addresses)
Method Summary |
java.lang.String |
toString()
Returns a (formatted) String representation of this
ContactInformation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fax
public PhoneNumber fax
phone
public PhoneNumber phone
email
public java.lang.String email
ContactInformation
public ContactInformation()
- Default Constructor
ContactInformation
public ContactInformation(PhoneNumber fax,
PhoneNumber phone,
java.lang.String email)
- Constructor
- Parameters:
fax
- Fax numberphone
- Telephone numberemail
- Electronic mail address
toString
public java.lang.String toString()
- Returns a (formatted) String representation of this
ContactInformation.
- Overrides:
toString
in class java.lang.Object
- Returns:
- The formatted String
James Madison University, Department of Computer Science