All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sdi.wap.demo.bean.AddressBean

java.lang.Object
   |
   +----com.sdi.wap.demo.bean.BeanImpl
           |
           +----com.sdi.wap.demo.bean.AddressBean

public class AddressBean
extends BeanImpl
Account or Bank Address


Variable Index

 o accountID
 o city
 o Null
 o phone
 o state
 o street
 o zipcode

Constructor Index

 o AddressBean(Identifier, Street, City, USState, Zipcode, Phone)
AddressBean constructor comment.

Method Index

 o getAccountID()
Insert the method's description here.
 o getCity()
Get the City
 o getPhone()
Get the phone number
 o getState()
Get the state
 o getStreet()
Get the street address
 o getZipcode()
Get the zipcode
 o isValid()
Validation check.
 o load(Connection, Identifier)
 o save(Connection)
Since null addresses are saved during login, no validation is performed in this method.
 o setAddress(Street, City, USState, Zipcode, Phone)
Populate with long address.
 o toString()
Insert the method's description here.

Variables

 o accountID
 private Identifier accountID
 o street
 private Street street
 o city
 private City city
 o state
 private USState state
 o zipcode
 private Zipcode zipcode
 o phone
 private Phone phone
 o Null
 public static final AddressBean Null

Constructors

 o AddressBean
 public AddressBean(Identifier accountID,
                    Street street,
                    City city,
                    USState state,
                    Zipcode zipcode,
                    Phone phone)
AddressBean constructor comment.

Methods

 o getAccountID
 public Identifier getAccountID()
Insert the method's description here. Creation date: (04/30/00 12:24:49)

Returns:
java.lang.String
 o getCity
 public City getCity()
Get the City

 o getPhone
 public Phone getPhone()
Get the phone number

 o getState
 public USState getState()
Get the state

 o getStreet
 public Street getStreet()
Get the street address

 o getZipcode
 public Zipcode getZipcode()
Get the zipcode

 o isValid
 public boolean isValid()
Validation check.

Overrides:
isValid in class BeanImpl
 o load
 public static AddressBean load(Connection connection,
                                Identifier accountID) throws Exception
 o save
 public Identifier save(Connection connection) throws Exception
Since null addresses are saved during login, no validation is performed in this method.

 o setAddress
 public void setAddress(Street street,
                        City city,
                        USState state,
                        Zipcode zipcode,
                        Phone phone)
Populate with long address.

 o toString
 public String toString()
Insert the method's description here.

Returns:
java.lang.String
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index