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

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

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

Work part sorting options.


Enum Constant Summary
LEVEL_ASCENDING
          Work ordinal ascending.
LEVEL_DESCENDING
          Work ordinal descending.
NATURAL
          The natural sorting order - by corpus, title, then work ordinal.
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.
TAG_ASCENDING
          Tag ascending.
TAG_DESCENDING
          Tag descending.
TITLE_ASCENDING
          Stripped title ascending.
TITLE_DESCENDING
          Stripped title descending.
TYPE_ASCENDING
          Type ascending.
TYPE_DESCENDING
          Type descending.
WORK_ASCENDING
          Work ascending.
WORK_DESCENDING
          Work descending.
WORK_ORDINAL_ASCENDING
          Work ordinal ascending.
WORK_ORDINAL_DESCENDING
          Work ordinal descending.
 
Method Summary
static WorkPart.SortOption valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WorkPart.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 WorkPart.SortOption NATURAL
The natural sorting order - by corpus, title, then work ordinal.


TAG_ASCENDING

public static final WorkPart.SortOption TAG_ASCENDING
Tag ascending.


TAG_DESCENDING

public static final WorkPart.SortOption TAG_DESCENDING
Tag descending.


TITLE_ASCENDING

public static final WorkPart.SortOption TITLE_ASCENDING
Stripped title ascending.


TITLE_DESCENDING

public static final WorkPart.SortOption TITLE_DESCENDING
Stripped title descending.


TYPE_ASCENDING

public static final WorkPart.SortOption TYPE_ASCENDING
Type ascending.


TYPE_DESCENDING

public static final WorkPart.SortOption TYPE_DESCENDING
Type descending.


WORK_ASCENDING

public static final WorkPart.SortOption WORK_ASCENDING
Work ascending.


WORK_DESCENDING

public static final WorkPart.SortOption WORK_DESCENDING
Work descending.


WORK_ORDINAL_ASCENDING

public static final WorkPart.SortOption WORK_ORDINAL_ASCENDING
Work ordinal ascending.


WORK_ORDINAL_DESCENDING

public static final WorkPart.SortOption WORK_ORDINAL_DESCENDING
Work ordinal descending.


LEVEL_ASCENDING

public static final WorkPart.SortOption LEVEL_ASCENDING
Work ordinal ascending.


LEVEL_DESCENDING

public static final WorkPart.SortOption LEVEL_DESCENDING
Work ordinal descending.


NUM_WORDS_CUM_ASCENDING

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


NUM_WORDS_CUM_DESCENDING

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


NUM_WORDS_NON_CUM_ASCENDING

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


NUM_WORDS_NON_CUM_DESCENDING

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


NUM_WORD_PARTS_CUM_ASCENDING

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


NUM_WORD_PARTS_CUM_DESCENDING

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


NUM_WORD_PARTS_NON_CUM_ASCENDING

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


NUM_WORD_PARTS_NON_CUM_DESCENDING

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


NUM_SENTENCES_CUM_ASCENDING

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


NUM_SENTENCES_CUM_DESCENDING

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


NUM_SENTENCES_NON_CUM_ASCENDING

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


NUM_SENTENCES_NON_CUM_DESCENDING

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


NUM_WORDS_CUM_MAIN_ASCENDING

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


NUM_WORDS_CUM_MAIN_DESCENDING

public static final WorkPart.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 WorkPart.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 WorkPart.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 WorkPart.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 WorkPart.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 WorkPart.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 WorkPart.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 WorkPart.SortOption NUM_SENTENCES_CUM_MAIN_ASCENDING
Cumulative number of sentences in main text (non-paratext) ascending.


NUM_SENTENCES_CUM_MAIN_DESCENDING

public static final WorkPart.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 WorkPart.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 WorkPart.SortOption NUM_SENTENCES_NON_CUM_MAIN_DESCENDING
Non-cumulative number of sentences in main text (non-paratext) descending.

Method Detail

values

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