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
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Customerprivate intprivate intprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate booleanprivate booleanprivate String(package private) static org.apache.commons.logging.Logprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate static final longprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCity()intintbooleanbooleangetNotes()getState()voidsetAddress1(String address1) voidsetAddress2(String address2) voidsetBillingAddress1(String billingAddress1) voidsetBillingAddress2(String billingAddress2) voidsetBillingCity(String billingCity) voidsetBillingCountry(String billingCountry) voidsetBillingEmail1(String billingEmail1) voidsetBillingEmail2(String billingEmail2) voidsetBillingExtra1(String billingExtra1) voidsetBillingExtra2(String billingExtra2) voidsetBillingExtra3(String billingExtra3) voidsetBillingExtra4(String billingExtra4) voidsetBillingExtra5(String billingExtra5) voidsetBillingFirstName(String billingFirstName) voidsetBillingLastName(String billingLastName) voidsetBillingNotes(String billingNotes) voidsetBillingOrganization(String billingOrganization) voidsetBillingPhone1(String billingPhone1) voidsetBillingPhone2(String billingPhone2) voidsetBillingPostalCode(String billingPostalCode) voidsetBillingState(String billingState) voidvoidsetCountry(String country) voidsetCreditCardDate(String creditCardDate) voidsetCreditCardName(String creditCardName) voidsetCreditCardNumberDisplay(String creditCardNumberDisplay) voidsetCreditCardType(String creditCardType) voidsetCustomer(Customer customer) voidsetCustomerAddressID(int customerAddressID) voidsetCustomerID(int customerID) voidsetDeliveryAddress1(String deliveryAddress1) voidsetDeliveryAddress2(String deliveryAddress2) voidsetDeliveryCity(String deliveryCity) voidsetDeliveryCountry(String deliveryCountry) voidsetDeliveryEmail1(String deliveryEmail1) voidsetDeliveryEmail2(String deliveryEmail2) voidsetDeliveryExtra1(String deliveryExtra1) voidsetDeliveryExtra2(String deliveryExtra2) voidsetDeliveryExtra3(String deliveryExtra3) voidsetDeliveryExtra4(String deliveryExtra4) voidsetDeliveryExtra5(String deliveryExtra5) voidsetDeliveryFirstName(String deliveryFirstName) voidsetDeliveryLastName(String deliveryLastName) voidsetDeliveryNotes(String deliveryNotes) voidsetDeliveryOrganization(String deliveryOrganization) voidsetDeliveryPhone1(String deliveryPhone1) voidsetDeliveryPhone2(String deliveryPhone2) voidsetDeliveryPostalCode(String deliveryPostalCode) voidsetDeliveryState(String deliveryState) voidvoidvoidvoidvoidvoidvoidvoidsetFirstName(String firstName) voidsetIdentifier(String identifier) voidsetIsBilling(boolean isBilling) voidsetIsDefault(boolean isDefault) voidsetLastName(String lastName) voidvoidsetOrganization(String organization) voidsetPaymentToken(String paymentToken) voidvoidvoidsetPostalCode(String postalCode) voidvoidMethods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getCustomerAddressIDin interfaceCustomerAddress
-
setCustomerAddressID
public void setCustomerAddressID(int customerAddressID) - Specified by:
setCustomerAddressIDin interfaceCustomerAddress
-
getCustomerID
public int getCustomerID()- Specified by:
getCustomerIDin interfaceCustomerAddress
-
setCustomerID
public void setCustomerID(int customerID) - Specified by:
setCustomerIDin interfaceCustomerAddress
-
getStatus
- Specified by:
getStatusin interfaceCustomerAddress
-
setStatus
- Specified by:
setStatusin interfaceCustomerAddress
-
getFirstName
- Specified by:
getFirstNamein interfaceCustomerAddress
-
setFirstName
- Specified by:
setFirstNamein interfaceCustomerAddress
-
getLastName
- Specified by:
getLastNamein interfaceCustomerAddress
-
setLastName
- Specified by:
setLastNamein interfaceCustomerAddress
-
getOrganization
- Specified by:
getOrganizationin interfaceCustomerAddress
-
setOrganization
- Specified by:
setOrganizationin interfaceCustomerAddress
-
getAddress1
- Specified by:
getAddress1in interfaceCustomerAddress
-
setAddress1
- Specified by:
setAddress1in interfaceCustomerAddress
-
getAddress2
- Specified by:
getAddress2in interfaceCustomerAddress
-
setAddress2
- Specified by:
setAddress2in interfaceCustomerAddress
-
getCity
- Specified by:
getCityin interfaceCustomerAddress
-
setCity
- Specified by:
setCityin interfaceCustomerAddress
-
getState
- Specified by:
getStatein interfaceCustomerAddress
-
setState
- Specified by:
setStatein interfaceCustomerAddress
-
getCountry
- Specified by:
getCountryin interfaceCustomerAddress
-
setCountry
- Specified by:
setCountryin interfaceCustomerAddress
-
getPostalCode
- Specified by:
getPostalCodein interfaceCustomerAddress
-
setPostalCode
- Specified by:
setPostalCodein interfaceCustomerAddress
-
getPhone1
- Specified by:
getPhone1in interfaceCustomerAddress
-
setPhone1
- Specified by:
setPhone1in interfaceCustomerAddress
-
getPhone2
- Specified by:
getPhone2in interfaceCustomerAddress
-
setPhone2
- Specified by:
setPhone2in interfaceCustomerAddress
-
getEmail1
- Specified by:
getEmail1in interfaceCustomerAddress
-
setEmail1
- Specified by:
setEmail1in interfaceCustomerAddress
-
getEmail2
- Specified by:
getEmail2in interfaceCustomerAddress
-
setEmail2
- Specified by:
setEmail2in interfaceCustomerAddress
-
getExtra1
- Specified by:
getExtra1in interfaceCustomerAddress
-
setExtra1
- Specified by:
setExtra1in interfaceCustomerAddress
-
getExtra2
- Specified by:
getExtra2in interfaceCustomerAddress
-
setExtra2
- Specified by:
setExtra2in interfaceCustomerAddress
-
getExtra3
- Specified by:
getExtra3in interfaceCustomerAddress
-
setExtra3
- Specified by:
setExtra3in interfaceCustomerAddress
-
getExtra4
- Specified by:
getExtra4in interfaceCustomerAddress
-
setExtra4
- Specified by:
setExtra4in interfaceCustomerAddress
-
getExtra5
- Specified by:
getExtra5in interfaceCustomerAddress
-
setExtra5
- Specified by:
setExtra5in interfaceCustomerAddress
-
getNotes
- Specified by:
getNotesin interfaceCustomerAddress
-
setNotes
- Specified by:
setNotesin interfaceCustomerAddress
-
getDeliveryFirstName
- Specified by:
getDeliveryFirstNamein interfaceCustomerAddress
-
setDeliveryFirstName
- Specified by:
setDeliveryFirstNamein interfaceCustomerAddress
-
getDeliveryLastName
- Specified by:
getDeliveryLastNamein interfaceCustomerAddress
-
setDeliveryLastName
- Specified by:
setDeliveryLastNamein interfaceCustomerAddress
-
getDeliveryOrganization
- Specified by:
getDeliveryOrganizationin interfaceCustomerAddress
-
setDeliveryOrganization
- Specified by:
setDeliveryOrganizationin interfaceCustomerAddress
-
getDeliveryAddress1
- Specified by:
getDeliveryAddress1in interfaceCustomerAddress
-
setDeliveryAddress1
- Specified by:
setDeliveryAddress1in interfaceCustomerAddress
-
getDeliveryAddress2
- Specified by:
getDeliveryAddress2in interfaceCustomerAddress
-
setDeliveryAddress2
- Specified by:
setDeliveryAddress2in interfaceCustomerAddress
-
getDeliveryCity
- Specified by:
getDeliveryCityin interfaceCustomerAddress
-
setDeliveryCity
- Specified by:
setDeliveryCityin interfaceCustomerAddress
-
getDeliveryState
- Specified by:
getDeliveryStatein interfaceCustomerAddress
-
setDeliveryState
- Specified by:
setDeliveryStatein interfaceCustomerAddress
-
getDeliveryCountry
- Specified by:
getDeliveryCountryin interfaceCustomerAddress
-
setDeliveryCountry
- Specified by:
setDeliveryCountryin interfaceCustomerAddress
-
getDeliveryPostalCode
- Specified by:
getDeliveryPostalCodein interfaceCustomerAddress
-
setDeliveryPostalCode
- Specified by:
setDeliveryPostalCodein interfaceCustomerAddress
-
getDeliveryPhone1
- Specified by:
getDeliveryPhone1in interfaceCustomerAddress
-
setDeliveryPhone1
- Specified by:
setDeliveryPhone1in interfaceCustomerAddress
-
getDeliveryPhone2
- Specified by:
getDeliveryPhone2in interfaceCustomerAddress
-
setDeliveryPhone2
- Specified by:
setDeliveryPhone2in interfaceCustomerAddress
-
getDeliveryEmail1
- Specified by:
getDeliveryEmail1in interfaceCustomerAddress
-
setDeliveryEmail1
- Specified by:
setDeliveryEmail1in interfaceCustomerAddress
-
getDeliveryEmail2
- Specified by:
getDeliveryEmail2in interfaceCustomerAddress
-
setDeliveryEmail2
- Specified by:
setDeliveryEmail2in interfaceCustomerAddress
-
getDeliveryExtra1
- Specified by:
getDeliveryExtra1in interfaceCustomerAddress
-
setDeliveryExtra1
- Specified by:
setDeliveryExtra1in interfaceCustomerAddress
-
getDeliveryExtra2
- Specified by:
getDeliveryExtra2in interfaceCustomerAddress
-
setDeliveryExtra2
- Specified by:
setDeliveryExtra2in interfaceCustomerAddress
-
getDeliveryExtra3
- Specified by:
getDeliveryExtra3in interfaceCustomerAddress
-
setDeliveryExtra3
- Specified by:
setDeliveryExtra3in interfaceCustomerAddress
-
getDeliveryExtra4
- Specified by:
getDeliveryExtra4in interfaceCustomerAddress
-
setDeliveryExtra4
- Specified by:
setDeliveryExtra4in interfaceCustomerAddress
-
getDeliveryExtra5
- Specified by:
getDeliveryExtra5in interfaceCustomerAddress
-
setDeliveryExtra5
- Specified by:
setDeliveryExtra5in interfaceCustomerAddress
-
getDeliveryNotes
- Specified by:
getDeliveryNotesin interfaceCustomerAddress
-
setDeliveryNotes
- Specified by:
setDeliveryNotesin interfaceCustomerAddress
-
getCustomer
- Specified by:
getCustomerin interfaceCustomerAddress
-
setCustomer
- Specified by:
setCustomerin interfaceCustomerAddress
-
getIsDefault
public boolean getIsDefault()- Specified by:
getIsDefaultin interfaceCustomerAddress
-
setIsDefault
public void setIsDefault(boolean isDefault) - Specified by:
setIsDefaultin interfaceCustomerAddress
-
getPaymentToken
- Specified by:
getPaymentTokenin interfaceCustomerAddress
-
setPaymentToken
- Specified by:
setPaymentTokenin interfaceCustomerAddress
-
getCreditCardName
- Specified by:
getCreditCardNamein interfaceCustomerAddress
-
setCreditCardName
- Specified by:
setCreditCardNamein interfaceCustomerAddress
-
getCreditCardType
- Specified by:
getCreditCardTypein interfaceCustomerAddress
-
setCreditCardType
- Specified by:
setCreditCardTypein interfaceCustomerAddress
-
getCreditCardDate
- Specified by:
getCreditCardDatein interfaceCustomerAddress
-
setCreditCardDate
- Specified by:
setCreditCardDatein interfaceCustomerAddress
-
getCreditCardNumberDisplay
- Specified by:
getCreditCardNumberDisplayin interfaceCustomerAddress
-
setCreditCardNumberDisplay
- Specified by:
setCreditCardNumberDisplayin interfaceCustomerAddress
-
getIsBilling
public boolean getIsBilling()- Specified by:
getIsBillingin interfaceCustomerAddress
-
setIsBilling
public void setIsBilling(boolean isBilling) - Specified by:
setIsBillingin interfaceCustomerAddress
-
getBillingFirstName
- Specified by:
getBillingFirstNamein interfaceCustomerAddress
-
setBillingFirstName
- Specified by:
setBillingFirstNamein interfaceCustomerAddress
-
getBillingLastName
- Specified by:
getBillingLastNamein interfaceCustomerAddress
-
setBillingLastName
- Specified by:
setBillingLastNamein interfaceCustomerAddress
-
getBillingOrganization
- Specified by:
getBillingOrganizationin interfaceCustomerAddress
-
setBillingOrganization
- Specified by:
setBillingOrganizationin interfaceCustomerAddress
-
getBillingAddress1
- Specified by:
getBillingAddress1in interfaceCustomerAddress
-
setBillingAddress1
- Specified by:
setBillingAddress1in interfaceCustomerAddress
-
getBillingAddress2
- Specified by:
getBillingAddress2in interfaceCustomerAddress
-
setBillingAddress2
- Specified by:
setBillingAddress2in interfaceCustomerAddress
-
getBillingCity
- Specified by:
getBillingCityin interfaceCustomerAddress
-
setBillingCity
- Specified by:
setBillingCityin interfaceCustomerAddress
-
getBillingState
- Specified by:
getBillingStatein interfaceCustomerAddress
-
setBillingState
- Specified by:
setBillingStatein interfaceCustomerAddress
-
getBillingCountry
- Specified by:
getBillingCountryin interfaceCustomerAddress
-
setBillingCountry
- Specified by:
setBillingCountryin interfaceCustomerAddress
-
getBillingPostalCode
- Specified by:
getBillingPostalCodein interfaceCustomerAddress
-
setBillingPostalCode
- Specified by:
setBillingPostalCodein interfaceCustomerAddress
-
getBillingPhone1
- Specified by:
getBillingPhone1in interfaceCustomerAddress
-
setBillingPhone1
- Specified by:
setBillingPhone1in interfaceCustomerAddress
-
getBillingPhone2
- Specified by:
getBillingPhone2in interfaceCustomerAddress
-
setBillingPhone2
- Specified by:
setBillingPhone2in interfaceCustomerAddress
-
getBillingEmail1
- Specified by:
getBillingEmail1in interfaceCustomerAddress
-
setBillingEmail1
- Specified by:
setBillingEmail1in interfaceCustomerAddress
-
getBillingEmail2
- Specified by:
getBillingEmail2in interfaceCustomerAddress
-
setBillingEmail2
- Specified by:
setBillingEmail2in interfaceCustomerAddress
-
getBillingExtra1
- Specified by:
getBillingExtra1in interfaceCustomerAddress
-
setBillingExtra1
- Specified by:
setBillingExtra1in interfaceCustomerAddress
-
getBillingExtra2
- Specified by:
getBillingExtra2in interfaceCustomerAddress
-
setBillingExtra2
- Specified by:
setBillingExtra2in interfaceCustomerAddress
-
getBillingExtra3
- Specified by:
getBillingExtra3in interfaceCustomerAddress
-
setBillingExtra3
- Specified by:
setBillingExtra3in interfaceCustomerAddress
-
getBillingExtra4
- Specified by:
getBillingExtra4in interfaceCustomerAddress
-
setBillingExtra4
- Specified by:
setBillingExtra4in interfaceCustomerAddress
-
getBillingExtra5
- Specified by:
getBillingExtra5in interfaceCustomerAddress
-
setBillingExtra5
- Specified by:
setBillingExtra5in interfaceCustomerAddress
-
getBillingNotes
- Specified by:
getBillingNotesin interfaceCustomerAddress
-
setBillingNotes
- Specified by:
setBillingNotesin interfaceCustomerAddress
-
getIdentifier
- Specified by:
getIdentifierin interfaceCustomerAddress
-
setIdentifier
- Specified by:
setIdentifierin interfaceCustomerAddress
-