|
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 PoolObjectMoneypublic Money getBasePrice()
ItemObject
getBasePrice in interface ItemObjectMoney,
ProductItempublic Money getMsrp()
ItemObject
getMsrp in interface ItemObjectMoney,
ProductItempublic CatalogItemKey getItemKey()
ItemObject
getItemKey in interface ItemObjectCatalogItemKey,
ProductItempublic CategoryKey[] getCategoryKeys()
ItemObject
getCategoryKeys in interface ItemObjectCategoryKey,
ProductItempublic boolean equalLineItem(ItemObject object)
ItemObject
equalLineItem in interface ItemObjectpublic LineItem getLineItem()
getLineItem in interface ItemObjectpublic int compareTo(Object obj)
compareTo in interface Comparablepublic boolean equals(Object obj)
equals in class Objectpublic String getUID()
PoolObject
getUID in interface PoolObjectpublic Pool getPool()
getPool in interface PoolObjectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic 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 | ||||||||