com.bea.commerce.ebusiness.price.engine.pool
Class OrderObjectImpl

java.lang.Object
  extended by com.bea.commerce.ebusiness.price.engine.pool.OrderObjectImpl
All Implemented Interfaces
OrderObject, PoolObject

public class OrderObjectImpl
extends Object
implements OrderObject

Interface to be implemented by 'orders' used as pool objects.


Constructor Summary
OrderObjectImpl(Pool pool, Quote quote, String uid)
           
 
Method Summary
 Money getActualPrice()
          returns the current price of the object, which may be equal to the base price.
 Money getBasePrice()
          Corresponds to the subtotal for an order and the base price for shipping
 Pool getPool()
           
 String getUID()
          Returns the unique identifying string for this object.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderObjectImpl

public OrderObjectImpl(Pool pool,
                       Quote quote,
                       String uid)
Method Detail

getBasePrice

public Money getBasePrice()
Corresponds to the subtotal for an order and the base price for shipping

Specified by:
getBasePrice in interface OrderObject
Returns
Money a money object that represents the base price of the object.
See Also
Money

getActualPrice

public Money getActualPrice()
returns the current price of the object, which may be equal to the base price.

Specified by:
getActualPrice in interface PoolObject
Returns
Money a money object that represents the current price of the object.
See Also
Money

getPool

public Pool getPool()
Specified by:
getPool in interface PoolObject

getUID

public String getUID()
Description copied from interface: PoolObject
Returns the unique identifying string for this object.

Specified by:
getUID in interface PoolObject
Returns
String unique identifying string for this PoolObject.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006 BEA Systems, Inc. All Rights Reserved