© 2005 BEA Systems, Inc.

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

java.lang.Object
  extended bycom.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:
Constant Field Values

INIT_LIST_SIZE

public static final int INIT_LIST_SIZE
See Also:
Constant Field Values
Constructor Detail

WorkingSpec

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

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.


getSpecPosition

public final int getSpecPosition()

isSatisfied

public final boolean isSatisfied()

maxMet

public final boolean maxMet()

minMet

public final boolean minMet()

resetForSet

public final void resetForSet()

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.

set

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

toString

public final String toString()

toString

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

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved