com.ibm.websphere.samples.webservices.addr
Class AddressBookBean

java.lang.Object
  extended by com.ibm.websphere.samples.webservices.addr.AddressBookBean

public class AddressBookBean
extends java.lang.Object


Constructor Summary
AddressBookBean()
          Construct a new AddressBook entry for the top down Java Bean.
 
Method Summary
 Address getAddressFromName(java.lang.String name)
          Retrieve an entry from the AddressBook.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressBookBean

public AddressBookBean()
Construct a new AddressBook entry for the top down Java Bean. It's members are hardcoded to some standard values, except streetNum is 4.

Method Detail

getAddressFromName

public Address getAddressFromName(java.lang.String name)
Retrieve an entry from the AddressBook.

Parameters:
name - the name of the entry to look up.
Returns:
the AddressBook entry matching name or null if none.