|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.WishListItem
public class WishListItem
WishListItem class
| Constructor Summary | |
|---|---|
WishListItem()
Constructor |
|
WishListItem(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the WishList object from a Record object |
|
| Method Summary | |
|---|---|
java.math.BigDecimal |
calculatePrice()
Calculate the price of the WishList item |
java.lang.String |
getComments()
Comments on the wish list item |
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
java.util.Calendar |
getDateAdded()
|
java.lang.String |
getEncodedProduct()
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id. |
java.math.BigDecimal |
getFinalPriceExTax()
This is the price without including tax. |
java.math.BigDecimal |
getFinalPriceIncTax()
This is the price including tax. |
int |
getId()
|
OptionIf[] |
getOpts()
An array of Option objects that further defines the product. |
int |
getPriority()
The priority for the wish list item. |
ProductIf |
getProduct()
|
int |
getProductId()
|
int |
getQuantityDesired()
Number of items desired in a list such as a wedding list |
int |
getQuantityInStock()
|
int |
getQuantityReceived()
Number of items received in a list such as a wedding list |
int |
getWishListId()
|
void |
setComments(java.lang.String comments)
Comments on the wish list item |
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 |
setDateAdded(java.util.Calendar dateAdded)
|
void |
setEncodedProduct(java.lang.String encodedProduct)
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id. |
void |
setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
This is the price without including tax. |
void |
setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
This is the price including tax. |
void |
setId(int id)
|
void |
setOpts(OptionIf[] opts)
An array of Option objects that further defines the product. |
void |
setPriority(int priority)
The priority for the wish list item. |
void |
setProduct(ProductIf product)
|
void |
setProductId(int productId)
|
void |
setQuantityDesired(int quantityDesired)
Number of items desired in a list such as a wedding list |
void |
setQuantityInStock(int quantityInStock)
|
void |
setQuantityReceived(int quantityReceived)
Number of items received in a list such as a wedding list |
void |
setWishListId(int wishListId)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WishListItem()
public WishListItem(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.Object
public java.math.BigDecimal calculatePrice()
throws KKException
KKExceptionpublic int getId()
getId in interface WishListItemIfpublic void setId(int id)
setId in interface WishListItemIfid - The id to set.public java.util.Calendar getDateAdded()
getDateAdded in interface WishListItemIfpublic void setDateAdded(java.util.Calendar dateAdded)
setDateAdded in interface WishListItemIfdateAdded - The dateAdded to set.public java.math.BigDecimal getFinalPriceIncTax()
WishListItemIf
getFinalPriceIncTax in interface WishListItemIfpublic void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
WishListItemIf
setFinalPriceIncTax in interface WishListItemIffinalPriceIncTax - The finalPriceIncTax to set.public java.math.BigDecimal getFinalPriceExTax()
WishListItemIf
getFinalPriceExTax in interface WishListItemIfpublic void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
WishListItemIf
setFinalPriceExTax in interface WishListItemIffinalPriceExTax - The finalPriceExTax to set.public int getQuantityInStock()
getQuantityInStock in interface WishListItemIfpublic void setQuantityInStock(int quantityInStock)
setQuantityInStock in interface WishListItemIfquantityInStock - The quantityInStock to set.public ProductIf getProduct()
getProduct in interface WishListItemIfpublic void setProduct(ProductIf product)
setProduct in interface WishListItemIfproduct - The product to set.public int getProductId()
getProductId in interface WishListItemIfpublic void setProductId(int productId)
setProductId in interface WishListItemIfproductId - The productId to set.public java.lang.String getEncodedProduct()
WishListItemIf
getEncodedProduct in interface WishListItemIfpublic void setEncodedProduct(java.lang.String encodedProduct)
WishListItemIf
setEncodedProduct in interface WishListItemIfencodedProduct - The encodedProduct to set.public OptionIf[] getOpts()
WishListItemIf
getOpts in interface WishListItemIfpublic void setOpts(OptionIf[] opts)
WishListItemIf
setOpts in interface WishListItemIfopts - The opts to set.public java.lang.String getCustom1()
getCustom1 in interface WishListItemIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface WishListItemIfcustom1 - The custom1 to set.public java.lang.String getCustom2()
getCustom2 in interface WishListItemIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface WishListItemIfcustom2 - The custom2 to set.public java.lang.String getCustom3()
getCustom3 in interface WishListItemIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface WishListItemIfcustom3 - The custom3 to set.public java.lang.String getCustom4()
getCustom4 in interface WishListItemIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface WishListItemIfcustom4 - The custom4 to set.public java.lang.String getCustom5()
getCustom5 in interface WishListItemIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface WishListItemIfcustom5 - The custom5 to set.public int getWishListId()
getWishListId in interface WishListItemIfpublic void setWishListId(int wishListId)
setWishListId in interface WishListItemIfwishListId - The wishListId to set.public int getPriority()
WishListItemIf
getPriority in interface WishListItemIfpublic void setPriority(int priority)
WishListItemIf
setPriority in interface WishListItemIfpriority - The priority to set.public int getQuantityDesired()
WishListItemIf
getQuantityDesired in interface WishListItemIfpublic void setQuantityDesired(int quantityDesired)
WishListItemIf
setQuantityDesired in interface WishListItemIfquantityDesired - the quantityDesired to setpublic int getQuantityReceived()
WishListItemIf
getQuantityReceived in interface WishListItemIfpublic void setQuantityReceived(int quantityReceived)
WishListItemIf
setQuantityReceived in interface WishListItemIfquantityReceived - the quantityReceived to setpublic java.lang.String getComments()
WishListItemIf
getComments in interface WishListItemIfpublic void setComments(java.lang.String comments)
WishListItemIf
setComments in interface WishListItemIfcomments - the comments to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||