edu.northwestern.at.monk.model
Class FreqCumCriterion

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.DoubleCriterion
              extended by edu.northwestern.at.monk.model.FreqCumCriterion

public class FreqCumCriterion
extends DoubleCriterion

A cumulative frequency search criterion.

See Also:
MONK Datastore Overview, Licensing Agreement

Constructor Summary
FreqCumCriterion(java.util.Collection<DoubleRange> ranges)
          Creates a new cumulative frequency search criterion.
FreqCumCriterion(double val)
          Creates a new cumulative frequency search criterion.
FreqCumCriterion(java.lang.Double val)
          Creates a new cumulative frequency search criterion.
FreqCumCriterion(double start, double end)
          Creates a new cumulative frequency search criterion.
FreqCumCriterion(double start, java.lang.Double end)
          Creates a new cumulative frequency search criterion.
FreqCumCriterion(java.lang.Double start, double end)
          Creates a new cumulative frequency search criterion.
FreqCumCriterion(java.lang.Double start, java.lang.Double end)
          Creates a new cumulative frequency search criterion.
FreqCumCriterion(DoubleRange... ranges)
          Creates a new cumulative frequency search criterion.
 
Method Summary
 
Methods inherited from class edu.northwestern.at.monk.model.DoubleCriterion
getEnd, getRange, getRanges, getStart, getValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreqCumCriterion

public FreqCumCriterion(double val)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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

FreqCumCriterion

public FreqCumCriterion(java.lang.Double val)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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

FreqCumCriterion

public FreqCumCriterion(double start,
                        double end)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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

FreqCumCriterion

public FreqCumCriterion(java.lang.Double start,
                        double end)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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

FreqCumCriterion

public FreqCumCriterion(double start,
                        java.lang.Double end)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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

FreqCumCriterion

public FreqCumCriterion(java.lang.Double start,
                        java.lang.Double end)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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

FreqCumCriterion

public FreqCumCriterion(DoubleRange... ranges)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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

FreqCumCriterion

public FreqCumCriterion(java.util.Collection<DoubleRange> ranges)
                 throws ModelException
Creates a new cumulative frequency search criterion.

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