public static class Subscription.Channel extends BaseIdentifiableElement implements IResourceBlock
Definition: Details where to send notifications when resources are received that meet the criteria
| Constructor and Description |
|---|
Channel() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getEndpoint()
Gets the value(s) for endpoint ().
|
UriDt |
getEndpointElement()
Gets the value(s) for endpoint ().
|
String |
getHeader()
Gets the value(s) for header ().
|
StringDt |
getHeaderElement()
Gets the value(s) for header ().
|
String |
getPayload()
Gets the value(s) for payload ().
|
StringDt |
getPayloadElement()
Gets the value(s) for payload ().
|
String |
getType()
Gets the value(s) for type ().
|
BoundCodeDt<SubscriptionChannelTypeEnum> |
getTypeElement()
Gets the value(s) for type ().
|
boolean |
isEmpty() |
Subscription.Channel |
setEndpoint(String theUri)
Sets the value for endpoint ()
|
Subscription.Channel |
setEndpoint(UriDt theValue)
Sets the value(s) for endpoint ()
|
Subscription.Channel |
setHeader(String theString)
Sets the value for header ()
|
Subscription.Channel |
setHeader(StringDt theValue)
Sets the value(s) for header ()
|
Subscription.Channel |
setPayload(String theString)
Sets the value for payload ()
|
Subscription.Channel |
setPayload(StringDt theValue)
Sets the value(s) for payload ()
|
Subscription.Channel |
setType(BoundCodeDt<SubscriptionChannelTypeEnum> theValue)
Sets the value(s) for type ()
|
Subscription.Channel |
setType(SubscriptionChannelTypeEnum theValue)
Sets the value(s) for type ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic Channel()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic BoundCodeDt<SubscriptionChannelTypeEnum> getTypeElement()
null.
Definition: The type of channel to send notifications on
public String getType()
null.
Definition: The type of channel to send notifications on
public Subscription.Channel setType(BoundCodeDt<SubscriptionChannelTypeEnum> theValue)
Definition: The type of channel to send notifications on
public Subscription.Channel setType(SubscriptionChannelTypeEnum theValue)
Definition: The type of channel to send notifications on
public UriDt getEndpointElement()
null.
Definition: The uri that describes the actual end-point to send messages to
public String getEndpoint()
null.
Definition: The uri that describes the actual end-point to send messages to
public Subscription.Channel setEndpoint(UriDt theValue)
Definition: The uri that describes the actual end-point to send messages to
public Subscription.Channel setEndpoint(String theUri)
Definition: The uri that describes the actual end-point to send messages to
public StringDt getPayloadElement()
null.
Definition: The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification
public String getPayload()
null.
Definition: The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification
public Subscription.Channel setPayload(StringDt theValue)
Definition: The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification
public Subscription.Channel setPayload(String theString)
Definition: The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification
public StringDt getHeaderElement()
null.
Definition: Additional headers / information to send as part of the notification
public String getHeader()
null.
Definition: Additional headers / information to send as part of the notification
public Subscription.Channel setHeader(StringDt theValue)
Definition: Additional headers / information to send as part of the notification
public Subscription.Channel setHeader(String theString)
Definition: Additional headers / information to send as part of the notification
Copyright © 2014–2016 University Health Network. All rights reserved.