public static class Bundle.BundleEntryComponent extends BackboneElement implements IBaseBackboneElement
Constructor and Description |
---|
BundleEntryComponent()
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
castToAddress, 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, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
addExtension, getExtension, hasExtension
addModifierExtension, getModifierExtension, hasModifierExtension
public List<Bundle.BundleLinkComponent> getLink()
link
(A series of links that provide context to this entry.)public Bundle.BundleEntryComponent setLink(List<Bundle.BundleLinkComponent> theLink)
this
for easy method chainingpublic boolean hasLink()
public Bundle.BundleLinkComponent addLink()
public Bundle.BundleEntryComponent addLink(Bundle.BundleLinkComponent t)
public Bundle.BundleLinkComponent getLinkFirstRep()
link
, creating it if it does not already existpublic UriType getFullUrlElement()
fullUrl
(The Absolute URL for the resource. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that:
fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)
Results from operations might involve resources that are not identified.). This is the underlying object with id, value and extensions. The accessor "getFullUrl" gives direct access to the valuepublic boolean hasFullUrlElement()
public boolean hasFullUrl()
public Bundle.BundleEntryComponent setFullUrlElement(UriType value)
value
- fullUrl
(The Absolute URL for the resource. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that:
fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)
Results from operations might involve resources that are not identified.). This is the underlying object with id, value and extensions. The accessor "getFullUrl" gives direct access to the valuepublic String getFullUrl()
public Bundle.BundleEntryComponent setFullUrl(String value)
value
- The Absolute URL for the resource. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that:
fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)
Results from operations might involve resources that are not identified.public Resource getResource()
resource
(The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type.)public boolean hasResource()
public Bundle.BundleEntryComponent setResource(Resource value)
value
- resource
(The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type.)public Bundle.BundleEntrySearchComponent getSearch()
search
(Information about the search process that lead to the creation of this entry.)public boolean hasSearch()
public Bundle.BundleEntryComponent setSearch(Bundle.BundleEntrySearchComponent value)
value
- search
(Information about the search process that lead to the creation of this entry.)public Bundle.BundleEntryRequestComponent getRequest()
request
(Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry.)public boolean hasRequest()
public Bundle.BundleEntryComponent setRequest(Bundle.BundleEntryRequestComponent value)
value
- request
(Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry.)public Bundle.BundleEntryResponseComponent getResponse()
response
(Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history.)public boolean hasResponse()
public Bundle.BundleEntryComponent setResponse(Bundle.BundleEntryResponseComponent value)
value
- response
(Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history.)public Bundle.BundleLinkComponent getLink(String theRelation)
link
which matches a given relation
.
If no link is found which matches the given relation, returns null
. If more than one
link is found which matches the given relation, returns the first matching BundleLinkComponent.theRelation
- The relation, such as "next", or "self. See the constants such as IBaseBundle.LINK_SELF
and IBaseBundle.LINK_NEXT
.null
IBaseBundle.LINK_NEXT
,
IBaseBundle.LINK_PREV
,
IBaseBundle.LINK_SELF
public Bundle.BundleLinkComponent getLinkOrCreate(String theRelation)
link
which matches a given relation
.
If no link is found which matches the given relation, creates a new BundleLinkComponent with the
given relation and adds it to this Bundle. If more than one
link is found which matches the given relation, returns the first matching BundleLinkComponent.theRelation
- The relation, such as "next", or "self. See the constants such as IBaseBundle.LINK_SELF
and IBaseBundle.LINK_NEXT
.null
IBaseBundle.LINK_NEXT
,
IBaseBundle.LINK_PREV
,
IBaseBundle.LINK_SELF
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty
in class BackboneElement
org.hl7.fhir.exceptions.FHIRException
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty
in class BackboneElement
org.hl7.fhir.exceptions.FHIRException
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty
in class BackboneElement
org.hl7.fhir.exceptions.FHIRException
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty
in class BackboneElement
org.hl7.fhir.exceptions.FHIRException
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty
in class BackboneElement
org.hl7.fhir.exceptions.FHIRException
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty
in class BackboneElement
org.hl7.fhir.exceptions.FHIRException
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild
in class BackboneElement
org.hl7.fhir.exceptions.FHIRException
public Bundle.BundleEntryComponent copy()
copy
in class BackboneElement
public boolean equalsDeep(Base other_)
equalsDeep
in class BackboneElement
public boolean equalsShallow(Base other_)
equalsShallow
in class BackboneElement
public boolean isEmpty()
isEmpty
in interface IBase
isEmpty
in class BackboneElement
public String fhirType()
fhirType
in class BackboneElement
Copyright © 2014–2019 University Health Network. All rights reserved.