edu.northwestern.at.monk.model
Class CountNonCumMainCriterion

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.CountNonCumMainCriterion

public class CountNonCumMainCriterion
extends LongCriterion

A non-cumulative count over main text (non-paratext) search criterion.

See Also:
MONK Datastore Overview, Licensing Agreement

Constructor Summary
CountNonCumMainCriterion(java.util.Collection<LongRange> ranges)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
CountNonCumMainCriterion(long val)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
CountNonCumMainCriterion(java.lang.Long val)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
CountNonCumMainCriterion(long start, long end)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
CountNonCumMainCriterion(long start, java.lang.Long end)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
CountNonCumMainCriterion(java.lang.Long start, long end)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
CountNonCumMainCriterion(java.lang.Long start, java.lang.Long end)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
CountNonCumMainCriterion(LongRange... ranges)
          Creates a new non-cumulative count over main text (non-paratext) search criterion.
 
Method Summary
 
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
 

Constructor Detail

CountNonCumMainCriterion

public CountNonCumMainCriterion(long val)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
val - Value.
Throws:
ModelException -
Should never be thrown

CountNonCumMainCriterion

public CountNonCumMainCriterion(java.lang.Long val)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
val - Value, or null if none.
Throws:
ModelException -
Should never be thrown

CountNonCumMainCriterion

public CountNonCumMainCriterion(long start,
                                long end)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
start - Start of range.
end - End end of range.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

CountNonCumMainCriterion

public CountNonCumMainCriterion(java.lang.Long start,
                                long end)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
start - Start of range, or null if none.
end - End end of range.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

CountNonCumMainCriterion

public CountNonCumMainCriterion(long start,
                                java.lang.Long end)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
start - Start of range.
end - End end of range, or null if none.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

CountNonCumMainCriterion

public CountNonCumMainCriterion(java.lang.Long start,
                                java.lang.Long end)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
start - Start of range, or null if none.
end - End end of range, or null if none.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

CountNonCumMainCriterion

public CountNonCumMainCriterion(LongRange... ranges)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
ranges - Ranges.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

CountNonCumMainCriterion

public CountNonCumMainCriterion(java.util.Collection<LongRange> ranges)
                         throws ModelException
Creates a new non-cumulative count over main text (non-paratext) search criterion.

Parameters:
ranges - Collection of ranges.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)