Package org.hl7.fhir

Class BundleResponse

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class BundleResponse extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A container for a collection of resources.

Java class for Bundle.Response complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Bundle.Response">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="status" type="{http://hl7.org/fhir}string"/>
         <element name="location" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
         <element name="etag" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="lastModified" type="{http://hl7.org/fhir}instant" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • status

      protected String status
    • location

      protected Uri location
    • etag

      protected String etag
    • lastModified

      protected Instant lastModified
  • Constructor Details

    • BundleResponse

      public BundleResponse()
  • Method Details

    • getStatus

      public String getStatus()
      Gets the value of the status property.
      Returns:
      possible object is String
    • setStatus

      public void setStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
    • getLocation

      public Uri getLocation()
      Gets the value of the location property.
      Returns:
      possible object is Uri
    • setLocation

      public void setLocation(Uri value)
      Sets the value of the location property.
      Parameters:
      value - allowed object is Uri
    • getEtag

      public String getEtag()
      Gets the value of the etag property.
      Returns:
      possible object is String
    • setEtag

      public void setEtag(String value)
      Sets the value of the etag property.
      Parameters:
      value - allowed object is String
    • getLastModified

      public Instant getLastModified()
      Gets the value of the lastModified property.
      Returns:
      possible object is Instant
    • setLastModified

      public void setLastModified(Instant value)
      Sets the value of the lastModified property.
      Parameters:
      value - allowed object is Instant
    • withStatus

      public BundleResponse withStatus(String value)
    • withLocation

      public BundleResponse withLocation(Uri value)
    • withEtag

      public BundleResponse withEtag(String value)
    • withLastModified

      public BundleResponse withLastModified(Instant value)
    • withModifierExtension

      public BundleResponse withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public BundleResponse withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public BundleResponse withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public BundleResponse withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public BundleResponse withId(String value)
      Overrides:
      withId in class BackboneElement
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class BackboneElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BackboneElement
    • toString

      public String toString()
      Overrides:
      toString in class BackboneElement
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BackboneElement
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BackboneElement