edu.northwestern.at.monk.model
Class CoreObjectCriterion

java.lang.Object
  extended by edu.northwestern.at.monk.model.SearchCriterion
      extended by edu.northwestern.at.monk.model.CoreObjectCriterion
Direct Known Subclasses:
AuthorCriterion, CaseCriterion, CorpusCriterion, DegreeCriterion, LemmaCriterion, MajorWordClassCriterion, MoodCriterion, NegativeCriterion, NumberCriterion, PersonCriterion, PosCriterion, SpellingCriterion, SyntaxCriterion, TenseCriterion, WordClassCriterion, WorkCriterion, WorkPartAncestorOfCriterion, WorkPartCriterion, WorkPartDescendantOfCriterion, WorkPartSiblingOfCriterion

public abstract class CoreObjectCriterion
extends SearchCriterion

A core object search criterion.

Core object search criteria match one or more core objects of some type. The classes all provide constructors of the following forms, where T is the core object type:

XxxCriterion (String... tags)

Creates a criterion from a vararg list or array of tags.

XxxCriterion (T... objs)

Creates a criterion from a vararg list or array of core objects.

XxxCriterion (Collection vals)

Creates a criterion from a collection of core objects and/or their tags.

An empty or "no-op" criterion that matches anything can be constructed with an empty array of tags, an emtpy array of objects, or an empty collection of values.

See Also:
MONK Datastore Overview, Licensing Agreement

Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait