epimetheus
Class ContactBean

java.lang.Object
  |
  +--epimetheus.ContactBean

public class ContactBean
extends java.lang.Object

JavaBean component used by contact.jsp.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2003 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 2
Author:
Alexis Grandemange

Field Summary
(package private)  java.util.TreeMap contacts
          Contacts sorted by name.
 
Constructor Summary
ContactBean()
           
 
Method Summary
 java.lang.String getContacts()
          Return a HTML row per contacts entry
<tr><td>name</td><td>phone#</td><td> fax</td><td>email</td><td>address</td><td> zip</td></tr>
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contacts

java.util.TreeMap contacts
Contacts sorted by name. Key: ContactKey object Value: Contact object

Constructor Detail

ContactBean

public ContactBean()
Method Detail

getContacts

public java.lang.String getContacts()
Return a HTML row per contacts entry
<tr><td>name</td><td>phone#</td><td> fax</td><td>email</td><td>address</td><td> zip</td></tr>

Returns:
set of HTML rows