|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.Customer
public class Customer
Customer
| Constructor Summary | |
|---|---|
Customer()
Constructor |
|
Customer(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Customer object from a Record object |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getAccountCreated()
When the account was created. |
java.util.Calendar |
getAccountLastModified()
|
AddressIf[] |
getAddresses()
An array containing all of the addresses defined for this customer. |
BasketIf[] |
getBasketItems()
An array of basket items for this customer. |
java.util.Calendar |
getBirthDate()
|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
CustomerGroupIf |
getCustomerGroup()
The Customer Group to which the customer belongs. |
AddressIf |
getDefaultAddr()
|
int |
getDefaultAddrId()
Identifies the default address for this customer. |
java.lang.String |
getEmailAddr()
|
java.lang.String |
getFaxNumber()
|
java.lang.String |
getFirstName()
|
java.lang.String |
getGender()
Normally set to "m" or "f" . |
int |
getGlobalProdNotifier()
If set to 1, the customer is notified of all product updates. |
int |
getGroupId()
If negative, the customer belongs to no groups. |
int |
getId()
|
byte |
getInvisible()
|
java.util.Calendar |
getLastLogon()
|
java.lang.String |
getLastName()
|
java.lang.String |
getLocale()
Locale of the customer |
java.lang.String |
getNewsletter()
Set to "1" if the customer should receive the newsletter or "0" if he shouldn't. |
int |
getNumberOfLogons()
The number of times that the customer has logged in to the application. |
OrderIf[] |
getOrders()
An array of orders for this customer. |
java.lang.String |
getPassword()
|
ProductIf[] |
getProductNotifications()
An array of products for which the customer wants notifications. |
java.lang.String |
getTelephoneNumber()
|
java.lang.String |
getTelephoneNumber1()
|
int |
getType()
Type of customer. |
WishListIf[] |
getWishLists()
An array of Wish Lists belonging to the customer |
void |
setAccountCreated(java.util.Calendar accountCreated)
When the account was created. |
void |
setAccountLastModified(java.util.Calendar accountLastModified)
|
void |
setAddresses(AddressIf[] addresses)
An array containing all of the addresses defined for this customer. |
void |
setBasketItems(BasketIf[] basketItems)
An array of basket items for this customer. |
void |
setBirthDate(java.util.Calendar birthDate)
|
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setCustom4(java.lang.String custom4)
|
void |
setCustom5(java.lang.String custom5)
|
void |
setCustomerGroup(CustomerGroupIf customerGroup)
The Customer Group to which the customer belongs. |
void |
setDefaultAddr(AddressIf defaultAddr)
|
void |
setDefaultAddrId(int defaultAddrId)
Identifies the default address for this customer. |
void |
setEmailAddr(java.lang.String emailAddr)
|
void |
setFaxNumber(java.lang.String faxNumber)
|
void |
setFirstName(java.lang.String firstName)
|
void |
setGender(java.lang.String gender)
Normally set to "m" or "f" . |
void |
setGlobalProdNotifier(int globalProdNotifier)
If set to 1, the customer is notified of all product updates. |
void |
setGroupId(int groupId)
If negative, the customer belongs to no groups. |
void |
setId(int id)
|
void |
setInvisible(byte invisible)
|
void |
setLastLogon(java.util.Calendar lastLogon)
|
void |
setLastName(java.lang.String lastName)
|
void |
setLocale(java.lang.String locale)
Locale of the customer |
void |
setNewsletter(java.lang.String newsletter)
Set to "1" if the customer should receive the newsletter or "0" if he shouldn't. |
void |
setNumberOfLogons(int numberOfLogons)
The number of times that the customer has logged in to the application. |
void |
setOrders(OrderIf[] orders)
An array of orders for this customer. |
void |
setPassword(java.lang.String password)
|
void |
setProductNotifications(ProductIf[] productNotifications)
An array of products for which the customer wants notifications. |
void |
setTelephoneNumber(java.lang.String telephoneNumber)
|
void |
setTelephoneNumber1(java.lang.String telephoneNumber1)
|
void |
setType(int type)
Type of customer. |
void |
setWishLists(WishListIf[] wishLists)
An array of Wish Lists belonging to the customer |
java.lang.String |
toString()
|
java.lang.String |
toStringBrief()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Customer()
public Customer(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column names
com.workingdogs.village.DataSetException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public AddressIf getDefaultAddr()
getDefaultAddr in interface CustomerIfpublic void setDefaultAddr(AddressIf defaultAddr)
setDefaultAddr in interface CustomerIfdefaultAddr - The defaultAddr to set.public java.lang.String getEmailAddr()
getEmailAddr in interface CustomerIfpublic void setEmailAddr(java.lang.String emailAddr)
setEmailAddr in interface CustomerIfemailAddr - The emailAddr to set.public java.lang.String getFaxNumber()
getFaxNumber in interface CustomerIfpublic void setFaxNumber(java.lang.String faxNumber)
setFaxNumber in interface CustomerIffaxNumber - The faxNumber to set.public java.lang.String getFirstName()
getFirstName in interface CustomerIfpublic void setFirstName(java.lang.String firstName)
setFirstName in interface CustomerIffirstName - The firstName to set.public java.lang.String getGender()
CustomerIf
getGender in interface CustomerIfpublic void setGender(java.lang.String gender)
CustomerIf
setGender in interface CustomerIfgender - The gender to set.public int getId()
getId in interface CustomerIfpublic void setId(int id)
setId in interface CustomerIfid - The id to set.public java.lang.String getLastName()
getLastName in interface CustomerIfpublic void setLastName(java.lang.String lastName)
setLastName in interface CustomerIflastName - The lastName to set.public java.lang.String getNewsletter()
CustomerIf
getNewsletter in interface CustomerIfpublic void setNewsletter(java.lang.String newsletter)
CustomerIf
setNewsletter in interface CustomerIfnewsletter - The newsletter to set.public int getNumberOfLogons()
CustomerIf
getNumberOfLogons in interface CustomerIfpublic void setNumberOfLogons(int numberOfLogons)
CustomerIf
setNumberOfLogons in interface CustomerIfnumberOfLogons - The numberOfLogons to set.public java.lang.String getPassword()
getPassword in interface CustomerIfpublic void setPassword(java.lang.String password)
setPassword in interface CustomerIfpassword - The password to set.public java.lang.String getTelephoneNumber()
getTelephoneNumber in interface CustomerIfpublic void setTelephoneNumber(java.lang.String telephoneNumber)
setTelephoneNumber in interface CustomerIftelephoneNumber - The telephoneNumber to set.public java.util.Calendar getAccountCreated()
CustomerIf
getAccountCreated in interface CustomerIfpublic void setAccountCreated(java.util.Calendar accountCreated)
CustomerIf
setAccountCreated in interface CustomerIfaccountCreated - The accountCreated to set.public java.util.Calendar getAccountLastModified()
getAccountLastModified in interface CustomerIfpublic void setAccountLastModified(java.util.Calendar accountLastModified)
setAccountLastModified in interface CustomerIfaccountLastModified - The accountLastModified to set.public java.util.Calendar getBirthDate()
getBirthDate in interface CustomerIfpublic void setBirthDate(java.util.Calendar birthDate)
setBirthDate in interface CustomerIfbirthDate - The birthDate to set.public java.util.Calendar getLastLogon()
getLastLogon in interface CustomerIfpublic void setLastLogon(java.util.Calendar lastLogon)
setLastLogon in interface CustomerIflastLogon - The lastLogon to set.public BasketIf[] getBasketItems()
CustomerIf
getBasketItems in interface CustomerIfpublic void setBasketItems(BasketIf[] basketItems)
CustomerIf
setBasketItems in interface CustomerIfbasketItems - The basketItems to set.public int getDefaultAddrId()
CustomerIf
getDefaultAddrId in interface CustomerIfpublic void setDefaultAddrId(int defaultAddrId)
CustomerIf
setDefaultAddrId in interface CustomerIfdefaultAddrId - The defaultAddrId to set.public AddressIf[] getAddresses()
CustomerIf
getAddresses in interface CustomerIfpublic void setAddresses(AddressIf[] addresses)
CustomerIf
setAddresses in interface CustomerIfaddresses - The addresses to set.public int getGlobalProdNotifier()
CustomerIf
getGlobalProdNotifier in interface CustomerIfpublic void setGlobalProdNotifier(int globalProdNotifier)
CustomerIf
setGlobalProdNotifier in interface CustomerIfglobalProdNotifier - The globalProdNotifier to set.public ProductIf[] getProductNotifications()
CustomerIf
getProductNotifications in interface CustomerIfpublic void setProductNotifications(ProductIf[] productNotifications)
CustomerIf
setProductNotifications in interface CustomerIfproductNotifications - The productNotifications to set.public OrderIf[] getOrders()
CustomerIf
getOrders in interface CustomerIfpublic void setOrders(OrderIf[] orders)
CustomerIf
setOrders in interface CustomerIforders - The orders to set.public java.lang.String getCustom1()
getCustom1 in interface CustomerIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface CustomerIfcustom1 - The custom1 to set.public java.lang.String getCustom2()
getCustom2 in interface CustomerIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface CustomerIfcustom2 - The custom2 to set.public java.lang.String getCustom3()
getCustom3 in interface CustomerIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface CustomerIfcustom3 - The custom3 to set.public java.lang.String getCustom4()
getCustom4 in interface CustomerIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface CustomerIfcustom4 - The custom4 to set.public java.lang.String getCustom5()
getCustom5 in interface CustomerIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface CustomerIfcustom5 - The custom5 to set.public int getType()
CustomerIf
getType in interface CustomerIfpublic void setType(int type)
CustomerIf
setType in interface CustomerIftype - The type to set.public int getGroupId()
CustomerIf
getGroupId in interface CustomerIfpublic void setGroupId(int groupId)
CustomerIf
setGroupId in interface CustomerIfgroupId - The groupId to set.public CustomerGroupIf getCustomerGroup()
CustomerIf
getCustomerGroup in interface CustomerIfpublic void setCustomerGroup(CustomerGroupIf customerGroup)
CustomerIf
setCustomerGroup in interface CustomerIfcustomerGroup - The customerGroup to set.public WishListIf[] getWishLists()
CustomerIf
getWishLists in interface CustomerIfpublic void setWishLists(WishListIf[] wishLists)
CustomerIf
setWishLists in interface CustomerIfwishLists - The wishLists to set.public java.lang.String getLocale()
getLocale in interface CustomerIfpublic void setLocale(java.lang.String locale)
setLocale in interface CustomerIflocale - the locale to setpublic java.lang.String getTelephoneNumber1()
getTelephoneNumber1 in interface CustomerIfpublic void setTelephoneNumber1(java.lang.String telephoneNumber1)
setTelephoneNumber1 in interface CustomerIftelephoneNumber1 - the telephoneNumber1 to setpublic byte getInvisible()
getInvisible in interface CustomerIfpublic void setInvisible(byte invisible)
setInvisible in interface CustomerIfinvisible - the invisible to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||