Class Bundle.Entry
- 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:
Bundle
Definition: An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLink()
Adds and returns a new value for link ()addLink
(Bundle.Link theValue) Adds a given new value for link ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for fullUrl ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for fullUrl ().getLink()
Gets the value(s) for link ().Gets the first repetition for link (), creating it if it does not already exist.Gets the value(s) for request ().ca.uhn.fhir.model.api.IResource
Gets the value(s) for resource ().Gets the value(s) for response ().Gets the value(s) for search ().boolean
isEmpty()
setFullUrl
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for fullUrl ()setFullUrl
(String theUri) Sets the value for fullUrl ()setLink
(List<Bundle.Link> theValue) Sets the value(s) for link ()setRequest
(Bundle.EntryRequest theValue) Sets the value(s) for request ()setResource
(ca.uhn.fhir.model.api.IResource theValue) Sets the value(s) for resource ()setResponse
(Bundle.EntryResponse theValue) Sets the value(s) for response ()setSearch
(Bundle.EntrySearch theValue) Sets the value(s) for search ()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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getLink
Gets the value(s) for link (). creating it if it does not exist. Will not returnnull
.Definition: A series of links that provide context to this entry
-
setLink
Sets the value(s) for link ()Definition: A series of links that provide context to this entry
-
addLink
Adds and returns a new value for link ()Definition: A series of links that provide context to this entry
-
addLink
Adds a given new value for link ()Definition: A series of links that provide context to this entry
- Parameters:
theValue
- The link to add (must not benull
)
-
getLinkFirstRep
Gets the first repetition for link (), creating it if it does not already exist.Definition: A series of links that provide context to this entry
-
getFullUrlElement
Gets the value(s) for fullUrl (). creating it if it does not exist. Will not returnnull
.Definition: The Absolute URL for the resource. This must be provided for all resources. The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource
-
getFullUrl
Gets the value(s) for fullUrl (). creating it if it does not exist. This method may returnnull
.Definition: The Absolute URL for the resource. This must be provided for all resources. The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource
-
setFullUrl
Sets the value(s) for fullUrl ()Definition: The Absolute URL for the resource. This must be provided for all resources. The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource
-
setFullUrl
Sets the value for fullUrl ()Definition: The Absolute URL for the resource. This must be provided for all resources. The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource
-
getResource
Gets the value(s) for resource ().Definition: The Resources for the entry
-
setResource
Sets the value(s) for resource ()Definition: The Resources for the entry
-
getSearch
Gets the value(s) for search (). creating it if it does not exist. Will not returnnull
.Definition: Information about the search process that lead to the creation of this entry
-
setSearch
Sets the value(s) for search ()Definition: Information about the search process that lead to the creation of this entry
-
getRequest
Gets the value(s) for request (). creating it if it does not exist. Will not returnnull
.Definition: Additional information about how this entry should be processed as part of a transaction
-
setRequest
Sets the value(s) for request ()Definition: Additional information about how this entry should be processed as part of a transaction
-
getResponse
Gets the value(s) for response (). creating it if it does not exist. Will not returnnull
.Definition: Additional information about how this entry should be processed as part of a transaction
-
setResponse
Sets the value(s) for response ()Definition: Additional information about how this entry should be processed as part of a transaction
-