
Package org.hl7.fhir.dstu3.model
Enum Subscription.SubscriptionStatus
- java.lang.Object
-
- java.lang.Enum<Subscription.SubscriptionStatus>
-
- org.hl7.fhir.dstu3.model.Subscription.SubscriptionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<Subscription.SubscriptionStatus>
- Enclosing class:
- Subscription
public static enum Subscription.SubscriptionStatus extends Enum<Subscription.SubscriptionStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The subscription is active.ERROR
The server has an error executing the notification.NULL
added to help the parsers with the generic typesOFF
Too many errors have occurred or the subscription has expired.REQUESTED
The client has requested the subscription, and the server has not yet set it up.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Subscription.SubscriptionStatus
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static Subscription.SubscriptionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static Subscription.SubscriptionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUESTED
public static final Subscription.SubscriptionStatus REQUESTED
The client has requested the subscription, and the server has not yet set it up.
-
ACTIVE
public static final Subscription.SubscriptionStatus ACTIVE
The subscription is active.
-
ERROR
public static final Subscription.SubscriptionStatus ERROR
The server has an error executing the notification.
-
OFF
public static final Subscription.SubscriptionStatus OFF
Too many errors have occurred or the subscription has expired.
-
NULL
public static final Subscription.SubscriptionStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Subscription.SubscriptionStatus[] 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 (Subscription.SubscriptionStatus c : Subscription.SubscriptionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Subscription.SubscriptionStatus valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromCode
public static Subscription.SubscriptionStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-