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