public enum SubscriptionStatusEnum extends Enum<SubscriptionStatusEnum>
| Enum Constant and Description |
|---|
ACTIVE
Display: Active
Code Value: active The subscription is active. |
ERROR
Display: Error
Code Value: error The server has an error executing the notification. |
OFF
Display: Off
Code Value: off Too many errors have occurred or the subscription has expired. |
REQUESTED
Display: Requested
Code Value: requested The client has requested the subscription, and the server has not yet set it up. |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<SubscriptionStatusEnum> |
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:
SubscriptionStatus
|
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionStatusEnum |
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 SubscriptionStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionStatusEnum REQUESTED
public static final SubscriptionStatusEnum ACTIVE
public static final SubscriptionStatusEnum ERROR
public static final SubscriptionStatusEnum OFF
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<SubscriptionStatusEnum> VALUESET_BINDER
public static SubscriptionStatusEnum[] values()
for (SubscriptionStatusEnum c : SubscriptionStatusEnum.values()) System.out.println(c);
public static SubscriptionStatusEnum 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 SubscriptionStatusEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.