|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.commerce.ebusiness.price.engine.pool.ItemObjectProxyImpl
public class ItemObjectProxyImpl
This classes uses a LineItem object to get values for the pool object.
LineItem
Field Summary | |
---|---|
static String |
cName
|
Constructor Summary | |
---|---|
ItemObjectProxyImpl()
|
|
ItemObjectProxyImpl(Pool pool,
LineItem lineItem,
int line,
int position)
|
Method Summary | |
---|---|
int |
compareTo(Object obj)
May throw ClassCastException if obj is not a ItemObjectProxyImpl. |
boolean |
equalLineItem(ItemObject object)
returns true if the given object comes from the same LineItem. |
boolean |
equals(Object obj)
|
Money |
getActualPrice()
returns the current price of the object |
Money |
getBasePrice()
Corresponds to ProductItem.getCurrentPrice() |
CategoryKey[] |
getCategoryKeys()
Corresponds to ProductItem.XXXXX() |
CatalogItemKey |
getItemKey()
Corresponds to ProductItem.getCatalogItemKey() |
LineItem |
getLineItem()
used by the pool to adjust the underlying line item |
Money |
getMsrp()
Corresponds to ProductItem.getMsrp() |
Pool |
getPool()
|
String |
getUID()
Returns the unique identifying string for this object. |
int |
hashCode()
|
void |
set(Pool pool,
LineItem lineItem,
int line,
int position)
|
String |
toString()
|
static String |
toString(Iterator it,
int size)
|
static String |
toString(List list)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String cName
Constructor Detail |
---|
public ItemObjectProxyImpl()
public ItemObjectProxyImpl(Pool pool, LineItem lineItem, int line, int position)
Method Detail |
---|
public void set(Pool pool, LineItem lineItem, int line, int position)
public Money getActualPrice()
PoolObject
getActualPrice
in interface PoolObject
Money
public Money getBasePrice()
ItemObject
getBasePrice
in interface ItemObject
Money
,
ProductItem
public Money getMsrp()
ItemObject
getMsrp
in interface ItemObject
Money
,
ProductItem
public CatalogItemKey getItemKey()
ItemObject
getItemKey
in interface ItemObject
CatalogItemKey
,
ProductItem
public CategoryKey[] getCategoryKeys()
ItemObject
getCategoryKeys
in interface ItemObject
CategoryKey
,
ProductItem
public boolean equalLineItem(ItemObject object)
ItemObject
equalLineItem
in interface ItemObject
public LineItem getLineItem()
getLineItem
in interface ItemObject
public int compareTo(Object obj)
compareTo
in interface Comparable
public boolean equals(Object obj)
equals
in class Object
public String getUID()
PoolObject
getUID
in interface PoolObject
public Pool getPool()
getPool
in interface PoolObject
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public static String toString(List list)
public static String toString(Iterator it, int size)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |