com.bea.commerce.ebusiness.price.engine
Class WorkingSpec

java.lang.Object
  extended by com.bea.commerce.ebusiness.price.engine.WorkingSpec

public class WorkingSpec
extends Object


Field Summary
static String cName
           
static int INIT_LIST_SIZE
           
 
Constructor Summary
WorkingSpec(PoolQuery poolResults, QuerySpec spec, boolean isQualifier, int specPosition)
           
 
Method Summary
 void commit()
           
 List getResults()
          Returns the results of the selection process or throws an exception if minimim is not met.
 int getSpecPosition()
           
 boolean isSatisfied()
           
 boolean maxMet()
           
 boolean minMet()
           
 void resetForSet()
           
 boolean select()
          Select a single object from this specs list held by the PoolQuery.
 void set(PoolQuery poolResults, QuerySpec spec, boolean isQualifier, int specPosition)
           
 String toString()
           
static String toString(Iterator iterator, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cName

public static final String cName
See Also
Constants Summary

INIT_LIST_SIZE

public static final int INIT_LIST_SIZE
See Also
Constants Summary
Constructor Detail

WorkingSpec

public WorkingSpec(PoolQuery poolResults,
                   QuerySpec spec,
                   boolean isQualifier,
                   int specPosition)
Method Detail

set

public final void set(PoolQuery poolResults,
                      QuerySpec spec,
                      boolean isQualifier,
                      int specPosition)

resetForSet

public final void resetForSet()

minMet

public final boolean minMet()

maxMet

public final boolean maxMet()

getSpecPosition

public final int getSpecPosition()

isSatisfied

public final boolean isSatisfied()

commit

public final void commit()

getResults

public final List getResults()
Returns the results of the selection process or throws an exception if minimim is not met.


select

public final boolean select()
Select a single object from this specs list held by the PoolQuery.

Returns
false if the selection process can not obtain an object from the PoolQuery.

toString

public final String toString()
Overrides:
toString in class Object

toString

public static final String toString(Iterator iterator,
                                    int size)


Copyright © 2006 BEA Systems, Inc. All Rights Reserved