Class Bundle.EntryRequest

  • 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.EntryRequest
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: Bundle.entry.request ()

    Definition: Additional information about how this entry should be processed as part of a transaction

    See Also:
    Serialized Form
    • 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
      • getMethodElement

        public ca.uhn.fhir.model.primitive.BoundCodeDt<HTTPVerbEnumgetMethodElement()
        Gets the value(s) for method (). creating it if it does not exist. Will not return null.

        Definition: The HTTP verb for this entry in either a update history, or a transaction/ transaction response

      • getMethod

        public String getMethod()
        Gets the value(s) for method (). creating it if it does not exist. This method may return null.

        Definition: The HTTP verb for this entry in either a update history, or a transaction/ transaction response

      • setMethod

        public Bundle.EntryRequest setMethod​(ca.uhn.fhir.model.primitive.BoundCodeDt<HTTPVerbEnum> theValue)
        Sets the value(s) for method ()

        Definition: The HTTP verb for this entry in either a update history, or a transaction/ transaction response

      • setMethod

        public Bundle.EntryRequest setMethod​(HTTPVerbEnum theValue)
        Sets the value(s) for method ()

        Definition: The HTTP verb for this entry in either a update history, or a transaction/ transaction response

      • getUrlElement

        public ca.uhn.fhir.model.primitive.UriDt getUrlElement()
        Gets the value(s) for url (). creating it if it does not exist. Will not return null.

        Definition: The URL for this entry, relative to the root (the address to which the request is posted)

      • getUrl

        public String getUrl()
        Gets the value(s) for url (). creating it if it does not exist. This method may return null.

        Definition: The URL for this entry, relative to the root (the address to which the request is posted)

      • setUrl

        public Bundle.EntryRequest setUrl​(ca.uhn.fhir.model.primitive.UriDt theValue)
        Sets the value(s) for url ()

        Definition: The URL for this entry, relative to the root (the address to which the request is posted)

      • setUrl

        public Bundle.EntryRequest setUrl​(String theUri)
        Sets the value for url ()

        Definition: The URL for this entry, relative to the root (the address to which the request is posted)

      • getIfNoneMatchElement

        public ca.uhn.fhir.model.primitive.StringDt getIfNoneMatchElement()
        Gets the value(s) for ifNoneMatch (). creating it if it does not exist. Will not return null.

        Definition: If the ETag values match, return a 304 Not modified status. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • getIfNoneMatch

        public String getIfNoneMatch()
        Gets the value(s) for ifNoneMatch (). creating it if it does not exist. This method may return null.

        Definition: If the ETag values match, return a 304 Not modified status. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • setIfNoneMatch

        public Bundle.EntryRequest setIfNoneMatch​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for ifNoneMatch ()

        Definition: If the ETag values match, return a 304 Not modified status. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • setIfNoneMatch

        public Bundle.EntryRequest setIfNoneMatch​(String theString)
        Sets the value for ifNoneMatch ()

        Definition: If the ETag values match, return a 304 Not modified status. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • getIfModifiedSinceElement

        public ca.uhn.fhir.model.primitive.InstantDt getIfModifiedSinceElement()
        Gets the value(s) for ifModifiedSince (). creating it if it does not exist. Will not return null.

        Definition: Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • getIfModifiedSince

        public Date getIfModifiedSince()
        Gets the value(s) for ifModifiedSince (). creating it if it does not exist. This method may return null.

        Definition: Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • setIfModifiedSince

        public Bundle.EntryRequest setIfModifiedSince​(ca.uhn.fhir.model.primitive.InstantDt theValue)
        Sets the value(s) for ifModifiedSince ()

        Definition: Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • setIfModifiedSinceWithMillisPrecision

        public Bundle.EntryRequest setIfModifiedSinceWithMillisPrecision​(Date theDate)
        Sets the value for ifModifiedSince ()

        Definition: Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • setIfModifiedSince

        public Bundle.EntryRequest setIfModifiedSince​(Date theDate,
                                                      ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
        Sets the value for ifModifiedSince ()

        Definition: Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http.html#cread)

      • getIfMatchElement

        public ca.uhn.fhir.model.primitive.StringDt getIfMatchElement()
        Gets the value(s) for ifMatch (). creating it if it does not exist. Will not return null.

        Definition: Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency)

      • getIfMatch

        public String getIfMatch()
        Gets the value(s) for ifMatch (). creating it if it does not exist. This method may return null.

        Definition: Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency)

      • setIfMatch

        public Bundle.EntryRequest setIfMatch​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for ifMatch ()

        Definition: Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency)

      • setIfMatch

        public Bundle.EntryRequest setIfMatch​(String theString)
        Sets the value for ifMatch ()

        Definition: Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http.html#concurrency)

      • getIfNoneExistElement

        public ca.uhn.fhir.model.primitive.StringDt getIfNoneExistElement()
        Gets the value(s) for ifNoneExist (). creating it if it does not exist. Will not return null.

        Definition: Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")

      • getIfNoneExist

        public String getIfNoneExist()
        Gets the value(s) for ifNoneExist (). creating it if it does not exist. This method may return null.

        Definition: Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")

      • setIfNoneExist

        public Bundle.EntryRequest setIfNoneExist​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for ifNoneExist ()

        Definition: Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")

      • setIfNoneExist

        public Bundle.EntryRequest setIfNoneExist​(String theString)
        Sets the value for ifNoneExist ()

        Definition: Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")