
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
public static class Bundle.Entry extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Definition: An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only)
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Entry()
-
Method Summary
Modifier and Type Method Description Bundle.Link
addLink()
Adds and returns a new value for link ()Bundle.Entry
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)
String
getFullUrl()
Gets the value(s) for fullUrl ().ca.uhn.fhir.model.primitive.UriDt
getFullUrlElement()
Gets the value(s) for fullUrl ().List<Bundle.Link>
getLink()
Gets the value(s) for link ().Bundle.Link
getLinkFirstRep()
Gets the first repetition for link (), creating it if it does not already exist.Bundle.EntryRequest
getRequest()
Gets the value(s) for request ().ca.uhn.fhir.model.api.IResource
getResource()
Gets the value(s) for resource ().Bundle.EntryResponse
getResponse()
Gets the value(s) for response ().Bundle.EntrySearch
getSearch()
Gets the value(s) for search ().boolean
isEmpty()
Bundle.Entry
setFullUrl(ca.uhn.fhir.model.primitive.UriDt theValue)
Sets the value(s) for fullUrl ()Bundle.Entry
setFullUrl(String theUri)
Sets the value for fullUrl ()Bundle.Entry
setLink(List<Bundle.Link> theValue)
Sets the value(s) for link ()Bundle.Entry
setRequest(Bundle.EntryRequest theValue)
Sets the value(s) for request ()Bundle.Entry
setResource(ca.uhn.fhir.model.api.IResource theValue)
Sets the value(s) for resource ()Bundle.Entry
setResponse(Bundle.EntryResponse theValue)
Sets the value(s) for response ()Bundle.Entry
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
-