public static class Subscription.SubscriptionChannelComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected UriType |
endpoint
The uri that describes the actual end-point to send messages to.
|
protected StringType |
header
Additional headers / information to send as part of the notification.
|
protected StringType |
payload
The mime type to send the payload in - either application/xml+fhir, or application/json+fhir.
|
protected Enumeration<Subscription.SubscriptionChannelType> |
type
The type of channel to send notifications on.
|
modifierExtension| Constructor and Description |
|---|
SubscriptionChannelComponent()
Constructor
|
SubscriptionChannelComponent(Enumeration<Subscription.SubscriptionChannelType> type,
StringType payload)
Constructor
|
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Enumeration<Subscription.SubscriptionChannelType> type
protected UriType endpoint
protected StringType payload
protected StringType header
public SubscriptionChannelComponent()
public SubscriptionChannelComponent(Enumeration<Subscription.SubscriptionChannelType> type, StringType payload)
public Enumeration<Subscription.SubscriptionChannelType> getTypeElement()
type (The type of channel to send notifications on.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Subscription.SubscriptionChannelComponent setTypeElement(Enumeration<Subscription.SubscriptionChannelType> value)
value - type (The type of channel to send notifications on.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Subscription.SubscriptionChannelType getType()
public Subscription.SubscriptionChannelComponent setType(Subscription.SubscriptionChannelType value)
value - The type of channel to send notifications on.public UriType getEndpointElement()
endpoint (The uri that describes the actual end-point to send messages to.). This is the underlying object with id, value and extensions. The accessor "getEndpoint" gives direct access to the valuepublic boolean hasEndpointElement()
public boolean hasEndpoint()
public Subscription.SubscriptionChannelComponent setEndpointElement(UriType value)
value - endpoint (The uri that describes the actual end-point to send messages to.). This is the underlying object with id, value and extensions. The accessor "getEndpoint" gives direct access to the valuepublic String getEndpoint()
public Subscription.SubscriptionChannelComponent setEndpoint(String value)
value - The uri that describes the actual end-point to send messages to.public StringType getPayloadElement()
payload (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.). This is the underlying object with id, value and extensions. The accessor "getPayload" gives direct access to the valuepublic boolean hasPayloadElement()
public boolean hasPayload()
public Subscription.SubscriptionChannelComponent setPayloadElement(StringType value)
value - payload (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.). This is the underlying object with id, value and extensions. The accessor "getPayload" gives direct access to the valuepublic String getPayload()
public Subscription.SubscriptionChannelComponent setPayload(String value)
value - 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 StringType getHeaderElement()
header (Additional headers / information to send as part of the notification.). This is the underlying object with id, value and extensions. The accessor "getHeader" gives direct access to the valuepublic boolean hasHeaderElement()
public boolean hasHeader()
public Subscription.SubscriptionChannelComponent setHeaderElement(StringType value)
value - header (Additional headers / information to send as part of the notification.). This is the underlying object with id, value and extensions. The accessor "getHeader" gives direct access to the valuepublic String getHeader()
public Subscription.SubscriptionChannelComponent setHeader(String value)
value - Additional headers / information to send as part of the notification.protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Subscription.SubscriptionChannelComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.