|
||||||||
| 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.CaseCategory
public class CaseCategory
A case part of speech category.
| Nested Class Summary | |
|---|---|
static class |
CaseCategory.Comparator
A multi-column case category comparator. |
static class |
CaseCategory.SortOption
Case category sorting options. |
| Method Summary | |
|---|---|
static int |
compare(CaseCategory cat1,
CaseCategory cat2)
Compares two case categories with null values permitted. |
int |
compareTo(CaseCategory other)
Compares this instance with another. |
static java.util.Collection<CaseCategory> |
find(java.util.Collection<SearchCriterion> criteria)
Finds case categories. |
static java.util.Collection<CaseCategory> |
find(SearchCriteria criteria)
Finds case categories. |
static java.util.Collection<CaseCategory> |
find(SearchCriterion... criteria)
Finds case categories. |
static CaseCategory |
get(java.lang.String tag)
Gets a case category by tag. |
static java.util.Collection<CaseCategory> |
getAll()
Gets all the case categories. |
static void |
sort(CaseCategory[] array,
CaseCategory.SortOption... options)
Sorts an array of case categories. |
static CaseCategory[] |
sort(java.util.Collection<CaseCategory> collection,
CaseCategory.SortOption... options)
Sorts a collection of case 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 CaseCategory get(java.lang.String tag)
tag - Tag.
public static java.util.Collection<CaseCategory> getAll()
public static java.util.Collection<CaseCategory> find(SearchCriterion... criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static java.util.Collection<CaseCategory> find(java.util.Collection<SearchCriterion> criteria)
throws ModelException
criteria - Collection of search criteria.
sort method.
ModelException -
public static java.util.Collection<CaseCategory> find(SearchCriteria criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static void sort(CaseCategory[] array,
CaseCategory.SortOption... options)
array - Array of case categories.options - Sort options, or null to use the natural ordering.
public static CaseCategory[] sort(java.util.Collection<CaseCategory> collection,
CaseCategory.SortOption... options)
collection - Collection of case categories.options - Sort options, or null to use the natural ordering.
public static int compare(CaseCategory cat1,
CaseCategory cat2)
Case 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 case category.cat2 - Second case category.
public int compareTo(CaseCategory other)
Case categories are ordered in case and diacritical-insensitve increasing alphabetical order by tag.
compareTo in interface java.lang.Comparable<CaseCategory>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||