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

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

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

Part of speech sorting options.


Enum Constant Summary
CASE_ASCENDING
          Case ascending.
CASE_DESCENDING
          Case descending.
DEGREE_ASCENDING
          Degree ascending.
DEGREE_DESCENDING
          Degree descending.
MOOD_ASCENDING
          Mood ascending.
MOOD_DESCENDING
          Mood descending.
NATURAL
          The natural sorting order - by tag ascending.
NEGATIVE_ASCENDING
          Negative ascending.
NEGATIVE_DESCENDING
          Negative descending.
NUMBER_ASCENDING
          Number ascending.
NUMBER_DESCENDING
          Number descending.
PERSON_ASCENDING
          Person ascending.
PERSON_DESCENDING
          Person descending.
SYNTAX_ASCENDING
          Syntax ascending.
SYNTAX_DESCENDING
          Syntax descending.
TAG_ASCENDING
          Tag ascending.
TAG_DESCENDING
          Tag descending.
TENSE_ASCENDING
          Tense ascending.
TENSE_DESCENDING
          Tense descending.
WORD_CLASS_ASCENDING
          Word class ascending.
WORD_CLASS_DESCENDING
          Word class descending.
 
Method Summary
static Pos.SortOption valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Pos.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 Pos.SortOption NATURAL
The natural sorting order - by tag ascending.


TAG_ASCENDING

public static final Pos.SortOption TAG_ASCENDING
Tag ascending.


TAG_DESCENDING

public static final Pos.SortOption TAG_DESCENDING
Tag descending.


WORD_CLASS_ASCENDING

public static final Pos.SortOption WORD_CLASS_ASCENDING
Word class ascending.


WORD_CLASS_DESCENDING

public static final Pos.SortOption WORD_CLASS_DESCENDING
Word class descending.


SYNTAX_ASCENDING

public static final Pos.SortOption SYNTAX_ASCENDING
Syntax ascending.


SYNTAX_DESCENDING

public static final Pos.SortOption SYNTAX_DESCENDING
Syntax descending.


TENSE_ASCENDING

public static final Pos.SortOption TENSE_ASCENDING
Tense ascending.


TENSE_DESCENDING

public static final Pos.SortOption TENSE_DESCENDING
Tense descending.


MOOD_ASCENDING

public static final Pos.SortOption MOOD_ASCENDING
Mood ascending.


MOOD_DESCENDING

public static final Pos.SortOption MOOD_DESCENDING
Mood descending.


CASE_ASCENDING

public static final Pos.SortOption CASE_ASCENDING
Case ascending.


CASE_DESCENDING

public static final Pos.SortOption CASE_DESCENDING
Case descending.


PERSON_ASCENDING

public static final Pos.SortOption PERSON_ASCENDING
Person ascending.


PERSON_DESCENDING

public static final Pos.SortOption PERSON_DESCENDING
Person descending.


NUMBER_ASCENDING

public static final Pos.SortOption NUMBER_ASCENDING
Number ascending.


NUMBER_DESCENDING

public static final Pos.SortOption NUMBER_DESCENDING
Number descending.


DEGREE_ASCENDING

public static final Pos.SortOption DEGREE_ASCENDING
Degree ascending.


DEGREE_DESCENDING

public static final Pos.SortOption DEGREE_DESCENDING
Degree descending.


NEGATIVE_ASCENDING

public static final Pos.SortOption NEGATIVE_ASCENDING
Negative ascending.


NEGATIVE_DESCENDING

public static final Pos.SortOption NEGATIVE_DESCENDING
Negative descending.

Method Detail

values

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