org.LexGrid.LexBIG.DataModel.Core.types
Class LogLevel

java.lang.Object
  extended by org.LexGrid.LexBIG.DataModel.Core.types.LogLevel
All Implemented Interfaces:
java.io.Serializable

public class LogLevel
extends java.lang.Object
implements java.io.Serializable

Class LogLevel.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static LogLevel DEBUG
          The instance of the debug type
static int DEBUG_TYPE
          The debug type
static LogLevel ERROR
          The instance of the error type
static int ERROR_TYPE
          The error type
static LogLevel FATAL
          The instance of the fatal type
static int FATAL_TYPE
          The fatal type
static LogLevel INFO
          The instance of the info type
static int INFO_TYPE
          The info type
static LogLevel WARN
          The instance of the warn type
static int WARN_TYPE
          The warn type
 
Method Summary
static java.util.Enumeration<java.lang.Object> enumerate()
          Method enumerate.Returns an enumeration of all possible instances of LogLevel
 int getType()
          Method getType.Returns the type of this LogLevel
 java.lang.String toString()
          Method toString.Returns the String representation of this LogLevel
static LogLevel valueOf(java.lang.String string)
          Method valueOf.Returns a new LogLevel based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUG_TYPE

public static final int DEBUG_TYPE
The debug type

See Also:
Constant Field Values

DEBUG

public static final LogLevel DEBUG
The instance of the debug type


INFO_TYPE

public static final int INFO_TYPE
The info type

See Also:
Constant Field Values

INFO

public static final LogLevel INFO
The instance of the info type


WARN_TYPE

public static final int WARN_TYPE
The warn type

See Also:
Constant Field Values

WARN

public static final LogLevel WARN
The instance of the warn type


ERROR_TYPE

public static final int ERROR_TYPE
The error type

See Also:
Constant Field Values

ERROR

public static final LogLevel ERROR
The instance of the error type


FATAL_TYPE

public static final int FATAL_TYPE
The fatal type

See Also:
Constant Field Values

FATAL

public static final LogLevel FATAL
The instance of the fatal type

Method Detail

enumerate

public static java.util.Enumeration<java.lang.Object> enumerate()
Method enumerate.Returns an enumeration of all possible instances of LogLevel

Returns:
an Enumeration over all possible instances of LogLeve

getType

public int getType()
Method getType.Returns the type of this LogLevel

Returns:
the type of this LogLevel

toString

public java.lang.String toString()
Method toString.Returns the String representation of this LogLevel

Overrides:
toString in class java.lang.Object
Returns:
the String representation of this LogLevel

valueOf

public static LogLevel valueOf(java.lang.String string)
Method valueOf.Returns a new LogLevel based on the given String value.

Parameters:
string -
Returns:
the LogLevel value of parameter 'string'

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.