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

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

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

Work sorting options.


Enum Constant Summary
AVAILABILITY_ASCENDING
          Availability ascending.
AVAILABILITY_DESCENDING
          Availability descending.
CIRCULATION_YEAR_ASCENDING
          Circulation year ascending.
CIRCULATION_YEAR_DESCENDING
          Circulation year descending.
CORPUS_ASCENDING
          Corpus ascending.
CORPUS_DESCENDING
          Corpus descending.
GENRE_ASCENDING
          Genre ascending.
GENRE_DESCENDING
          Genre descending.
NATURAL
          The natural sorting order - by corpus, then by title.
NUM_AUTHORS_ASCENDING
          Number of authors ascending.
NUM_AUTHORS_DESCENDING
          Number of authors descending.
NUM_SENTENCES_CUM_ASCENDING
          Cumulative number of sentences ascending.
NUM_SENTENCES_CUM_DESCENDING
          Cumulative number of sentences descending.
NUM_SENTENCES_CUM_MAIN_ASCENDING
          Cumulative number of sentences in main text (non-paratext) ascending.
NUM_SENTENCES_CUM_MAIN_DESCENDING
          Cumulative number of sentences in main text (non-paratext) descending.
NUM_SENTENCES_NON_CUM_ASCENDING
          Non-cumulative number of sentences ascending.
NUM_SENTENCES_NON_CUM_DESCENDING
          Non-cumulative number of sentences descending.
NUM_SENTENCES_NON_CUM_MAIN_ASCENDING
          Non-cumulative number of sentences in main text (non-paratext) ascending.
NUM_SENTENCES_NON_CUM_MAIN_DESCENDING
          Non-cumulative number of sentences in main text (non-paratext) descending.
NUM_WORD_PARTS_CUM_ASCENDING
          Cumulative number of word parts ascending.
NUM_WORD_PARTS_CUM_DESCENDING
          Cumulative number of word parts descending.
NUM_WORD_PARTS_CUM_MAIN_ASCENDING
          Cumulative number of word parts in main text (non-paratext) ascending.
NUM_WORD_PARTS_CUM_MAIN_DESCENDING
          Cumulative number of word parts in main text (non-paratext) descending.
NUM_WORD_PARTS_NON_CUM_ASCENDING
          Non-cumulative number of word parts ascending.
NUM_WORD_PARTS_NON_CUM_DESCENDING
          Non-cumulative number of word parts descending.
NUM_WORD_PARTS_NON_CUM_MAIN_ASCENDING
          Non-cumulative number of word parts in main text (non-paratext) ascending.
NUM_WORD_PARTS_NON_CUM_MAIN_DESCENDING
          Non-cumulative number of word parts in main text (non-paratext) descending.
NUM_WORDS_CUM_ASCENDING
          Cumulative number of words ascending.
NUM_WORDS_CUM_DESCENDING
          Cumulative number of words descending.
NUM_WORDS_CUM_MAIN_ASCENDING
          Cumulative number of words in main text (non-paratext) ascending.
NUM_WORDS_CUM_MAIN_DESCENDING
          Cumulative number of words in main text (non-paratext) descending.
NUM_WORDS_NON_CUM_ASCENDING
          Non-cumulative number of words ascending.
NUM_WORDS_NON_CUM_DESCENDING
          Non-cumulative number of words descending.
NUM_WORDS_NON_CUM_MAIN_ASCENDING
          Non-cumulative number of words in main text (non-paratext) ascending.
NUM_WORDS_NON_CUM_MAIN_DESCENDING
          Non-cumulative number of words in main text (non-paratext) descending.
SUBGENRE_ASCENDING
          Subgenre ascending.
SUBGENRE_DESCENDING
          Subgenre descending.
TAG_ASCENDING
          Tag ascending.
TAG_DESCENDING
          Tag descending.
TITLE_ASCENDING
          Stripped title ascending.
TITLE_DESCENDING
          Stripped title descending.
 
Method Summary
static Work.SortOption valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Work.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 Work.SortOption NATURAL
The natural sorting order - by corpus, then by title.


TAG_ASCENDING

public static final Work.SortOption TAG_ASCENDING
Tag ascending.


TAG_DESCENDING

public static final Work.SortOption TAG_DESCENDING
Tag descending.


TITLE_ASCENDING

public static final Work.SortOption TITLE_ASCENDING
Stripped title ascending.


TITLE_DESCENDING

public static final Work.SortOption TITLE_DESCENDING
Stripped title descending.


CORPUS_ASCENDING

public static final Work.SortOption CORPUS_ASCENDING
Corpus ascending.


CORPUS_DESCENDING

public static final Work.SortOption CORPUS_DESCENDING
Corpus descending.


CIRCULATION_YEAR_ASCENDING

public static final Work.SortOption CIRCULATION_YEAR_ASCENDING
Circulation year ascending.


CIRCULATION_YEAR_DESCENDING

public static final Work.SortOption CIRCULATION_YEAR_DESCENDING
Circulation year descending.


GENRE_ASCENDING

public static final Work.SortOption GENRE_ASCENDING
Genre ascending.


GENRE_DESCENDING

public static final Work.SortOption GENRE_DESCENDING
Genre descending.


SUBGENRE_ASCENDING

public static final Work.SortOption SUBGENRE_ASCENDING
Subgenre ascending.


SUBGENRE_DESCENDING

public static final Work.SortOption SUBGENRE_DESCENDING
Subgenre descending.


AVAILABILITY_ASCENDING

public static final Work.SortOption AVAILABILITY_ASCENDING
Availability ascending.


AVAILABILITY_DESCENDING

public static final Work.SortOption AVAILABILITY_DESCENDING
Availability descending.


NUM_AUTHORS_ASCENDING

public static final Work.SortOption NUM_AUTHORS_ASCENDING
Number of authors ascending.


NUM_AUTHORS_DESCENDING

public static final Work.SortOption NUM_AUTHORS_DESCENDING
Number of authors descending.


NUM_WORDS_CUM_ASCENDING

public static final Work.SortOption NUM_WORDS_CUM_ASCENDING
Cumulative number of words ascending.


NUM_WORDS_CUM_DESCENDING

public static final Work.SortOption NUM_WORDS_CUM_DESCENDING
Cumulative number of words descending.


NUM_WORDS_NON_CUM_ASCENDING

public static final Work.SortOption NUM_WORDS_NON_CUM_ASCENDING
Non-cumulative number of words ascending.


NUM_WORDS_NON_CUM_DESCENDING

public static final Work.SortOption NUM_WORDS_NON_CUM_DESCENDING
Non-cumulative number of words descending.


NUM_WORD_PARTS_CUM_ASCENDING

public static final Work.SortOption NUM_WORD_PARTS_CUM_ASCENDING
Cumulative number of word parts ascending.


NUM_WORD_PARTS_CUM_DESCENDING

public static final Work.SortOption NUM_WORD_PARTS_CUM_DESCENDING
Cumulative number of word parts descending.


NUM_WORD_PARTS_NON_CUM_ASCENDING

public static final Work.SortOption NUM_WORD_PARTS_NON_CUM_ASCENDING
Non-cumulative number of word parts ascending.


NUM_WORD_PARTS_NON_CUM_DESCENDING

public static final Work.SortOption NUM_WORD_PARTS_NON_CUM_DESCENDING
Non-cumulative number of word parts descending.


NUM_SENTENCES_CUM_ASCENDING

public static final Work.SortOption NUM_SENTENCES_CUM_ASCENDING
Cumulative number of sentences ascending.


NUM_SENTENCES_CUM_DESCENDING

public static final Work.SortOption NUM_SENTENCES_CUM_DESCENDING
Cumulative number of sentences descending.


NUM_SENTENCES_NON_CUM_ASCENDING

public static final Work.SortOption NUM_SENTENCES_NON_CUM_ASCENDING
Non-cumulative number of sentences ascending.


NUM_SENTENCES_NON_CUM_DESCENDING

public static final Work.SortOption NUM_SENTENCES_NON_CUM_DESCENDING
Non-cumulative number of sentences descending.


NUM_WORDS_CUM_MAIN_ASCENDING

public static final Work.SortOption NUM_WORDS_CUM_MAIN_ASCENDING
Cumulative number of words in main text (non-paratext) ascending.


NUM_WORDS_CUM_MAIN_DESCENDING

public static final Work.SortOption NUM_WORDS_CUM_MAIN_DESCENDING
Cumulative number of words in main text (non-paratext) descending.


NUM_WORDS_NON_CUM_MAIN_ASCENDING

public static final Work.SortOption NUM_WORDS_NON_CUM_MAIN_ASCENDING
Non-cumulative number of words in main text (non-paratext) ascending.


NUM_WORDS_NON_CUM_MAIN_DESCENDING

public static final Work.SortOption NUM_WORDS_NON_CUM_MAIN_DESCENDING
Non-cumulative number of words in main text (non-paratext) descending.


NUM_WORD_PARTS_CUM_MAIN_ASCENDING

public static final Work.SortOption NUM_WORD_PARTS_CUM_MAIN_ASCENDING
Cumulative number of word parts in main text (non-paratext) ascending.


NUM_WORD_PARTS_CUM_MAIN_DESCENDING

public static final Work.SortOption NUM_WORD_PARTS_CUM_MAIN_DESCENDING
Cumulative number of word parts in main text (non-paratext) descending.


NUM_WORD_PARTS_NON_CUM_MAIN_ASCENDING

public static final Work.SortOption NUM_WORD_PARTS_NON_CUM_MAIN_ASCENDING
Non-cumulative number of word parts in main text (non-paratext) ascending.


NUM_WORD_PARTS_NON_CUM_MAIN_DESCENDING

public static final Work.SortOption NUM_WORD_PARTS_NON_CUM_MAIN_DESCENDING
Non-cumulative number of word parts in main text (non-paratext) descending.


NUM_SENTENCES_CUM_MAIN_ASCENDING

public static final Work.SortOption NUM_SENTENCES_CUM_MAIN_ASCENDING
Cumulative number of sentences in main text (non-paratext) ascending.


NUM_SENTENCES_CUM_MAIN_DESCENDING

public static final Work.SortOption NUM_SENTENCES_CUM_MAIN_DESCENDING
Cumulative number of sentences in main text (non-paratext) descending.


NUM_SENTENCES_NON_CUM_MAIN_ASCENDING

public static final Work.SortOption NUM_SENTENCES_NON_CUM_MAIN_ASCENDING
Non-cumulative number of sentences in main text (non-paratext) ascending.


NUM_SENTENCES_NON_CUM_MAIN_DESCENDING

public static final Work.SortOption NUM_SENTENCES_NON_CUM_MAIN_DESCENDING
Non-cumulative number of sentences in main text (non-paratext) descending.

Method Detail

values

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