WorkingSpecs Class

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

public class WorkingSpecs

    extends Object

Hierarchy
Object
  WorkingSpecs

Field Summary

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

Constructor Summary

WorkingSpecs(List specs, SelectionType type, int setLimit)

WorkingSpecs(List specs, SelectionType type)

 

Method Summary

public final void
commit()
commits the last selection results for each spec to that specs results list.
public final List
getResults()
public final SelectionType
getType()
public final boolean
isSatisfied()
public final boolean
minMet()
public final boolean
select()
public final void
set(List specs, SelectionType type, int setLimit)
public final String
toString()
 
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

WorkingSpecs

public WorkingSpecs(List specs, 
                    SelectionType type, 
                    int setLimit)

WorkingSpecs

public WorkingSpecs(List specs, 
                    SelectionType type)
 

Method Detail

commit() Method

public final void commit()
commits the last selection results for each spec to that specs results list.


getResults() Method

public final List getResults()

getType() Method

public final SelectionType getType()

isSatisfied() Method

public final boolean isSatisfied()

minMet() Method

public final boolean minMet()

select() Method

public final boolean select()

Returns

true if the selection was a success, false otherwise. True will be returned if an object could be selected for a query spec or if the maximums of all specs have been met. After a return of false is made the caller should call isMet() to determine if a result set is available. A result set will be available if the minimum is met. Use getResults() to retrieve the final results.

set(List, SelectionType, int) Method

public final void set(List specs, 
                      SelectionType type, 
                      int setLimit)

toString() Method

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