edu.northwestern.at.monk.model
Enum Word.SortOption

java.lang.Object
  extended by java.lang.Enum<Word.SortOption>
      extended by edu.northwestern.at.monk.model.Word.SortOption
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Word.SortOption>
Enclosing class:
Word

public static enum Word.SortOption
extends java.lang.Enum<Word.SortOption>

Word sorting options.


Enum Constant Summary
COLLOCATION_ORDINAL_ASCENDING
          Collocation ordinal ascending.
COLLOCATION_ORDINAL_DESCENDING
          Collocation ordinal descending.
CORPUS_ASCENDING
          Corpus ascending.
CORPUS_DESCENDING
          Corpus descending.
LEMMA_ASCENDING
          First lemma ascending.
LEMMA_DESCENDING
          First lemma descending.
NATURAL
          The natural sorting order - first by corpus, then by work, then by work ordinal.
NUM_WORD_PARTS_ASCENDING
          Num word parts ascending.
NUM_WORD_PARTS_DESCENDING
          Num word parts descending.
POS_ASCENDING
          First part of speech ascending.
POS_DESCENDING
          First part of speech descending.
SENTENCE_IN_WORK_ORDINAL_ASCENDING
          Sentence in work ordinal ascending.
SENTENCE_IN_WORK_ORDINAL_DESCENDING
          Sentence in work ordinal descending.
SPELLING_ASCENDING
          Spelling ascending.
SPELLING_DESCENDING
          Spelling descending.
TAG_ASCENDING
          Tag ascending.
TAG_DESCENDING
          Tag descending.
WORD_IN_SENTENCE_ORDINAL_ASCENDING
          Word in sentence ordinal ascending.
WORD_IN_SENTENCE_ORDINAL_DESCENDING
          Word in sentence ordinal descending.
WORK_ASCENDING
          Work ascending.
WORK_DESCENDING
          Work descending.
WORK_ORDINAL_ASCENDING
          Work ordinal ascending.
WORK_ORDINAL_DESCENDING
          Work ordinal descending.
WORK_PART_ASCENDING
          Work part ascending.
WORK_PART_DESCENDING
          Work part descending.
 
Method Summary
static Word.SortOption valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Word.SortOption[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NATURAL

public static final Word.SortOption NATURAL
The natural sorting order - first by corpus, then by work, then by work ordinal.


TAG_ASCENDING

public static final Word.SortOption TAG_ASCENDING
Tag ascending.


TAG_DESCENDING

public static final Word.SortOption TAG_DESCENDING
Tag descending.


CORPUS_ASCENDING

public static final Word.SortOption CORPUS_ASCENDING
Corpus ascending.


CORPUS_DESCENDING

public static final Word.SortOption CORPUS_DESCENDING
Corpus descending.


WORK_ASCENDING

public static final Word.SortOption WORK_ASCENDING
Work ascending.


WORK_DESCENDING

public static final Word.SortOption WORK_DESCENDING
Work descending.


WORK_PART_ASCENDING

public static final Word.SortOption WORK_PART_ASCENDING
Work part ascending.


WORK_PART_DESCENDING

public static final Word.SortOption WORK_PART_DESCENDING
Work part descending.


LEMMA_ASCENDING

public static final Word.SortOption LEMMA_ASCENDING
First lemma ascending.


LEMMA_DESCENDING

public static final Word.SortOption LEMMA_DESCENDING
First lemma descending.


POS_ASCENDING

public static final Word.SortOption POS_ASCENDING
First part of speech ascending.


POS_DESCENDING

public static final Word.SortOption POS_DESCENDING
First part of speech descending.


SPELLING_ASCENDING

public static final Word.SortOption SPELLING_ASCENDING
Spelling ascending.


SPELLING_DESCENDING

public static final Word.SortOption SPELLING_DESCENDING
Spelling descending.


NUM_WORD_PARTS_ASCENDING

public static final Word.SortOption NUM_WORD_PARTS_ASCENDING
Num word parts ascending.


NUM_WORD_PARTS_DESCENDING

public static final Word.SortOption NUM_WORD_PARTS_DESCENDING
Num word parts descending.


WORK_ORDINAL_ASCENDING

public static final Word.SortOption WORK_ORDINAL_ASCENDING
Work ordinal ascending.


WORK_ORDINAL_DESCENDING

public static final Word.SortOption WORK_ORDINAL_DESCENDING
Work ordinal descending.


COLLOCATION_ORDINAL_ASCENDING

public static final Word.SortOption COLLOCATION_ORDINAL_ASCENDING
Collocation ordinal ascending.


COLLOCATION_ORDINAL_DESCENDING

public static final Word.SortOption COLLOCATION_ORDINAL_DESCENDING
Collocation ordinal descending.


SENTENCE_IN_WORK_ORDINAL_ASCENDING

public static final Word.SortOption SENTENCE_IN_WORK_ORDINAL_ASCENDING
Sentence in work ordinal ascending.


SENTENCE_IN_WORK_ORDINAL_DESCENDING

public static final Word.SortOption SENTENCE_IN_WORK_ORDINAL_DESCENDING
Sentence in work ordinal descending.


WORD_IN_SENTENCE_ORDINAL_ASCENDING

public static final Word.SortOption WORD_IN_SENTENCE_ORDINAL_ASCENDING
Word in sentence ordinal ascending.


WORD_IN_SENTENCE_ORDINAL_DESCENDING

public static final Word.SortOption WORD_IN_SENTENCE_ORDINAL_DESCENDING
Word in sentence ordinal descending.

Method Detail

values

public static final Word.SortOption[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Word.SortOption c : Word.SortOption.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Word.SortOption valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name