edu.mayo.informatics.lexgrid.convert.validator.error
Enum LoadValidationError.Severity

java.lang.Object
  extended by java.lang.Enum<LoadValidationError.Severity>
      extended by edu.mayo.informatics.lexgrid.convert.validator.error.LoadValidationError.Severity
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LoadValidationError.Severity>
Enclosing interface:
LoadValidationError

public static enum LoadValidationError.Severity
extends java.lang.Enum<LoadValidationError.Severity>

The Enum Severity.

Author:
Kevin Peterson

Enum Constant Summary
FATAL
          The FATAL.
NON_FATAL
          The NO n_ fatal.
UNKNOWN
          The UNKNOWN.
 
Method Summary
static LoadValidationError.Severity valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LoadValidationError.Severity[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FATAL

public static final LoadValidationError.Severity FATAL
The FATAL.


NON_FATAL

public static final LoadValidationError.Severity NON_FATAL
The NO n_ fatal.


UNKNOWN

public static final LoadValidationError.Severity UNKNOWN
The UNKNOWN.

Method Detail

values

public static LoadValidationError.Severity[] 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 (LoadValidationError.Severity c : LoadValidationError.Severity.values())
    System.out.println(c);

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

valueOf

public static LoadValidationError.Severity 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

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.