Class Bundle.Entry
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
Block class for child element: Bundle.entry ()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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bundle.LinkaddLink()Adds and returns a new value for link ()Bundle.EntryaddLink(Bundle.Link theValue)Adds a given new value for link ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetFullUrl()Gets the value(s) for fullUrl ().ca.uhn.fhir.model.primitive.UriDtgetFullUrlElement()Gets the value(s) for fullUrl ().List<Bundle.Link>getLink()Gets the value(s) for link ().Bundle.LinkgetLinkFirstRep()Gets the first repetition for link (), creating it if it does not already exist.Bundle.EntryRequestgetRequest()Gets the value(s) for request ().ca.uhn.fhir.model.api.IResourcegetResource()Gets the value(s) for resource ().Bundle.EntryResponsegetResponse()Gets the value(s) for response ().Bundle.EntrySearchgetSearch()Gets the value(s) for search ().booleanisEmpty()Bundle.EntrysetFullUrl(ca.uhn.fhir.model.primitive.UriDt theValue)Sets the value(s) for fullUrl ()Bundle.EntrysetFullUrl(String theUri)Sets the value for fullUrl ()Bundle.EntrysetLink(List<Bundle.Link> theValue)Sets the value(s) for link ()Bundle.EntrysetRequest(Bundle.EntryRequest theValue)Sets the value(s) for request ()Bundle.EntrysetResource(ca.uhn.fhir.model.api.IResource theValue)Sets the value(s) for resource ()Bundle.EntrysetResponse(Bundle.EntryResponse theValue)Sets the value(s) for response ()Bundle.EntrysetSearch(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
-
-
-
-
Constructor Detail
-
Entry
public Entry()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getLink
public List<Bundle.Link> 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
public Bundle.Entry setLink(List<Bundle.Link> theValue)
Sets the value(s) for link ()Definition: A series of links that provide context to this entry
-
addLink
public Bundle.Link addLink()
Adds and returns a new value for link ()Definition: A series of links that provide context to this entry
-
addLink
public Bundle.Entry addLink(Bundle.Link theValue)
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
public Bundle.Link 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
public ca.uhn.fhir.model.primitive.UriDt 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
public String 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
public Bundle.Entry setFullUrl(ca.uhn.fhir.model.primitive.UriDt theValue)
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
public Bundle.Entry setFullUrl(String theUri)
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
public ca.uhn.fhir.model.api.IResource getResource()
Gets the value(s) for resource ().Definition: The Resources for the entry
-
setResource
public Bundle.Entry setResource(ca.uhn.fhir.model.api.IResource theValue)
Sets the value(s) for resource ()Definition: The Resources for the entry
-
getSearch
public Bundle.EntrySearch 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
public Bundle.Entry setSearch(Bundle.EntrySearch theValue)
Sets the value(s) for search ()Definition: Information about the search process that lead to the creation of this entry
-
getRequest
public Bundle.EntryRequest 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
public Bundle.Entry setRequest(Bundle.EntryRequest theValue)
Sets the value(s) for request ()Definition: Additional information about how this entry should be processed as part of a transaction
-
getResponse
public Bundle.EntryResponse 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
public Bundle.Entry setResponse(Bundle.EntryResponse theValue)
Sets the value(s) for response ()Definition: Additional information about how this entry should be processed as part of a transaction
-
-