|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.TaggedObject
edu.northwestern.at.monk.model.CoreObject
edu.northwestern.at.monk.model.NegativeCategory
public class NegativeCategory
A negative part of speech category.
| Nested Class Summary | |
|---|---|
static class |
NegativeCategory.Comparator
A multi-column number category comparator |
static class |
NegativeCategory.SortOption
Negative category sorting options. |
| Method Summary | |
|---|---|
static int |
compare(NegativeCategory cat1,
NegativeCategory cat2)
Compares two negative categories with null values permitted. |
int |
compareTo(NegativeCategory other)
Compares this instance with another. |
static java.util.Collection<NegativeCategory> |
find(java.util.Collection<SearchCriterion> criteria)
Finds negative catgories. |
static java.util.Collection<NegativeCategory> |
find(SearchCriteria criteria)
Finds negative categories. |
static java.util.Collection<NegativeCategory> |
find(SearchCriterion... criteria)
Finds negative catgories. |
static NegativeCategory |
get(java.lang.String tag)
Gets a negative category by tag. |
static java.util.Collection<NegativeCategory> |
getAll()
Gets all the negative categories. |
static NegativeCategory[] |
sort(java.util.Collection<NegativeCategory> collection,
NegativeCategory.SortOption... options)
Sorts a collection of negative categories. |
static void |
sort(NegativeCategory[] array,
NegativeCategory.SortOption... options)
Sorts an array of negative categories. |
| Methods inherited from class edu.northwestern.at.monk.model.TaggedObject |
|---|
getTag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NegativeCategory get(java.lang.String tag)
tag - Tag.
public static java.util.Collection<NegativeCategory> getAll()
public static java.util.Collection<NegativeCategory> find(SearchCriterion... criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static java.util.Collection<NegativeCategory> find(java.util.Collection<SearchCriterion> criteria)
throws ModelException
criteria - Collection of search criteria.
sort method.
ModelException -
public static java.util.Collection<NegativeCategory> find(SearchCriteria criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static void sort(NegativeCategory[] array,
NegativeCategory.SortOption... options)
array - Array of negative categories.options - Sort options, or null to use the natural ordering.
public static NegativeCategory[] sort(java.util.Collection<NegativeCategory> collection,
NegativeCategory.SortOption... options)
collection - Collection of negative categories.options - Sort options, or null to use the natural ordering.
public static int compare(NegativeCategory cat1,
NegativeCategory cat2)
Negative categories are ordered in case and diacritical-insensitve increasing alphabetical order by tag. Null values are equal to each other but greater than all other values.
cat1 - First negative category.cat2 - Second negative category.
public int compareTo(NegativeCategory other)
Negative categories are ordered in case and diacritical-insensitve increasing alphabetical order by tag.
compareTo in interface java.lang.Comparable<NegativeCategory>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||