au.org.ala.names.model
Enum ErrorType

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

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

When an error occurs during a recursive search the search does NOT stop. The error is noted and a result is attempted based on the higher level classification. Each error that occurs will be reported in the MetricResultsDTO and will be one of these types. For more discussion of error types see http://code.google.com/p/ala-portal/wiki/ALANames#Error_Types

Author:
Natasha Carter

Enum Constant Summary
AFFINITY_SPECIES
          An aff.
ASSOCIATED_EXCLUDED
          There are 2 species names one is excluded and the other is not
CONFER_SPECIES
          A cf.
EXCLUDED
          The species is excluded from the national species list.
GENERIC
          A generic SearchResultException was detected.
HOMONYM
          A homonym was detected.
INDETERMINATE_SPECIES
          An indeterminate marker was detected and and exact match could not be found.
MATCH_MISAPPLIED
          The original scientific name has been misapplied to another concept in the past - indicates that the matched result is accepted but there is also a misapplied synonym
MISAPPLIED
          The scientific name has been misapplied to a taxon concept in the past.
NONE
          No issue was detected
PARENT_CHILD_SYNONYM
          The parent names has been detected as a synonym of the child - generally occurs when a species is split into 1 or more subspecies
QUESTION_SPECIES
          A low confidence identification of the species was made using a ? indicator.
SPECIES_PLURAL
          An spp.
 
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
An spp. marker was identified.


INDETERMINATE_SPECIES

public static final ErrorType INDETERMINATE_SPECIES
An indeterminate marker was detected and and exact match could not be found.


QUESTION_SPECIES

public static final ErrorType QUESTION_SPECIES
A low confidence identification of the species was made using a ? indicator.


AFFINITY_SPECIES

public static final ErrorType AFFINITY_SPECIES
An aff. marker was detected in the original scientific name.


CONFER_SPECIES

public static final ErrorType CONFER_SPECIES
A cf. marker was detected in the original scientific name


HOMONYM

public static final ErrorType HOMONYM
A homonym was detected.


GENERIC

public static final ErrorType GENERIC
A generic SearchResultException was detected.


PARENT_CHILD_SYNONYM

public static final ErrorType PARENT_CHILD_SYNONYM
The parent names has been detected as a synonym of the child - generally occurs when a species is split into 1 or more subspecies


EXCLUDED

public static final ErrorType EXCLUDED
The species is excluded from the national species list. Usually because it is not found in Australia


ASSOCIATED_EXCLUDED

public static final ErrorType ASSOCIATED_EXCLUDED
There are 2 species names one is excluded and the other is not


MATCH_MISAPPLIED

public static final ErrorType MATCH_MISAPPLIED
The original scientific name has been misapplied to another concept in the past - indicates that the matched result is accepted but there is also a misapplied synonym


MISAPPLIED

public static final ErrorType MISAPPLIED
The scientific name has been misapplied to a taxon concept in the past. The matched concept does NOT exist as an accepted concept.


NONE

public static final ErrorType NONE
No issue was detected

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.