ItemObjectProxyImpl Class
- public class ItemObjectProxyImpl
extends Object
implements ItemObject
This classes uses a LineItem object to get values for the
pool object.
Related Topics
LineItem
-
Hierarchy
-
Object
ItemObjectProxyImpl
-
All Implemented Interfaces
-
Comparable, ItemObject, PoolObject
cName
public static final String cName
ItemObjectProxyImpl
public ItemObjectProxyImpl()
ItemObjectProxyImpl
public ItemObjectProxyImpl(Pool pool,
LineItem lineItem,
int line,
int position)
compareTo(Object) Method
public int compareTo(Object obj)
May throw ClassCastException if obj is not a ItemObjectProxyImpl.
equalLineItem(ItemObject) Method
public boolean equalLineItem(ItemObject object)
Description copied from ItemObject.equalLineItem(ItemObject)
returns true if the given object comes from the same
LineItem.
equals(Object) Method
public boolean equals(Object obj)
-
Overrides
-
Object.equals(Object)
getActualPrice() Method
public Money getActualPrice()
Description copied from PoolObject.getActualPrice()
returns the current price of the object
Returns
- Money a money object that represents the current
price of the current.
getBasePrice() Method
public Money getBasePrice()
Description copied from ItemObject.getBasePrice()
Corresponds to ProductItem.getCurrentPrice()
Returns
- Money a money object that represents the base price of the item.
getCategoryKeys() Method
public CategoryKey[] getCategoryKeys()
Description copied from ItemObject.getCategoryKeys()
Corresponds to ProductItem.XXXXX()
Returns
- CategoryKey the key for the categor(ies) of this item.
getItemKey() Method
public CatalogItemKey getItemKey()
Description copied from ItemObject.getItemKey()
Corresponds to ProductItem.getCatalogItemKey()
Returns
- CatalogItemKey the item key for this item.
getLineItem() Method
public LineItem getLineItem()
used by the pool to adjust the underlying line item
getMsrp() Method
public Money getMsrp()
Description copied from ItemObject.getMsrp()
Corresponds to ProductItem.getMsrp()
Returns
- Money a money object that represents the MSRP price of the item.
getPool() Method
public Pool getPool()
getUID() Method
public String getUID()
Description copied from PoolObject.getUID()
Returns the unique identifying string for this object.
Returns
- String unique identifying string for this PoolObject.
hashCode() Method
public int hashCode()
-
Overrides
-
Object.hashCode()
set(Pool, LineItem, int, int) Method
public void set(Pool pool,
LineItem lineItem,
int line,
int position)
toString() Method
public String toString()
-
Overrides
-
Object.toString()
toString(List) Method
public static String toString(List list)
toString(Iterator, int) Method
public static String toString(Iterator it,
int size)