|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.alcs.domain.impl.AbstractEpDomainImpl
com.bea.alcs.domain.impl.AbstractPersistenceImpl
com.bea.alcs.domain.impl.AbstractValueObjectImpl
com.bea.alcs.domain.shoppingcart.impl.AbstractCartItemImpl
com.bea.alcs.domain.shoppingcart.impl.ShoppingCartItemImpl
public class ShoppingCartItemImpl
A ShoppingCartItem represents a quantity of SKUs in a shopping cart.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Fields inherited from class com.bea.alcs.domain.shoppingcart.impl.AbstractCartItemImpl |
|---|
TABLE_NAME |
| Fields inherited from class com.bea.alcs.domain.impl.AbstractPersistenceImpl |
|---|
DECIMAL_PRECISION, DECIMAL_SCALE |
| Constructor Summary | |
|---|---|
ShoppingCartItemImpl()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Return true if the given object is ShoppingCartItemImpl and is logically equal. |
protected java.lang.String |
getCartItemType()
Must be implemented by subclasses to return their type. |
int |
hashCode()
Return the hash code. |
boolean |
isTaxable()
Shopping cart is tax aware. |
| Methods inherited from class com.bea.alcs.domain.impl.AbstractPersistenceImpl |
|---|
executeBeforePersistAction, isPersistent |
| Methods inherited from class com.bea.alcs.domain.impl.AbstractEpDomainImpl |
|---|
getBooleanHashCode, getElasticPath, getObjectHashCode, getUtility, setDefaultValues, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bea.alcs.domain.shoppingcart.CartItem |
|---|
addDependentCartItem, applyDiscount, clearDiscount, getAmount, getDefaultAssociationQuantity, getDependentCartItems, getErrorMessage, getMinOrderQty, getParentCartItem, getProduct, getProductSkuPrice, getShoppingCart, getType, hasDependentCartItem, hasDependentCartItems, hasSufficientInventory, isDependent, isExchangeCartItem, setDefaultAssociationQuantity, setDependentCartItems, setErrorMessage, setExchangeCartItem, setParentCartItem, setProduct, setProductSkuPrice, setShoppingCart, setType |
| Methods inherited from interface com.bea.alcs.domain.order.LineItem |
|---|
getAmountMoney, getProductSku, getQuantity, getTax, setProductSku, setQuantity, setTax |
| Methods inherited from interface com.bea.alcs.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setUidPk |
| Methods inherited from interface com.bea.alcs.domain.EpDomain |
|---|
getElasticPath, getUtility, setDefaultValues, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public ShoppingCartItemImpl()
| Method Detail |
|---|
protected java.lang.String getCartItemType()
getCartItemType in class AbstractCartItemImplpublic int hashCode()
hashCode in class AbstractCartItemImplpublic boolean equals(java.lang.Object obj)
true if the given object is ShoppingCartItemImpl and is logically equal.
equals in class AbstractCartItemImplobj - the object to compare
true if the given object is equalpublic boolean isTaxable()
isTaxable in interface LineItem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||