edu.northwestern.at.monk.model
Class FreqNonCumCriterion

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

public class FreqNonCumCriterion
extends DoubleCriterion

A non-cumulative frequency search criterion.

See Also:
MONK Datastore Overview, Licensing Agreement

Constructor Summary
FreqNonCumCriterion(java.util.Collection<DoubleRange> ranges)
          Creates a new non-cumulative frequency search criterion.
FreqNonCumCriterion(double val)
          Creates a new non-cumulative frequency search criterion.
FreqNonCumCriterion(java.lang.Double val)
          Creates a new non-cumulative frequency search criterion.
FreqNonCumCriterion(double start, double end)
          Creates a new non-cumulative frequency search criterion.
FreqNonCumCriterion(double start, java.lang.Double end)
          Creates a new non-cumulative frequency search criterion.
FreqNonCumCriterion(java.lang.Double start, double end)
          Creates a new non-cumulative frequency search criterion.
FreqNonCumCriterion(java.lang.Double start, java.lang.Double end)
          Creates a new non-cumulative frequency search criterion.
FreqNonCumCriterion(DoubleRange... ranges)
          Creates a new non-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

FreqNonCumCriterion

public FreqNonCumCriterion(double val)
                    throws ModelException
Creates a new non-cumulative frequency search criterion.

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

FreqNonCumCriterion

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

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

FreqNonCumCriterion

public FreqNonCumCriterion(double start,
                           double end)
                    throws ModelException
Creates a new non-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)

FreqNonCumCriterion

public FreqNonCumCriterion(java.lang.Double start,
                           double end)
                    throws ModelException
Creates a new non-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)

FreqNonCumCriterion

public FreqNonCumCriterion(double start,
                           java.lang.Double end)
                    throws ModelException
Creates a new non-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)

FreqNonCumCriterion

public FreqNonCumCriterion(java.lang.Double start,
                           java.lang.Double end)
                    throws ModelException
Creates a new non-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)

FreqNonCumCriterion

public FreqNonCumCriterion(DoubleRange... ranges)
                    throws ModelException
Creates a new non-cumulative frequency search criterion.

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

FreqNonCumCriterion

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

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