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
    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 Detail

    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.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 interface ca.uhn.fhir.model.api.ICompositeElement
      • getLink

        public List<Bundle.LinkgetLink()
        Gets the value(s) for link (). creating it if it does not exist. Will not return null.

        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 be null)
      • 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 return null.

        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 return null.

        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 return null.

        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 return null.

        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 return null.

        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