Class Subscription.Channel

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Subscription.Channel
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
Subscription

public static class Subscription.Channel extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Subscription.channel ()

Definition: Details where to send notifications when resources are received that meet the criteria

See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getTypeElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<SubscriptionChannelTypeEnum> getTypeElement()
      Gets the value(s) for type (). creating it if it does not exist. Will not return null.

      Definition: The type of channel to send notifications on

    • getType

      public String getType()
      Gets the value(s) for type (). creating it if it does not exist. This method may return null.

      Definition: The type of channel to send notifications on

    • setType

      public Subscription.Channel setType(ca.uhn.fhir.model.primitive.BoundCodeDt<SubscriptionChannelTypeEnum> theValue)
      Sets the value(s) for type ()

      Definition: The type of channel to send notifications on

    • setType

      Sets the value(s) for type ()

      Definition: The type of channel to send notifications on

    • getEndpointElement

      public ca.uhn.fhir.model.primitive.UriDt getEndpointElement()
      Gets the value(s) for endpoint (). creating it if it does not exist. Will not return null.

      Definition: The uri that describes the actual end-point to send messages to

    • getEndpoint

      public String getEndpoint()
      Gets the value(s) for endpoint (). creating it if it does not exist. This method may return null.

      Definition: The uri that describes the actual end-point to send messages to

    • setEndpoint

      public Subscription.Channel setEndpoint(ca.uhn.fhir.model.primitive.UriDt theValue)
      Sets the value(s) for endpoint ()

      Definition: The uri that describes the actual end-point to send messages to

    • setEndpoint

      Sets the value for endpoint ()

      Definition: The uri that describes the actual end-point to send messages to

    • getPayloadElement

      public ca.uhn.fhir.model.primitive.StringDt getPayloadElement()
      Gets the value(s) for payload (). creating it if it does not exist. Will not return 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

    • getPayload

      public String getPayload()
      Gets the value(s) for payload (). creating it if it does not exist. This method may return 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

    • setPayload

      public Subscription.Channel setPayload(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for payload ()

      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

    • setPayload

      public Subscription.Channel setPayload(String theString)
      Sets the value for payload ()

      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

    • getHeaderElement

      public ca.uhn.fhir.model.primitive.StringDt getHeaderElement()
      Gets the value(s) for header (). creating it if it does not exist. Will not return null.

      Definition: Additional headers / information to send as part of the notification

    • getHeader

      public String getHeader()
      Gets the value(s) for header (). creating it if it does not exist. This method may return null.

      Definition: Additional headers / information to send as part of the notification

    • setHeader

      public Subscription.Channel setHeader(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for header ()

      Definition: Additional headers / information to send as part of the notification

    • setHeader

      public Subscription.Channel setHeader(String theString)
      Sets the value for header ()

      Definition: Additional headers / information to send as part of the notification