org.activemath.omdocjdom.index.queries
Class SearchContext

java.lang.Object
  extended by org.activemath.omdocjdom.index.queries.SearchContext

public class SearchContext
extends Object

A class to encompass contextual information of the queries such as the learning-context or the application of the learner-symbol-policy.


Nested Class Summary
static interface SearchContext.ContainingBook
           
 
Constructor Summary
SearchContext()
           
 
Method Summary
 SearchContext.ContainingBook getContainingBook()
           
 String getField()
           
 String getLearningContext()
           
 float getScoreThreshold()
           
 boolean isApplyLearnerHidingPolicy()
           
 boolean isConceptsOnly()
           
 void setApplyLearnerHidingPolicy(boolean applyLearnerHidingPolicy)
           
 void setConceptsOnly(boolean conceptsOnly)
           
 void setField(String field)
           
 void setItemFilter(SearchContext.ContainingBook filter)
           
 void setLearningContext(String learningContext)
           
 void setScoreThreshold(float scoreThreadshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchContext

public SearchContext()
Method Detail

isApplyLearnerHidingPolicy

public boolean isApplyLearnerHidingPolicy()

setApplyLearnerHidingPolicy

public void setApplyLearnerHidingPolicy(boolean applyLearnerHidingPolicy)

getLearningContext

public String getLearningContext()

setLearningContext

public void setLearningContext(String learningContext)

getField

public String getField()

setField

public void setField(String field)

getScoreThreshold

public float getScoreThreshold()

setScoreThreshold

public void setScoreThreshold(float scoreThreadshold)

setItemFilter

public void setItemFilter(SearchContext.ContainingBook filter)

getContainingBook

public SearchContext.ContainingBook getContainingBook()

isConceptsOnly

public boolean isConceptsOnly()

setConceptsOnly

public void setConceptsOnly(boolean conceptsOnly)