com.konakartadmin.app
Class AdminWishList

java.lang.Object
  extended by com.konakartadmin.app.AdminWishList
All Implemented Interfaces:
AdminObjectIf

public class AdminWishList
extends java.lang.Object
implements AdminObjectIf

AdminWishList class


Field Summary
private  int addressId
          Shipping address id to be used for shipping list items
private  java.lang.String custom1
          Custom fields
private  java.lang.String custom2
           
private  java.lang.String custom3
           
private  java.lang.String custom4
           
private  java.lang.String custom5
           
private  java.lang.String customer1FirstName
          First name of 2nd wish list customer.
private  java.lang.String customer1LastName
          Last name of 2nd wish list customer.
private  java.util.Calendar customerBirthDate
          Birth date of wish list customer
private  java.lang.String customerCity
          City of wish list customer
private  java.lang.String customerFirstName
          First name of wish list customer
private  int customerId
          customerId
private  java.lang.String customerLastName
          Last name of wish list customer
private  java.lang.String customerState
          State of wish list customer
private  java.util.Calendar dateAdded
          dateAdded
private  java.lang.String description
          Description for the wish list
private  java.util.Calendar eventDate
          Date of the event
private  java.math.BigDecimal finalPriceExTax
          finalPrice excluding tax
private  java.math.BigDecimal finalPriceIncTax
          finalPrice including tax
private  int id
          id
private  java.lang.String linkUrl
          URL that points to a page containing event details
private  int listType
          Type of list.
private  java.lang.String name
          Name of the wish list
private  boolean publicWishList
          If set, the wish list is public.
private  AdminAddress shippingAddress
          Shipping Address
private  AdminWishListItem[] wishListItems
          An array of AdminWishListItem objects belonging to this wish list.
 
Constructor Summary
AdminWishList()
          Constructor
AdminWishList(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the WishList object from a Record object
 
Method Summary
 int getAddressId()
           
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 java.lang.String getCustomer1FirstName()
           
 java.lang.String getCustomer1LastName()
           
 java.util.Calendar getCustomerBirthDate()
           
 java.lang.String getCustomerCity()
           
 java.lang.String getCustomerFirstName()
           
 int getCustomerId()
           
 java.lang.String getCustomerLastName()
           
 java.lang.String getCustomerState()
           
 java.util.Calendar getDateAdded()
           
 java.lang.String getDescription()
           
 java.util.Calendar getEventDate()
           
 java.math.BigDecimal getFinalPriceExTax()
           
 java.math.BigDecimal getFinalPriceIncTax()
           
 int getId()
           
 java.lang.String getLinkUrl()
           
 int getListType()
           
 java.lang.String getName()
           
 AdminAddress getShippingAddress()
           
 AdminWishListItem[] getWishListItems()
           
 boolean isPublicWishList()
           
 void setAddressId(int addressId)
           
 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 setCustomer1FirstName(java.lang.String customer1FirstName)
           
 void setCustomer1LastName(java.lang.String customer1LastName)
           
 void setCustomerBirthDate(java.util.Calendar customerBirthDate)
           
 void setCustomerCity(java.lang.String customerCity)
           
 void setCustomerFirstName(java.lang.String customerFirstName)
           
 void setCustomerId(int customerId)
           
 void setCustomerLastName(java.lang.String customerLastName)
           
 void setCustomerState(java.lang.String customerState)
           
 void setDateAdded(java.util.Calendar dateAdded)
           
 void setDescription(java.lang.String description)
           
 void setEventDate(java.util.Calendar eventDate)
           
 void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
           
 void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
           
 void setId(int id)
           
 void setLinkUrl(java.lang.String linkUrl)
           
 void setListType(int listType)
           
 void setName(java.lang.String name)
           
 void setPublicWishList(boolean publicWishList)
           
 void setShippingAddress(AdminAddress shippingAddress)
           
 void setWishListItems(AdminWishListItem[] wishListItems)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id


customerId

private int customerId
customerId


wishListItems

private AdminWishListItem[] wishListItems
An array of AdminWishListItem objects belonging to this wish list.


name

private java.lang.String name
Name of the wish list


description

private java.lang.String description
Description for the wish list


customerFirstName

private java.lang.String customerFirstName
First name of wish list customer


customerLastName

private java.lang.String customerLastName
Last name of wish list customer


customer1FirstName

private java.lang.String customer1FirstName
First name of 2nd wish list customer. i.e. Wedding list will have two names


customer1LastName

private java.lang.String customer1LastName
Last name of 2nd wish list customer. i.e. Wedding list will have two names


customerCity

private java.lang.String customerCity
City of wish list customer


customerState

private java.lang.String customerState
State of wish list customer


customerBirthDate

private java.util.Calendar customerBirthDate
Birth date of wish list customer


publicWishList

private boolean publicWishList
If set, the wish list is public. Otherwise it is private.


finalPriceIncTax

private java.math.BigDecimal finalPriceIncTax
finalPrice including tax


finalPriceExTax

private java.math.BigDecimal finalPriceExTax
finalPrice excluding tax


dateAdded

private java.util.Calendar dateAdded
dateAdded


linkUrl

private java.lang.String linkUrl
URL that points to a page containing event details


listType

private int listType
Type of list. i.e. Wish List, Wedding List etc.


shippingAddress

private AdminAddress shippingAddress
Shipping Address


addressId

private int addressId
Shipping address id to be used for shipping list items


eventDate

private java.util.Calendar eventDate
Date of the event


custom1

private java.lang.String custom1
Custom fields


custom2

private java.lang.String custom2

custom3

private java.lang.String custom3

custom4

private java.lang.String custom4

custom5

private java.lang.String custom5
Constructor Detail

AdminWishList

public AdminWishList()
Constructor


AdminWishList

public AdminWishList(com.workingdogs.village.Record vr,
                     org.apache.torque.util.Criteria c)
              throws com.workingdogs.village.DataSetException
Instantiates the attributes of the WishList object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the WishList object.

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface AdminObjectIf
Parameters:
id - The id to set.

getWishListItems

public AdminWishListItem[] getWishListItems()
Returns:
Returns the wishListItems.

setWishListItems

public void setWishListItems(AdminWishListItem[] wishListItems)
Parameters:
wishListItems - The wishListItems to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getFinalPriceIncTax

public java.math.BigDecimal getFinalPriceIncTax()
Returns:
Returns the finalPriceIncTax.

setFinalPriceIncTax

public void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
Parameters:
finalPriceIncTax - The finalPriceIncTax to set.

getFinalPriceExTax

public java.math.BigDecimal getFinalPriceExTax()
Returns:
Returns the finalPriceExTax.

setFinalPriceExTax

public void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
Parameters:
finalPriceExTax - The finalPriceExTax to set.

getDateAdded

public java.util.Calendar getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

public void setDateAdded(java.util.Calendar dateAdded)
Parameters:
dateAdded - The dateAdded to set.

getCustom1

public java.lang.String getCustom1()
Returns:
Returns the custom1.

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - The custom1 to set.

getCustom2

public java.lang.String getCustom2()
Returns:
Returns the custom2.

setCustom2

public void setCustom2(java.lang.String custom2)
Parameters:
custom2 - The custom2 to set.

getCustom3

public java.lang.String getCustom3()
Returns:
Returns the custom3.

setCustom3

public void setCustom3(java.lang.String custom3)
Parameters:
custom3 - The custom3 to set.

getCustom4

public java.lang.String getCustom4()
Returns:
Returns the custom4.

setCustom4

public void setCustom4(java.lang.String custom4)
Parameters:
custom4 - The custom4 to set.

getCustom5

public java.lang.String getCustom5()
Returns:
Returns the custom5.

setCustom5

public void setCustom5(java.lang.String custom5)
Parameters:
custom5 - The custom5 to set.

getCustomerId

public int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

public void setCustomerId(int customerId)
Parameters:
customerId - The customerId to set.

isPublicWishList

public boolean isPublicWishList()
Returns:
Returns the publicWishList.

setPublicWishList

public void setPublicWishList(boolean publicWishList)
Parameters:
publicWishList - The publicWishList to set.

getCustomerFirstName

public java.lang.String getCustomerFirstName()
Returns:
Returns the customerFirstName.

setCustomerFirstName

public void setCustomerFirstName(java.lang.String customerFirstName)
Parameters:
customerFirstName - The customerFirstName to set.

getCustomerLastName

public java.lang.String getCustomerLastName()
Returns:
Returns the customerLastName.

setCustomerLastName

public void setCustomerLastName(java.lang.String customerLastName)
Parameters:
customerLastName - The customerLastName to set.

getCustomerCity

public java.lang.String getCustomerCity()
Returns:
Returns the customerCity.

setCustomerCity

public void setCustomerCity(java.lang.String customerCity)
Parameters:
customerCity - The customerCity to set.

getCustomerBirthDate

public java.util.Calendar getCustomerBirthDate()
Returns:
Returns the customerBirthDate.

setCustomerBirthDate

public void setCustomerBirthDate(java.util.Calendar customerBirthDate)
Parameters:
customerBirthDate - The customerBirthDate to set.

getCustomerState

public java.lang.String getCustomerState()
Returns:
Returns the customerState.

setCustomerState

public void setCustomerState(java.lang.String customerState)
Parameters:
customerState - The customerState to set.

getCustomer1FirstName

public java.lang.String getCustomer1FirstName()
Returns:
the customer1FirstName

setCustomer1FirstName

public void setCustomer1FirstName(java.lang.String customer1FirstName)
Parameters:
customer1FirstName - the customer1FirstName to set

getCustomer1LastName

public java.lang.String getCustomer1LastName()
Returns:
the customer1LastName

setCustomer1LastName

public void setCustomer1LastName(java.lang.String customer1LastName)
Parameters:
customer1LastName - the customer1LastName to set

getLinkUrl

public java.lang.String getLinkUrl()
Returns:
the linkUrl

setLinkUrl

public void setLinkUrl(java.lang.String linkUrl)
Parameters:
linkUrl - the linkUrl to set

getListType

public int getListType()
Returns:
the listType

setListType

public void setListType(int listType)
Parameters:
listType - the listType to set

getAddressId

public int getAddressId()
Returns:
the addressId

setAddressId

public void setAddressId(int addressId)
Parameters:
addressId - the addressId to set

getEventDate

public java.util.Calendar getEventDate()
Returns:
the eventDate

setEventDate

public void setEventDate(java.util.Calendar eventDate)
Parameters:
eventDate - the eventDate to set

getShippingAddress

public AdminAddress getShippingAddress()
Returns:
the shippingAddress

setShippingAddress

public void setShippingAddress(AdminAddress shippingAddress)
Parameters:
shippingAddress - the shippingAddress to set


Copyright © 2011 DS Data Systems UK Ltd.