biz.c24.io.api.data
Class ValidationSeverityEnum

java.lang.Object
  extended by biz.c24.io.api.data.ValidationSeverityEnum
All Implemented Interfaces:
Serializable, Comparable

public final class ValidationSeverityEnum
extends Object
implements Serializable, Comparable

An enumeration of the valid validation severities.

See Also:
Serialized Form

Field Summary
static ValidationSeverityEnum ERROR
          Specifies the 'error' level, the most common validation level used.
static ValidationSeverityEnum FATAL
          Specifies the 'fatal' level, the most serious validation level.
static ValidationSeverityEnum WARN
          Specifies the 'warning' level, the most trivial validation level.
 
Method Summary
 int compareTo(Object o)
           
static ValidationSeverityEnum[] getEnumArray()
          Returns an array containing the members of this enumeration.
static ValidationSeverityEnum getEnumValue(String name)
          Returns the enumeration value called name.
 String getName()
          Returns the name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WARN

public static final ValidationSeverityEnum WARN
Specifies the 'warning' level, the most trivial validation level.


ERROR

public static final ValidationSeverityEnum ERROR
Specifies the 'error' level, the most common validation level used.


FATAL

public static final ValidationSeverityEnum FATAL
Specifies the 'fatal' level, the most serious validation level.

Method Detail

getName

public String getName()
Returns the name.

Returns:
The name.

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getEnumArray

public static ValidationSeverityEnum[] getEnumArray()
Returns an array containing the members of this enumeration.

Returns:
The enumeration as an array.

getEnumValue

public static ValidationSeverityEnum getEnumValue(String name)
Returns the enumeration value called name.

Parameters:
name - The name of the enumeration value to return.
Returns:
The enumeration value or null if none was found.


C24 Technologies © 2002-2012: All Rights Reserved.