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 Summary
Constructors Constructor Description Channel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetEndpoint()Gets the value(s) for endpoint ().ca.uhn.fhir.model.primitive.UriDtgetEndpointElement()Gets the value(s) for endpoint ().StringgetHeader()Gets the value(s) for header ().ca.uhn.fhir.model.primitive.StringDtgetHeaderElement()Gets the value(s) for header ().StringgetPayload()Gets the value(s) for payload ().ca.uhn.fhir.model.primitive.StringDtgetPayloadElement()Gets the value(s) for payload ().StringgetType()Gets the value(s) for type ().ca.uhn.fhir.model.primitive.BoundCodeDt<SubscriptionChannelTypeEnum>getTypeElement()Gets the value(s) for type ().booleanisEmpty()Subscription.ChannelsetEndpoint(ca.uhn.fhir.model.primitive.UriDt theValue)Sets the value(s) for endpoint ()Subscription.ChannelsetEndpoint(String theUri)Sets the value for endpoint ()Subscription.ChannelsetHeader(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for header ()Subscription.ChannelsetHeader(String theString)Sets the value for header ()Subscription.ChannelsetPayload(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for payload ()Subscription.ChannelsetPayload(String theString)Sets the value for payload ()Subscription.ChannelsetType(SubscriptionChannelTypeEnum theValue)Sets the value(s) for type ()Subscription.ChannelsetType(ca.uhn.fhir.model.primitive.BoundCodeDt<SubscriptionChannelTypeEnum> theValue)Sets the value(s) for type ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Channel
public Channel()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.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 returnnull.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 returnnull.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
public Subscription.Channel setType(SubscriptionChannelTypeEnum theValue)
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 returnnull.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 returnnull.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
public Subscription.Channel setEndpoint(String theUri)
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 returnnull.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 returnnull.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 returnnull.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 returnnull.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
-
-