public enum ResponseTypeEnum extends Enum<ResponseTypeEnum>
| Enum Constant and Description |
|---|
FATAL_ERROR
Display: Fatal Error
Code Value: fatal-error The message was rejected because of some content in it. |
OK
Display: OK
Code Value: ok The message was accepted and processed without error. |
TRANSIENT_ERROR
Display: Transient Error
Code Value: transient-error Some internal unexpected error occurred - wait and try again. |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<ResponseTypeEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
ResponseType
|
| Modifier and Type | Method and Description |
|---|---|
static ResponseTypeEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static ResponseTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseTypeEnum OK
public static final ResponseTypeEnum TRANSIENT_ERROR
public static final ResponseTypeEnum FATAL_ERROR
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<ResponseTypeEnum> VALUESET_BINDER
public static ResponseTypeEnum[] values()
for (ResponseTypeEnum c : ResponseTypeEnum.values()) System.out.println(c);
public static ResponseTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ResponseTypeEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.