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