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
-
accountID
-
-
city
-
-
Null
-
-
phone
-
-
state
-
-
street
-
-
zipcode
-
-
AddressBean(Identifier, Street, City, USState, Zipcode, Phone)
- AddressBean constructor comment.
-
getAccountID()
- Insert the method's description here.
-
getCity()
- Get the City
-
getPhone()
- Get the phone number
-
getState()
- Get the state
-
getStreet()
- Get the street address
-
getZipcode()
- Get the zipcode
-
isValid()
- Validation check.
-
load(Connection, Identifier)
-
-
save(Connection)
- Since null addresses are saved during login, no validation
is performed in this method.
-
setAddress(Street, City, USState, Zipcode, Phone)
- Populate with long address.
-
toString()
- Insert the method's description here.
accountID
private Identifier accountID
street
private Street street
city
private City city
state
private USState state
zipcode
private Zipcode zipcode
phone
private Phone phone
Null
public static final AddressBean Null
AddressBean
public AddressBean(Identifier accountID,
Street street,
City city,
USState state,
Zipcode zipcode,
Phone phone)
- AddressBean constructor comment.
getAccountID
public Identifier getAccountID()
- Insert the method's description here.
Creation date: (04/30/00 12:24:49)
- Returns:
- java.lang.String
getCity
public City getCity()
- Get the City
getPhone
public Phone getPhone()
- Get the phone number
getState
public USState getState()
- Get the state
getStreet
public Street getStreet()
- Get the street address
getZipcode
public Zipcode getZipcode()
- Get the zipcode
isValid
public boolean isValid()
- Validation check.
- Overrides:
- isValid in class BeanImpl
load
public static AddressBean load(Connection connection,
Identifier accountID) throws Exception
save
public Identifier save(Connection connection) throws Exception
- Since null addresses are saved during login, no validation
is performed in this method.
setAddress
public void setAddress(Street street,
City city,
USState state,
Zipcode zipcode,
Phone phone)
- Populate with long address.
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