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

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

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

Author sorting options.


Enum Constant Summary
BIRTH_YEAR_ASCENDING
          Birth year ascending.
BIRTH_YEAR_DESCENDING
          Birth year descending.
DEATH_YEAR_ASCENDING
          Death year ascending.
DEATH_YEAR_DESCENDING
          Death year descending.
FLOURISHED_ASCENDING
          Flourished ascending.
FLOURISHED_DESCENDING
          Flourished descending.
GENDER_ASCENDING
          Gender ascending.
GENDER_DESCENDING
          Gender descending.
NAME_ASCENDING
          Name ascending.
NAME_DESCENDING
          Name descending.
NATURAL
          The natural sorting order - by name ascending.
NUM_CORPORA_ASCENDING
          Number of corpora ascending.
NUM_CORPORA_DESCENDING
          Number of corpora descending.
NUM_SENTENCES_ASCENDING
          Number of sentences ascending.
NUM_SENTENCES_DESCENDING
          Number of sentences descending.
NUM_SENTENCES_MAIN_ASCENDING
          Number of sentences in main text (non-paratext) ascending.
NUM_SENTENCES_MAIN_DESCENDING
          Number of sentences in main text (non-paratext) descending.
NUM_WORD_PARTS_ASCENDING
          Number of word parts ascending.
NUM_WORD_PARTS_DESCENDING
          Number of word parts descending.
NUM_WORD_PARTS_MAIN_ASCENDING
          Number of word parts in main text (non-paratext) ascending.
NUM_WORD_PARTS_MAIN_DESCENDING
          Number of word parts in main text (non-paratext) descending.
NUM_WORDS_ASCENDING
          Number of words ascending.
NUM_WORDS_DESCENDING
          Number of words descending.
NUM_WORDS_MAIN_ASCENDING
          Number of words in main text (non-paratext) ascending.
NUM_WORDS_MAIN_DESCENDING
          Number of words in main text (non-paratext) descending.
NUM_WORKS_ASCENDING
          Number of works ascending.
NUM_WORKS_DESCENDING
          Number of works descending.
ORIGIN_ASCENDING
          Origin ascending.
ORIGIN_DESCENDING
          Origin descending.
TAG_ASCENDING
          Tag ascending.
TAG_DESCENDING
          Tag descending.
 
Method Summary
static Author.SortOption valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Author.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 Author.SortOption NATURAL
The natural sorting order - by name ascending.


TAG_ASCENDING

public static final Author.SortOption TAG_ASCENDING
Tag ascending.


TAG_DESCENDING

public static final Author.SortOption TAG_DESCENDING
Tag descending.


NAME_ASCENDING

public static final Author.SortOption NAME_ASCENDING
Name ascending.


NAME_DESCENDING

public static final Author.SortOption NAME_DESCENDING
Name descending.


BIRTH_YEAR_ASCENDING

public static final Author.SortOption BIRTH_YEAR_ASCENDING
Birth year ascending.


BIRTH_YEAR_DESCENDING

public static final Author.SortOption BIRTH_YEAR_DESCENDING
Birth year descending.


DEATH_YEAR_ASCENDING

public static final Author.SortOption DEATH_YEAR_ASCENDING
Death year ascending.


DEATH_YEAR_DESCENDING

public static final Author.SortOption DEATH_YEAR_DESCENDING
Death year descending.


FLOURISHED_ASCENDING

public static final Author.SortOption FLOURISHED_ASCENDING
Flourished ascending.


FLOURISHED_DESCENDING

public static final Author.SortOption FLOURISHED_DESCENDING
Flourished descending.


ORIGIN_ASCENDING

public static final Author.SortOption ORIGIN_ASCENDING
Origin ascending.


ORIGIN_DESCENDING

public static final Author.SortOption ORIGIN_DESCENDING
Origin descending.


GENDER_ASCENDING

public static final Author.SortOption GENDER_ASCENDING
Gender ascending.


GENDER_DESCENDING

public static final Author.SortOption GENDER_DESCENDING
Gender descending.


NUM_WORKS_ASCENDING

public static final Author.SortOption NUM_WORKS_ASCENDING
Number of works ascending.


NUM_WORKS_DESCENDING

public static final Author.SortOption NUM_WORKS_DESCENDING
Number of works descending.


NUM_CORPORA_ASCENDING

public static final Author.SortOption NUM_CORPORA_ASCENDING
Number of corpora ascending.


NUM_CORPORA_DESCENDING

public static final Author.SortOption NUM_CORPORA_DESCENDING
Number of corpora descending.


NUM_WORDS_ASCENDING

public static final Author.SortOption NUM_WORDS_ASCENDING
Number of words ascending.


NUM_WORDS_DESCENDING

public static final Author.SortOption NUM_WORDS_DESCENDING
Number of words descending.


NUM_WORD_PARTS_ASCENDING

public static final Author.SortOption NUM_WORD_PARTS_ASCENDING
Number of word parts ascending.


NUM_WORD_PARTS_DESCENDING

public static final Author.SortOption NUM_WORD_PARTS_DESCENDING
Number of word parts descending.


NUM_SENTENCES_ASCENDING

public static final Author.SortOption NUM_SENTENCES_ASCENDING
Number of sentences ascending.


NUM_SENTENCES_DESCENDING

public static final Author.SortOption NUM_SENTENCES_DESCENDING
Number of sentences descending.


NUM_WORDS_MAIN_ASCENDING

public static final Author.SortOption NUM_WORDS_MAIN_ASCENDING
Number of words in main text (non-paratext) ascending.


NUM_WORDS_MAIN_DESCENDING

public static final Author.SortOption NUM_WORDS_MAIN_DESCENDING
Number of words in main text (non-paratext) descending.


NUM_WORD_PARTS_MAIN_ASCENDING

public static final Author.SortOption NUM_WORD_PARTS_MAIN_ASCENDING
Number of word parts in main text (non-paratext) ascending.


NUM_WORD_PARTS_MAIN_DESCENDING

public static final Author.SortOption NUM_WORD_PARTS_MAIN_DESCENDING
Number of word parts in main text (non-paratext) descending.


NUM_SENTENCES_MAIN_ASCENDING

public static final Author.SortOption NUM_SENTENCES_MAIN_ASCENDING
Number of sentences in main text (non-paratext) ascending.


NUM_SENTENCES_MAIN_DESCENDING

public static final Author.SortOption NUM_SENTENCES_MAIN_DESCENDING
Number of sentences in main text (non-paratext) descending.

Method Detail

values

public static final Author.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(Author.SortOption c : Author.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 Author.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