org.kuali.student.common.util.krms.proposition
Class CourseCompletionProposition

java.lang.Object
  extended by org.kuali.student.common.util.krms.proposition.AbstractLeafProposition
      extended by org.kuali.student.common.util.krms.proposition.CourseCompletionProposition
All Implemented Interfaces:
Proposition
Direct Known Subclasses:
CourseSetCompletionProposition, SingleCourseCompletionProposition

public abstract class CourseCompletionProposition
extends AbstractLeafProposition
implements Proposition

Parent class for all course completion propositions

Author:
alubbers

Field Summary
protected  boolean checkForAllCompleted
           
protected  Integer minToComplete
           
 
Constructor Summary
CourseCompletionProposition()
           
CourseCompletionProposition(Integer minToComplete)
           
 
Method Summary
 PropositionResult evaluate(ExecutionEnvironment environment)
           
protected abstract  Collection<String> getTermCourseIds(ExecutionEnvironment environment)
           
 
Methods inherited from class org.kuali.student.common.util.krms.proposition.AbstractLeafProposition
getChildren, isCompound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krms.framework.engine.Proposition
getChildren, isCompound
 

Field Detail

checkForAllCompleted

protected final boolean checkForAllCompleted

minToComplete

protected Integer minToComplete
Constructor Detail

CourseCompletionProposition

public CourseCompletionProposition(Integer minToComplete)

CourseCompletionProposition

public CourseCompletionProposition()
Method Detail

evaluate

public PropositionResult evaluate(ExecutionEnvironment environment)
Specified by:
evaluate in interface Proposition

getTermCourseIds

protected abstract Collection<String> getTermCourseIds(ExecutionEnvironment environment)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.