public static class Subscription.SubscriptionChannelComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected UrlType |
endpoint
The url that describes the actual end-point to send messages to.
|
protected List<StringType> |
header
Additional headers / information to send as part of the notification.
|
protected CodeType |
payload
The mime type to send the payload in - either application/fhir+xml, or application/fhir+json.
|
protected Enumeration<Subscription.SubscriptionChannelType> |
type
The type of channel to send notifications on.
|
modifierExtension| Constructor and Description |
|---|
SubscriptionChannelComponent()
Constructor
|
SubscriptionChannelComponent(Enumeration<Subscription.SubscriptionChannelType> type)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected Enumeration<Subscription.SubscriptionChannelType> type
protected UrlType endpoint
protected CodeType payload
protected List<StringType> header
public SubscriptionChannelComponent()
public SubscriptionChannelComponent(Enumeration<Subscription.SubscriptionChannelType> type)
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 UrlType getEndpointElement()
endpoint (The url 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(UrlType value)
value - endpoint (The url 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 url that describes the actual end-point to send messages to.public CodeType getPayloadElement()
payload (The mime type to send the payload in - either application/fhir+xml, or application/fhir+json. If the payload is not present, then there is no payload in the notification, just a notification. The mime type "text/plain" may also be used for Email and SMS subscriptions.). 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(CodeType value)
value - payload (The mime type to send the payload in - either application/fhir+xml, or application/fhir+json. If the payload is not present, then there is no payload in the notification, just a notification. The mime type "text/plain" may also be used for Email and SMS subscriptions.). 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/fhir+xml, or application/fhir+json. If the payload is not present, then there is no payload in the notification, just a notification. The mime type "text/plain" may also be used for Email and SMS subscriptions.public List<StringType> getHeader()
header (Additional headers / information to send as part of the notification.)public Subscription.SubscriptionChannelComponent setHeader(List<StringType> theHeader)
this for easy method chainingpublic boolean hasHeader()
public StringType addHeaderElement()
header (Additional headers / information to send as part of the notification.)public Subscription.SubscriptionChannelComponent addHeader(String value)
value - header (Additional headers / information to send as part of the notification.)public boolean hasHeader(String value)
value - header (Additional headers / information to send as part of the notification.)protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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 void copyValues(Subscription.SubscriptionChannelComponent dst)
public 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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.