# com.bea.commerce.ebusiness.price.engine.pool
Pool Interface

public interface Pool

Represents a collection of PoolObject(s). The Pool interface provides methods for adjusting the price of the pool objects and also to remove the objects from the collection.

All Known Implementing Classes
  `ItemPoolImpl`, `OrderPoolImpl`

All Known Subinterfaces
  `ItemPool`, `OrderPool`

## Method Summary

`public void` | `adjust`(`List` poolObjects, `AdjustmentDetail` aDetail)
`public void` | `adjust`(`PoolObject` object, `AdjustmentDetail` aDetail)
`public `String`` | `getCurrency`()
`public `AdjustmentDetail`` | `getDetail`(`AdjustmentType` type, `Money` initialPrice, `Money` endPrice, `String` computation, `String` reason, `Object` discountID)
`public void` | `remove`(`PoolObject` anObject)
`public void` | `remove`(`Iterator` poolObjects)

## Method Detail

### adjust(List, AdjustmentDetail) Method

    public void adjust(List poolObjects,
                       AdjustmentDetail aDetail)

### adjust(PoolObject, AdjustmentDetail) Method

    public void adjust(PoolObject object,
                       AdjustmentDetail aDetail)

### getCurrency() Method

    public String getCurrency()

### getDetail(AdjustmentType, Money, Money, String, String, Object) Method

    public AdjustmentDetail getDetail(AdjustmentType type,
                                      Money initialPrice,
                                      Money endPrice,
                                      String computation,
                                      String reason,
                                      Object discountID)

### remove(PoolObject) Method

    public void remove(PoolObject anObject)

#### Parameters

anObject
  the object to be removed from the collection.

#### Returns

void

Related Topics

``PoolObject``

### remove(Iterator) Method

    public void remove(Iterator poolObjects)

#### Parameters

poolObjects
  a set of ItemPoolObjects to be removed from the collection.

#### Returns

void

Related Topics

``PoolObject``