|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.SearchCriterion
edu.northwestern.at.monk.model.CoreObjectCriterion
edu.northwestern.at.monk.model.NegativeCriterion
public class NegativeCriterion
A part of speech negative category search criterion.
| Constructor Summary | |
|---|---|
NegativeCriterion(java.util.Collection<?> values)
Creates a new negative category search criterion. |
|
NegativeCriterion(NegativeCategory... negativeCategories)
Creates a new negative category search criterion. |
|
NegativeCriterion(java.lang.String... tags)
Creates a new negative category search criterion. |
|
| Method Summary | |
|---|---|
java.util.Collection<NegativeCategory> |
getNegativeCategories()
Gets the negative categories. |
NegativeCategory |
getNegativeCategory()
Gets the negative category. |
java.lang.String |
getTag()
Gets the tag. |
java.util.Collection<java.lang.String> |
getTags()
Gets the tags. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NegativeCriterion(java.lang.String... tags)
throws ModelException
tags - Tags.
ModelException -
public NegativeCriterion(NegativeCategory... negativeCategories)
throws ModelException
negativeCategories - Negative categories.
ModelException -
public NegativeCriterion(java.util.Collection<?> values)
throws ModelException
values - Collection of tags and/or negative categories.
ModelException - | Method Detail |
|---|
public java.util.Collection<NegativeCategory> getNegativeCategories()
public NegativeCategory getNegativeCategory()
public java.util.Collection<java.lang.String> getTags()
public java.lang.String getTag()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||