edu.northwestern.at.monk.model
Class SummaryCountCriterion

java.lang.Object
  extended by edu.northwestern.at.monk.model.SearchCriterion
      extended by edu.northwestern.at.monk.model.NumericCriterion
          extended by edu.northwestern.at.monk.model.LongCriterion
              extended by edu.northwestern.at.monk.model.SummaryCountCriterion
Direct Known Subclasses:
AuthorSummaryCountCriterion, CorpusSummaryCountCriterion, WorkPartSummaryCountCriterion, WorkSummaryCountCriterion

public abstract class SummaryCountCriterion
extends LongCriterion

A summary count criterion.

See Also:
MONK Datastore Overview, Licensing Agreement

Method Summary
 CumKind getCumKind()
          Gets the cumulative kind.
 FeatureKind getFeatureKind()
          Gets the feature kind.
 MainKind getMainKind()
          Gets the main kind.
 java.lang.String getName(java.lang.String prefix, boolean cum)
          Gets a name for the criterion.
 
Methods inherited from class edu.northwestern.at.monk.model.LongCriterion
getEnd, getRange, getRanges, getStart, getValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCumKind

public CumKind getCumKind()
Gets the cumulative kind.

Returns:
Cumulative or non-cumulative.

getFeatureKind

public FeatureKind getFeatureKind()
Gets the feature kind.

Returns:
The feature kind: word, word part, or sentence.

getMainKind

public MainKind getMainKind()
Gets the main kind.

Returns:
All text or main text.

getName

public java.lang.String getName(java.lang.String prefix,
                                boolean cum)
Gets a name for the criterion.

Parameters:
prefix - Prefix for name.
cum - True to include "Cum" vs "NonCum" in name.
Returns:
Criterion name.