ItemObjectProxyImpl Class

com.bea.commerce.ebusiness.price.engine.pool
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

Field Summary

public static final String
cName
String
 

Constructor Summary

ItemObjectProxyImpl()

ItemObjectProxyImpl(Pool pool, LineItem lineItem, int line, int position)

 

Method Summary

public int
compareTo(Object obj)
May throw ClassCastException if obj is not a ItemObjectProxyImpl.
public boolean
equalLineItem(ItemObject object)
returns true if the given object comes from the same LineItem.
public boolean
equals(Object obj)
public Money
getActualPrice()
returns the current price of the object
public Money
getBasePrice()
Corresponds to ProductItem.getCurrentPrice()
public CategoryKey[]
getCategoryKeys()
Corresponds to ProductItem.XXXXX()
public CatalogItemKey
getItemKey()
Corresponds to ProductItem.getCatalogItemKey()
public LineItem
getLineItem()
used by the pool to adjust the underlying line item
public Money
getMsrp()
Corresponds to ProductItem.getMsrp()
public Pool
getPool()
public String
getUID()
Returns the unique identifying string for this object.
public int
hashCode()
public void
set(Pool pool, LineItem lineItem, int line, int position)
public String
toString()
public static String
toString(List list)
public static String
toString(Iterator it, int size)
 
Methods from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
   
Methods from interface java.lang.Comparable
compareTo
 
Methods from interface com.bea.commerce.ebusiness.price.engine.pool.ItemObject
equalLineItem, getBasePrice, getCategoryKeys, getItemKey, getLineItem, getMsrp
 
Methods from interface com.bea.commerce.ebusiness.price.engine.pool.PoolObject
getActualPrice, getPool, getUID
 

Field Detail

cName

public static final String cName

 

Constructor Detail

ItemObjectProxyImpl

public ItemObjectProxyImpl()

ItemObjectProxyImpl

public ItemObjectProxyImpl(Pool pool, 
                           LineItem lineItem, 
                           int line, 
                           int position)
 

Method Detail

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)