com.mirth.match.client.models
Enum EisSeverity

java.lang.Object
  extended by java.lang.Enum<EisSeverity>
      extended by com.mirth.match.client.models.EisSeverity
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EisSeverity>

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

Copy of mirthmatch-lib com.mirth.match.eis.dto


Enum Constant Summary
ERROR
          Error (2) – Operation was unable to complete for identifiable data or software problems.
INFO
          Informational (0) – Used to relay to the client useful information about the outcome of the call.
SEVERE
          Severe (3) – Operation was unable to complete for system problems, such as “resource allocation failure”, or “hardware failure”, or unidentifiable data or software problems.
UNDEFINED
           
WARNING
          Warning (1) – Operation completed, but some portion did not complete as expected.
 
Method Summary
 boolean isError()
           
 boolean isInfo()
           
 boolean isSevere()
           
 boolean isSuccessful()
           
 boolean isUndefined()
           
 boolean isWarning()
           
static EisSeverity valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EisSeverity[] 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

INFO

public static final EisSeverity INFO
Informational (0) – Used to relay to the client useful information about the outcome of the call. Informational messages are usually indications of successful operations, but other useful purposes do exist.


WARNING

public static final EisSeverity WARNING
Warning (1) – Operation completed, but some portion did not complete as expected.


ERROR

public static final EisSeverity ERROR
Error (2) – Operation was unable to complete for identifiable data or software problems.


SEVERE

public static final EisSeverity SEVERE
Severe (3) – Operation was unable to complete for system problems, such as “resource allocation failure”, or “hardware failure”, or unidentifiable data or software problems.


UNDEFINED

public static final EisSeverity UNDEFINED
Method Detail

values

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

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

valueOf

public static EisSeverity 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

isSuccessful

public boolean isSuccessful()

isUndefined

public boolean isUndefined()

isSevere

public boolean isSevere()

isInfo

public boolean isInfo()

isWarning

public boolean isWarning()

isError

public boolean isError()


Copyright © 2011 Mirth Corp. All Rights Reserved.