com.softslate.commerce.businessobjects.customer
Class CustomerBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.customer.CustomerBean
- All Implemented Interfaces:
- BusinessObject, Customer, java.io.Serializable
public class CustomerBean
- extends BaseBusinessObject
- implements Customer, java.io.Serializable
Object representing a customer within the system. CustomerBean
is the default implementation of the Customer
interface for
the application.
The database stores customers in the sscCustomer
table, and
this interface can be used to represent a single row of that table. The
Hibernate configuration file CustomerBean.hbm.xml
maps that
table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
Customer
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
log
static org.apache.commons.logging.Log log
customerID
private int customerID
userName
private java.lang.String userName
decryptedPassword
private java.lang.String decryptedPassword
password
private java.lang.String password
created
private java.lang.String created
lastLogin
private java.lang.String lastLogin
formattedCreated
private java.lang.String formattedCreated
formattedLastLogin
private java.lang.String formattedLastLogin
status
private java.lang.String status
firstName
private java.lang.String firstName
lastName
private java.lang.String lastName
organization
private java.lang.String organization
address1
private java.lang.String address1
address2
private java.lang.String address2
city
private java.lang.String city
state
private java.lang.String state
country
private java.lang.String country
postalCode
private java.lang.String postalCode
phone1
private java.lang.String phone1
phone2
private java.lang.String phone2
email1
private java.lang.String email1
email2
private java.lang.String email2
extra1
private java.lang.String extra1
extra2
private java.lang.String extra2
extra3
private java.lang.String extra3
extra4
private java.lang.String extra4
extra5
private java.lang.String extra5
notes
private java.lang.String notes
customerAddressCollection
private java.util.Collection customerAddressCollection
orderHistory
private java.util.Collection orderHistory
CustomerBean
public CustomerBean()
getCustomerID
public int getCustomerID()
- Specified by:
getCustomerID
in interface Customer
setCustomerID
public void setCustomerID(int customerID)
- Specified by:
setCustomerID
in interface Customer
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface Customer
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName
in interface Customer
getDecryptedPassword
public java.lang.String getDecryptedPassword()
- Specified by:
getDecryptedPassword
in interface Customer
setDecryptedPassword
public void setDecryptedPassword(java.lang.String decryptedPassword)
- Specified by:
setDecryptedPassword
in interface Customer
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword
in interface Customer
setPassword
public void setPassword(java.lang.String password)
- Specified by:
setPassword
in interface Customer
getCreated
public java.lang.String getCreated()
- Specified by:
getCreated
in interface Customer
setCreated
public void setCreated(java.lang.String created)
- Specified by:
setCreated
in interface Customer
getLastLogin
public java.lang.String getLastLogin()
- Specified by:
getLastLogin
in interface Customer
setLastLogin
public void setLastLogin(java.lang.String lastLogin)
- Specified by:
setLastLogin
in interface Customer
getFormattedCreated
public java.lang.String getFormattedCreated()
- Specified by:
getFormattedCreated
in interface Customer
setFormattedCreated
public void setFormattedCreated(java.lang.String formattedCreated)
- Specified by:
setFormattedCreated
in interface Customer
getFormattedLastLogin
public java.lang.String getFormattedLastLogin()
- Specified by:
getFormattedLastLogin
in interface Customer
setFormattedLastLogin
public void setFormattedLastLogin(java.lang.String formattedLastLogin)
- Specified by:
setFormattedLastLogin
in interface Customer
getStatus
public java.lang.String getStatus()
- Specified by:
getStatus
in interface Customer
setStatus
public void setStatus(java.lang.String status)
- Specified by:
setStatus
in interface Customer
getFirstName
public java.lang.String getFirstName()
- Specified by:
getFirstName
in interface Customer
setFirstName
public void setFirstName(java.lang.String firstName)
- Specified by:
setFirstName
in interface Customer
getLastName
public java.lang.String getLastName()
- Specified by:
getLastName
in interface Customer
setLastName
public void setLastName(java.lang.String lastName)
- Specified by:
setLastName
in interface Customer
getOrganization
public java.lang.String getOrganization()
- Specified by:
getOrganization
in interface Customer
setOrganization
public void setOrganization(java.lang.String organization)
- Specified by:
setOrganization
in interface Customer
getAddress1
public java.lang.String getAddress1()
- Specified by:
getAddress1
in interface Customer
setAddress1
public void setAddress1(java.lang.String address1)
- Specified by:
setAddress1
in interface Customer
getAddress2
public java.lang.String getAddress2()
- Specified by:
getAddress2
in interface Customer
setAddress2
public void setAddress2(java.lang.String address2)
- Specified by:
setAddress2
in interface Customer
getCity
public java.lang.String getCity()
- Specified by:
getCity
in interface Customer
setCity
public void setCity(java.lang.String city)
- Specified by:
setCity
in interface Customer
getState
public java.lang.String getState()
- Specified by:
getState
in interface Customer
setState
public void setState(java.lang.String state)
- Specified by:
setState
in interface Customer
getCountry
public java.lang.String getCountry()
- Specified by:
getCountry
in interface Customer
setCountry
public void setCountry(java.lang.String country)
- Specified by:
setCountry
in interface Customer
getPostalCode
public java.lang.String getPostalCode()
- Specified by:
getPostalCode
in interface Customer
setPostalCode
public void setPostalCode(java.lang.String postalCode)
- Specified by:
setPostalCode
in interface Customer
getPhone1
public java.lang.String getPhone1()
- Specified by:
getPhone1
in interface Customer
setPhone1
public void setPhone1(java.lang.String phone1)
- Specified by:
setPhone1
in interface Customer
getPhone2
public java.lang.String getPhone2()
- Specified by:
getPhone2
in interface Customer
setPhone2
public void setPhone2(java.lang.String phone2)
- Specified by:
setPhone2
in interface Customer
getEmail1
public java.lang.String getEmail1()
- Specified by:
getEmail1
in interface Customer
setEmail1
public void setEmail1(java.lang.String email1)
- Specified by:
setEmail1
in interface Customer
getEmail2
public java.lang.String getEmail2()
- Specified by:
getEmail2
in interface Customer
setEmail2
public void setEmail2(java.lang.String email2)
- Specified by:
setEmail2
in interface Customer
getExtra1
public java.lang.String getExtra1()
- Specified by:
getExtra1
in interface Customer
setExtra1
public void setExtra1(java.lang.String extra1)
- Specified by:
setExtra1
in interface Customer
getExtra2
public java.lang.String getExtra2()
- Specified by:
getExtra2
in interface Customer
setExtra2
public void setExtra2(java.lang.String extra2)
- Specified by:
setExtra2
in interface Customer
getExtra3
public java.lang.String getExtra3()
- Specified by:
getExtra3
in interface Customer
setExtra3
public void setExtra3(java.lang.String extra3)
- Specified by:
setExtra3
in interface Customer
getExtra4
public java.lang.String getExtra4()
- Specified by:
getExtra4
in interface Customer
setExtra4
public void setExtra4(java.lang.String extra4)
- Specified by:
setExtra4
in interface Customer
getExtra5
public java.lang.String getExtra5()
- Specified by:
getExtra5
in interface Customer
setExtra5
public void setExtra5(java.lang.String extra5)
- Specified by:
setExtra5
in interface Customer
getNotes
public java.lang.String getNotes()
- Specified by:
getNotes
in interface Customer
setNotes
public void setNotes(java.lang.String notes)
- Specified by:
setNotes
in interface Customer
getCustomerAddressCollection
public java.util.Collection getCustomerAddressCollection()
- Specified by:
getCustomerAddressCollection
in interface Customer
setCustomerAddressCollection
public void setCustomerAddressCollection(java.util.Collection customerAddressCollection)
- Specified by:
setCustomerAddressCollection
in interface Customer
getBillingFirstName
public java.lang.String getBillingFirstName()
- Specified by:
getBillingFirstName
in interface Customer
setBillingFirstName
public void setBillingFirstName(java.lang.String billingFirstName)
- Specified by:
setBillingFirstName
in interface Customer
getBillingLastName
public java.lang.String getBillingLastName()
- Specified by:
getBillingLastName
in interface Customer
setBillingLastName
public void setBillingLastName(java.lang.String billingLastName)
- Specified by:
setBillingLastName
in interface Customer
getBillingOrganization
public java.lang.String getBillingOrganization()
- Specified by:
getBillingOrganization
in interface Customer
setBillingOrganization
public void setBillingOrganization(java.lang.String billingOrganization)
- Specified by:
setBillingOrganization
in interface Customer
getBillingAddress1
public java.lang.String getBillingAddress1()
- Specified by:
getBillingAddress1
in interface Customer
setBillingAddress1
public void setBillingAddress1(java.lang.String billingAddress1)
- Specified by:
setBillingAddress1
in interface Customer
getBillingAddress2
public java.lang.String getBillingAddress2()
- Specified by:
getBillingAddress2
in interface Customer
setBillingAddress2
public void setBillingAddress2(java.lang.String billingAddress2)
- Specified by:
setBillingAddress2
in interface Customer
getBillingCity
public java.lang.String getBillingCity()
- Specified by:
getBillingCity
in interface Customer
setBillingCity
public void setBillingCity(java.lang.String billingCity)
- Specified by:
setBillingCity
in interface Customer
getBillingState
public java.lang.String getBillingState()
- Specified by:
getBillingState
in interface Customer
setBillingState
public void setBillingState(java.lang.String billingState)
- Specified by:
setBillingState
in interface Customer
getBillingCountry
public java.lang.String getBillingCountry()
- Specified by:
getBillingCountry
in interface Customer
setBillingCountry
public void setBillingCountry(java.lang.String billingCountry)
- Specified by:
setBillingCountry
in interface Customer
getBillingPostalCode
public java.lang.String getBillingPostalCode()
- Specified by:
getBillingPostalCode
in interface Customer
setBillingPostalCode
public void setBillingPostalCode(java.lang.String billingPostalCode)
- Specified by:
setBillingPostalCode
in interface Customer
getBillingPhone1
public java.lang.String getBillingPhone1()
- Specified by:
getBillingPhone1
in interface Customer
setBillingPhone1
public void setBillingPhone1(java.lang.String billingPhone1)
- Specified by:
setBillingPhone1
in interface Customer
getBillingPhone2
public java.lang.String getBillingPhone2()
- Specified by:
getBillingPhone2
in interface Customer
setBillingPhone2
public void setBillingPhone2(java.lang.String billingPhone2)
- Specified by:
setBillingPhone2
in interface Customer
getBillingEmail1
public java.lang.String getBillingEmail1()
- Specified by:
getBillingEmail1
in interface Customer
setBillingEmail1
public void setBillingEmail1(java.lang.String billingEmail1)
- Specified by:
setBillingEmail1
in interface Customer
getBillingEmail2
public java.lang.String getBillingEmail2()
- Specified by:
getBillingEmail2
in interface Customer
setBillingEmail2
public void setBillingEmail2(java.lang.String billingEmail2)
- Specified by:
setBillingEmail2
in interface Customer
getBillingExtra1
public java.lang.String getBillingExtra1()
- Specified by:
getBillingExtra1
in interface Customer
setBillingExtra1
public void setBillingExtra1(java.lang.String billingExtra1)
- Specified by:
setBillingExtra1
in interface Customer
getBillingExtra2
public java.lang.String getBillingExtra2()
- Specified by:
getBillingExtra2
in interface Customer
setBillingExtra2
public void setBillingExtra2(java.lang.String billingExtra2)
- Specified by:
setBillingExtra2
in interface Customer
getBillingExtra3
public java.lang.String getBillingExtra3()
- Specified by:
getBillingExtra3
in interface Customer
setBillingExtra3
public void setBillingExtra3(java.lang.String billingExtra3)
- Specified by:
setBillingExtra3
in interface Customer
getBillingExtra4
public java.lang.String getBillingExtra4()
- Specified by:
getBillingExtra4
in interface Customer
setBillingExtra4
public void setBillingExtra4(java.lang.String billingExtra4)
- Specified by:
setBillingExtra4
in interface Customer
getBillingExtra5
public java.lang.String getBillingExtra5()
- Specified by:
getBillingExtra5
in interface Customer
setBillingExtra5
public void setBillingExtra5(java.lang.String billingExtra5)
- Specified by:
setBillingExtra5
in interface Customer
getBillingNotes
public java.lang.String getBillingNotes()
- Specified by:
getBillingNotes
in interface Customer
setBillingNotes
public void setBillingNotes(java.lang.String billingNotes)
- Specified by:
setBillingNotes
in interface Customer
getFirstAddress
public CustomerAddress getFirstAddress()
- Specified by:
getFirstAddress
in interface Customer
setOrderHistory
public void setOrderHistory(java.util.Collection orderHistory)
- Specified by:
setOrderHistory
in interface Customer
getOrderHistory
public java.util.Collection getOrderHistory()
- Specified by:
getOrderHistory
in interface Customer
Copyright ? SoftSlate, LLC 2003?2005