Email Answering System
Version 1.0

com.ninecode.email.beans.slave.phone
Class Listing

java.lang.Object
  |
  +--com.ninecode.email.beans.slave.phone.Listing

public class Listing
extends Object

A basket for phone listings. Holds a complete phone record. Holds last name, first name, street number, qualifier, street, municipality, province, area code, and phone number. Does not hold apartment number.


Constructor Summary
Listing(String lastname, String firstname, String no, String qualifier, String address, String citytown, String province, String areacode, String exchange, String phone)
          Construct a Listing.
 
Method Summary
 String toString()
          Converts this listing into a representative string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Listing

public Listing(String lastname,
               String firstname,
               String no,
               String qualifier,
               String address,
               String citytown,
               String province,
               String areacode,
               String exchange,
               String phone)
Construct a Listing.

Parameters:
lastname - The last name.
firstname - The first name.
no - The house number.
qualifier - The house number qualifier. A letter or the string "1/2".
address - The street name.
citytown - The municipality.
province - The province, 2 letters.
areacode - The area code, 3 digits.
exchange - The exchange, 3 digits.
phone - The extension, 4 digits.
Method Detail

toString

public String toString()
Converts this listing into a representative string.

Overrides:
toString in class Object
Returns:
A string of the form last,first ##Q street OTTAWA ON (613) ###-####

Email Answering System
Version 1.0

Copyright © 2003 Derrick Oswald. All rights reserved.