Class CustomerAddressBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.customer.CustomerAddressBean
- All Implemented Interfaces:
BusinessObject
,CustomerAddress
,Serializable
public class CustomerAddressBean
extends BaseBusinessObject
implements CustomerAddress, Serializable
Object representing a customer's delivery address within the system.
CustomerAddressBean
is the default implementation of the
CustomerAddress
interface for the application.
The database stores customer addresses in the sscCustomerAddress
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
CustomerAddressBean.hbm.xml
maps that table's columns to the
properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
private String
private String
private String
private Customer
private int
private int
private String
private String
private String
private String
private String
private String
private String
private String
private String
private boolean
private boolean
private String
(package private) static org.apache.commons.logging.Log
private String
private String
private String
private String
private String
private String
private static final long
private String
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCity()
int
int
boolean
boolean
getNotes()
getState()
void
setAddress1
(String address1) void
setAddress2
(String address2) void
setBillingAddress1
(String billingAddress1) void
setBillingAddress2
(String billingAddress2) void
setBillingCity
(String billingCity) void
setBillingCountry
(String billingCountry) void
setBillingEmail1
(String billingEmail1) void
setBillingEmail2
(String billingEmail2) void
setBillingExtra1
(String billingExtra1) void
setBillingExtra2
(String billingExtra2) void
setBillingExtra3
(String billingExtra3) void
setBillingExtra4
(String billingExtra4) void
setBillingExtra5
(String billingExtra5) void
setBillingFirstName
(String billingFirstName) void
setBillingLastName
(String billingLastName) void
setBillingNotes
(String billingNotes) void
setBillingOrganization
(String billingOrganization) void
setBillingPhone1
(String billingPhone1) void
setBillingPhone2
(String billingPhone2) void
setBillingPostalCode
(String billingPostalCode) void
setBillingState
(String billingState) void
void
setCountry
(String country) void
setCreditCardDate
(String creditCardDate) void
setCreditCardName
(String creditCardName) void
setCreditCardNumberDisplay
(String creditCardNumberDisplay) void
setCreditCardType
(String creditCardType) void
setCustomer
(Customer customer) void
setCustomerAddressID
(int customerAddressID) void
setCustomerID
(int customerID) void
setDeliveryAddress1
(String deliveryAddress1) void
setDeliveryAddress2
(String deliveryAddress2) void
setDeliveryCity
(String deliveryCity) void
setDeliveryCountry
(String deliveryCountry) void
setDeliveryEmail1
(String deliveryEmail1) void
setDeliveryEmail2
(String deliveryEmail2) void
setDeliveryExtra1
(String deliveryExtra1) void
setDeliveryExtra2
(String deliveryExtra2) void
setDeliveryExtra3
(String deliveryExtra3) void
setDeliveryExtra4
(String deliveryExtra4) void
setDeliveryExtra5
(String deliveryExtra5) void
setDeliveryFirstName
(String deliveryFirstName) void
setDeliveryLastName
(String deliveryLastName) void
setDeliveryNotes
(String deliveryNotes) void
setDeliveryOrganization
(String deliveryOrganization) void
setDeliveryPhone1
(String deliveryPhone1) void
setDeliveryPhone2
(String deliveryPhone2) void
setDeliveryPostalCode
(String deliveryPostalCode) void
setDeliveryState
(String deliveryState) void
void
void
void
void
void
void
void
setFirstName
(String firstName) void
setIdentifier
(String identifier) void
setIsBilling
(boolean isBilling) void
setIsDefault
(boolean isDefault) void
setLastName
(String lastName) void
void
setOrganization
(String organization) void
setPaymentToken
(String paymentToken) void
void
void
setPostalCode
(String postalCode) void
void
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
customer
-
customerAddressID
private int customerAddressID -
customerID
private int customerID -
status
-
firstName
-
lastName
-
organization
-
address1
-
address2
-
city
-
state
-
country
-
postalCode
-
phone1
-
phone2
-
email1
-
email2
-
extra1
-
extra2
-
extra3
-
extra4
-
extra5
-
notes
-
isDefault
private boolean isDefault -
paymentToken
-
creditCardName
-
creditCardType
-
creditCardDate
-
creditCardNumberDisplay
-
isBilling
private boolean isBilling -
identifier
-
-
Constructor Details
-
CustomerAddressBean
public CustomerAddressBean()
-
-
Method Details
-
getCustomerAddressID
public int getCustomerAddressID()- Specified by:
getCustomerAddressID
in interfaceCustomerAddress
-
setCustomerAddressID
public void setCustomerAddressID(int customerAddressID) - Specified by:
setCustomerAddressID
in interfaceCustomerAddress
-
getCustomerID
public int getCustomerID()- Specified by:
getCustomerID
in interfaceCustomerAddress
-
setCustomerID
public void setCustomerID(int customerID) - Specified by:
setCustomerID
in interfaceCustomerAddress
-
getStatus
- Specified by:
getStatus
in interfaceCustomerAddress
-
setStatus
- Specified by:
setStatus
in interfaceCustomerAddress
-
getFirstName
- Specified by:
getFirstName
in interfaceCustomerAddress
-
setFirstName
- Specified by:
setFirstName
in interfaceCustomerAddress
-
getLastName
- Specified by:
getLastName
in interfaceCustomerAddress
-
setLastName
- Specified by:
setLastName
in interfaceCustomerAddress
-
getOrganization
- Specified by:
getOrganization
in interfaceCustomerAddress
-
setOrganization
- Specified by:
setOrganization
in interfaceCustomerAddress
-
getAddress1
- Specified by:
getAddress1
in interfaceCustomerAddress
-
setAddress1
- Specified by:
setAddress1
in interfaceCustomerAddress
-
getAddress2
- Specified by:
getAddress2
in interfaceCustomerAddress
-
setAddress2
- Specified by:
setAddress2
in interfaceCustomerAddress
-
getCity
- Specified by:
getCity
in interfaceCustomerAddress
-
setCity
- Specified by:
setCity
in interfaceCustomerAddress
-
getState
- Specified by:
getState
in interfaceCustomerAddress
-
setState
- Specified by:
setState
in interfaceCustomerAddress
-
getCountry
- Specified by:
getCountry
in interfaceCustomerAddress
-
setCountry
- Specified by:
setCountry
in interfaceCustomerAddress
-
getPostalCode
- Specified by:
getPostalCode
in interfaceCustomerAddress
-
setPostalCode
- Specified by:
setPostalCode
in interfaceCustomerAddress
-
getPhone1
- Specified by:
getPhone1
in interfaceCustomerAddress
-
setPhone1
- Specified by:
setPhone1
in interfaceCustomerAddress
-
getPhone2
- Specified by:
getPhone2
in interfaceCustomerAddress
-
setPhone2
- Specified by:
setPhone2
in interfaceCustomerAddress
-
getEmail1
- Specified by:
getEmail1
in interfaceCustomerAddress
-
setEmail1
- Specified by:
setEmail1
in interfaceCustomerAddress
-
getEmail2
- Specified by:
getEmail2
in interfaceCustomerAddress
-
setEmail2
- Specified by:
setEmail2
in interfaceCustomerAddress
-
getExtra1
- Specified by:
getExtra1
in interfaceCustomerAddress
-
setExtra1
- Specified by:
setExtra1
in interfaceCustomerAddress
-
getExtra2
- Specified by:
getExtra2
in interfaceCustomerAddress
-
setExtra2
- Specified by:
setExtra2
in interfaceCustomerAddress
-
getExtra3
- Specified by:
getExtra3
in interfaceCustomerAddress
-
setExtra3
- Specified by:
setExtra3
in interfaceCustomerAddress
-
getExtra4
- Specified by:
getExtra4
in interfaceCustomerAddress
-
setExtra4
- Specified by:
setExtra4
in interfaceCustomerAddress
-
getExtra5
- Specified by:
getExtra5
in interfaceCustomerAddress
-
setExtra5
- Specified by:
setExtra5
in interfaceCustomerAddress
-
getNotes
- Specified by:
getNotes
in interfaceCustomerAddress
-
setNotes
- Specified by:
setNotes
in interfaceCustomerAddress
-
getDeliveryFirstName
- Specified by:
getDeliveryFirstName
in interfaceCustomerAddress
-
setDeliveryFirstName
- Specified by:
setDeliveryFirstName
in interfaceCustomerAddress
-
getDeliveryLastName
- Specified by:
getDeliveryLastName
in interfaceCustomerAddress
-
setDeliveryLastName
- Specified by:
setDeliveryLastName
in interfaceCustomerAddress
-
getDeliveryOrganization
- Specified by:
getDeliveryOrganization
in interfaceCustomerAddress
-
setDeliveryOrganization
- Specified by:
setDeliveryOrganization
in interfaceCustomerAddress
-
getDeliveryAddress1
- Specified by:
getDeliveryAddress1
in interfaceCustomerAddress
-
setDeliveryAddress1
- Specified by:
setDeliveryAddress1
in interfaceCustomerAddress
-
getDeliveryAddress2
- Specified by:
getDeliveryAddress2
in interfaceCustomerAddress
-
setDeliveryAddress2
- Specified by:
setDeliveryAddress2
in interfaceCustomerAddress
-
getDeliveryCity
- Specified by:
getDeliveryCity
in interfaceCustomerAddress
-
setDeliveryCity
- Specified by:
setDeliveryCity
in interfaceCustomerAddress
-
getDeliveryState
- Specified by:
getDeliveryState
in interfaceCustomerAddress
-
setDeliveryState
- Specified by:
setDeliveryState
in interfaceCustomerAddress
-
getDeliveryCountry
- Specified by:
getDeliveryCountry
in interfaceCustomerAddress
-
setDeliveryCountry
- Specified by:
setDeliveryCountry
in interfaceCustomerAddress
-
getDeliveryPostalCode
- Specified by:
getDeliveryPostalCode
in interfaceCustomerAddress
-
setDeliveryPostalCode
- Specified by:
setDeliveryPostalCode
in interfaceCustomerAddress
-
getDeliveryPhone1
- Specified by:
getDeliveryPhone1
in interfaceCustomerAddress
-
setDeliveryPhone1
- Specified by:
setDeliveryPhone1
in interfaceCustomerAddress
-
getDeliveryPhone2
- Specified by:
getDeliveryPhone2
in interfaceCustomerAddress
-
setDeliveryPhone2
- Specified by:
setDeliveryPhone2
in interfaceCustomerAddress
-
getDeliveryEmail1
- Specified by:
getDeliveryEmail1
in interfaceCustomerAddress
-
setDeliveryEmail1
- Specified by:
setDeliveryEmail1
in interfaceCustomerAddress
-
getDeliveryEmail2
- Specified by:
getDeliveryEmail2
in interfaceCustomerAddress
-
setDeliveryEmail2
- Specified by:
setDeliveryEmail2
in interfaceCustomerAddress
-
getDeliveryExtra1
- Specified by:
getDeliveryExtra1
in interfaceCustomerAddress
-
setDeliveryExtra1
- Specified by:
setDeliveryExtra1
in interfaceCustomerAddress
-
getDeliveryExtra2
- Specified by:
getDeliveryExtra2
in interfaceCustomerAddress
-
setDeliveryExtra2
- Specified by:
setDeliveryExtra2
in interfaceCustomerAddress
-
getDeliveryExtra3
- Specified by:
getDeliveryExtra3
in interfaceCustomerAddress
-
setDeliveryExtra3
- Specified by:
setDeliveryExtra3
in interfaceCustomerAddress
-
getDeliveryExtra4
- Specified by:
getDeliveryExtra4
in interfaceCustomerAddress
-
setDeliveryExtra4
- Specified by:
setDeliveryExtra4
in interfaceCustomerAddress
-
getDeliveryExtra5
- Specified by:
getDeliveryExtra5
in interfaceCustomerAddress
-
setDeliveryExtra5
- Specified by:
setDeliveryExtra5
in interfaceCustomerAddress
-
getDeliveryNotes
- Specified by:
getDeliveryNotes
in interfaceCustomerAddress
-
setDeliveryNotes
- Specified by:
setDeliveryNotes
in interfaceCustomerAddress
-
getCustomer
- Specified by:
getCustomer
in interfaceCustomerAddress
-
setCustomer
- Specified by:
setCustomer
in interfaceCustomerAddress
-
getIsDefault
public boolean getIsDefault()- Specified by:
getIsDefault
in interfaceCustomerAddress
-
setIsDefault
public void setIsDefault(boolean isDefault) - Specified by:
setIsDefault
in interfaceCustomerAddress
-
getPaymentToken
- Specified by:
getPaymentToken
in interfaceCustomerAddress
-
setPaymentToken
- Specified by:
setPaymentToken
in interfaceCustomerAddress
-
getCreditCardName
- Specified by:
getCreditCardName
in interfaceCustomerAddress
-
setCreditCardName
- Specified by:
setCreditCardName
in interfaceCustomerAddress
-
getCreditCardType
- Specified by:
getCreditCardType
in interfaceCustomerAddress
-
setCreditCardType
- Specified by:
setCreditCardType
in interfaceCustomerAddress
-
getCreditCardDate
- Specified by:
getCreditCardDate
in interfaceCustomerAddress
-
setCreditCardDate
- Specified by:
setCreditCardDate
in interfaceCustomerAddress
-
getCreditCardNumberDisplay
- Specified by:
getCreditCardNumberDisplay
in interfaceCustomerAddress
-
setCreditCardNumberDisplay
- Specified by:
setCreditCardNumberDisplay
in interfaceCustomerAddress
-
getIsBilling
public boolean getIsBilling()- Specified by:
getIsBilling
in interfaceCustomerAddress
-
setIsBilling
public void setIsBilling(boolean isBilling) - Specified by:
setIsBilling
in interfaceCustomerAddress
-
getBillingFirstName
- Specified by:
getBillingFirstName
in interfaceCustomerAddress
-
setBillingFirstName
- Specified by:
setBillingFirstName
in interfaceCustomerAddress
-
getBillingLastName
- Specified by:
getBillingLastName
in interfaceCustomerAddress
-
setBillingLastName
- Specified by:
setBillingLastName
in interfaceCustomerAddress
-
getBillingOrganization
- Specified by:
getBillingOrganization
in interfaceCustomerAddress
-
setBillingOrganization
- Specified by:
setBillingOrganization
in interfaceCustomerAddress
-
getBillingAddress1
- Specified by:
getBillingAddress1
in interfaceCustomerAddress
-
setBillingAddress1
- Specified by:
setBillingAddress1
in interfaceCustomerAddress
-
getBillingAddress2
- Specified by:
getBillingAddress2
in interfaceCustomerAddress
-
setBillingAddress2
- Specified by:
setBillingAddress2
in interfaceCustomerAddress
-
getBillingCity
- Specified by:
getBillingCity
in interfaceCustomerAddress
-
setBillingCity
- Specified by:
setBillingCity
in interfaceCustomerAddress
-
getBillingState
- Specified by:
getBillingState
in interfaceCustomerAddress
-
setBillingState
- Specified by:
setBillingState
in interfaceCustomerAddress
-
getBillingCountry
- Specified by:
getBillingCountry
in interfaceCustomerAddress
-
setBillingCountry
- Specified by:
setBillingCountry
in interfaceCustomerAddress
-
getBillingPostalCode
- Specified by:
getBillingPostalCode
in interfaceCustomerAddress
-
setBillingPostalCode
- Specified by:
setBillingPostalCode
in interfaceCustomerAddress
-
getBillingPhone1
- Specified by:
getBillingPhone1
in interfaceCustomerAddress
-
setBillingPhone1
- Specified by:
setBillingPhone1
in interfaceCustomerAddress
-
getBillingPhone2
- Specified by:
getBillingPhone2
in interfaceCustomerAddress
-
setBillingPhone2
- Specified by:
setBillingPhone2
in interfaceCustomerAddress
-
getBillingEmail1
- Specified by:
getBillingEmail1
in interfaceCustomerAddress
-
setBillingEmail1
- Specified by:
setBillingEmail1
in interfaceCustomerAddress
-
getBillingEmail2
- Specified by:
getBillingEmail2
in interfaceCustomerAddress
-
setBillingEmail2
- Specified by:
setBillingEmail2
in interfaceCustomerAddress
-
getBillingExtra1
- Specified by:
getBillingExtra1
in interfaceCustomerAddress
-
setBillingExtra1
- Specified by:
setBillingExtra1
in interfaceCustomerAddress
-
getBillingExtra2
- Specified by:
getBillingExtra2
in interfaceCustomerAddress
-
setBillingExtra2
- Specified by:
setBillingExtra2
in interfaceCustomerAddress
-
getBillingExtra3
- Specified by:
getBillingExtra3
in interfaceCustomerAddress
-
setBillingExtra3
- Specified by:
setBillingExtra3
in interfaceCustomerAddress
-
getBillingExtra4
- Specified by:
getBillingExtra4
in interfaceCustomerAddress
-
setBillingExtra4
- Specified by:
setBillingExtra4
in interfaceCustomerAddress
-
getBillingExtra5
- Specified by:
getBillingExtra5
in interfaceCustomerAddress
-
setBillingExtra5
- Specified by:
setBillingExtra5
in interfaceCustomerAddress
-
getBillingNotes
- Specified by:
getBillingNotes
in interfaceCustomerAddress
-
setBillingNotes
- Specified by:
setBillingNotes
in interfaceCustomerAddress
-
getIdentifier
- Specified by:
getIdentifier
in interfaceCustomerAddress
-
setIdentifier
- Specified by:
setIdentifier
in interfaceCustomerAddress
-