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