au.org.ala.checklist.lucene.model
Enum ErrorType

java.lang.Object
  extended by java.lang.Enum<ErrorType>
      extended by au.org.ala.checklist.lucene.model.ErrorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ErrorType>

public enum ErrorType
extends java.lang.Enum<ErrorType>

The error type that occurred at a lower level in the match Only used for recursive matches.

Author:
Natasha Carter

Enum Constant Summary
AFFINITY_SPECIES
           
ASSOCIATED_EXCLUDED
           
CONFER_SPECIES
           
EXCLUDED
           
GENERIC
           
HOMONYM
           
INDETERMINATE_SPECIES
           
MATCH_MISAPPLIED
           
MISAPPLIED
           
NONE
           
PARENT_CHILD_SYNONYM
           
QUESTION_SPECIES
           
SPECIES_PLURAL
           
 
Method Summary
 java.lang.String toString()
           
static ErrorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ErrorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SPECIES_PLURAL

public static final ErrorType SPECIES_PLURAL

INDETERMINATE_SPECIES

public static final ErrorType INDETERMINATE_SPECIES

QUESTION_SPECIES

public static final ErrorType QUESTION_SPECIES

AFFINITY_SPECIES

public static final ErrorType AFFINITY_SPECIES

CONFER_SPECIES

public static final ErrorType CONFER_SPECIES

HOMONYM

public static final ErrorType HOMONYM

GENERIC

public static final ErrorType GENERIC

PARENT_CHILD_SYNONYM

public static final ErrorType PARENT_CHILD_SYNONYM

EXCLUDED

public static final ErrorType EXCLUDED

ASSOCIATED_EXCLUDED

public static final ErrorType ASSOCIATED_EXCLUDED

MATCH_MISAPPLIED

public static final ErrorType MATCH_MISAPPLIED

MISAPPLIED

public static final ErrorType MISAPPLIED

NONE

public static final ErrorType NONE
Method Detail

values

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

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

valueOf

public static ErrorType 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
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ErrorType>


Copyright © 2014. All Rights Reserved.