Package ca.uhn.fhir.model.dstu2.valueset
Enum SubscriptionChannelTypeEnum
- java.lang.Object
-
- java.lang.Enum<SubscriptionChannelTypeEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SubscriptionChannelTypeEnum>
public enum SubscriptionChannelTypeEnum extends Enum<SubscriptionChannelTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAILDisplay: Email
Code Value: email The channel is executed by sending an email to the email addressed in the URI (which must be a mailto:).MESSAGEDisplay: Message
Code Value: message The channel is executed by sending a message (e.g.REST_HOOKDisplay: Rest Hook
Code Value: rest-hook The channel is executed by making a post to the URI.SMSDisplay: SMS
Code Value: sms The channel is executed by sending an SMS message to the phone number identified in the URL (tel:).WEBSOCKETDisplay: Websocket
Code Value: websocket The channel is executed by sending a packet across a web socket connection maintained by the client.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<SubscriptionChannelTypeEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: SubscriptionChannelType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionChannelTypeEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic SubscriptionChannelTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SubscriptionChannelTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REST_HOOK
public static final SubscriptionChannelTypeEnum REST_HOOK
Display: Rest Hook
Code Value: rest-hook The channel is executed by making a post to the URI. If a payload is included, the URL is interpreted as the service base, and an update (PUT) is made.
-
WEBSOCKET
public static final SubscriptionChannelTypeEnum WEBSOCKET
Display: Websocket
Code Value: websocket The channel is executed by sending a packet across a web socket connection maintained by the client. The URL identifies the websocket, and the client binds to this URL.
-
EMAIL
public static final SubscriptionChannelTypeEnum EMAIL
Display: Email
Code Value: email The channel is executed by sending an email to the email addressed in the URI (which must be a mailto:).
-
SMS
public static final SubscriptionChannelTypeEnum SMS
Display: SMS
Code Value: sms The channel is executed by sending an SMS message to the phone number identified in the URL (tel:).
-
MESSAGE
public static final SubscriptionChannelTypeEnum MESSAGE
Display: Message
Code Value: message The channel is executed by sending a message (e.g. a Bundle with a MessageHeader resource etc.) to the application identified in the URI.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: SubscriptionChannelType- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<SubscriptionChannelTypeEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static SubscriptionChannelTypeEnum[] 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 (SubscriptionChannelTypeEnum c : SubscriptionChannelTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionChannelTypeEnum 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
-
forCode
public static SubscriptionChannelTypeEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-