WorkingSpec Class

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

public class WorkingSpec

    extends Object

Hierarchy
Object
  WorkingSpec

Field Summary

public static final String
cName
String
public static final int
INIT_LIST_SIZE
int
 

Constructor Summary

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

 

Method Summary

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

Field Detail

cName

public static final String cName


INIT_LIST_SIZE

public static final int INIT_LIST_SIZE

 

Constructor Detail

WorkingSpec

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

Method Detail

commit() Method

public final void commit()

getResults() Method

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


getSpecPosition() Method

public final int getSpecPosition()

isSatisfied() Method

public final boolean isSatisfied()

maxMet() Method

public final boolean maxMet()

minMet() Method

public final boolean minMet()

resetForSet() Method

public final void resetForSet()

select() Method

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(PoolQuery, QuerySpec, boolean, int) Method

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

toString() Method

public final String toString()
Overrides
Object.toString()

toString(Iterator, int) Method

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