public class BundleEntry extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Bundle.Entry complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Bundle.Entry">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="link" type="{http://hl7.org/fhir}Bundle.Link" maxOccurs="unbounded" minOccurs="0"/>
<element name="fullUrl" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="resource" type="{http://hl7.org/fhir}ResourceContainer" minOccurs="0"/>
<element name="search" type="{http://hl7.org/fhir}Bundle.Search" minOccurs="0"/>
<element name="request" type="{http://hl7.org/fhir}Bundle.Request" minOccurs="0"/>
<element name="response" type="{http://hl7.org/fhir}Bundle.Response" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Uri |
fullUrl |
protected java.util.List<BundleLink> |
link |
protected BundleRequest |
request |
protected ResourceContainer |
resource |
protected BundleResponse |
response |
protected BundleSearch |
search |
modifierExtension| Constructor and Description |
|---|
BundleEntry() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Uri |
getFullUrl()
Gets the value of the fullUrl property.
|
java.util.List<BundleLink> |
getLink()
Gets the value of the link property.
|
BundleRequest |
getRequest()
Gets the value of the request property.
|
ResourceContainer |
getResource()
Gets the value of the resource property.
|
BundleResponse |
getResponse()
Gets the value of the response property.
|
BundleSearch |
getSearch()
Gets the value of the search property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setFullUrl(Uri value)
Sets the value of the fullUrl property.
|
void |
setRequest(BundleRequest value)
Sets the value of the request property.
|
void |
setResource(ResourceContainer value)
Sets the value of the resource property.
|
void |
setResponse(BundleResponse value)
Sets the value of the response property.
|
void |
setSearch(BundleSearch value)
Sets the value of the search property.
|
java.lang.String |
toString() |
BundleEntry |
withExtension(java.util.Collection<Extension> values) |
BundleEntry |
withExtension(Extension... values) |
BundleEntry |
withFullUrl(Uri value) |
BundleEntry |
withId(java.lang.String value) |
BundleEntry |
withLink(BundleLink... values) |
BundleEntry |
withLink(java.util.Collection<BundleLink> values) |
BundleEntry |
withModifierExtension(java.util.Collection<Extension> values) |
BundleEntry |
withModifierExtension(Extension... values) |
BundleEntry |
withRequest(BundleRequest value) |
BundleEntry |
withResource(ResourceContainer value) |
BundleEntry |
withResponse(BundleResponse value) |
BundleEntry |
withSearch(BundleSearch value) |
getModifierExtensiongetExtension, getId, setIdprotected java.util.List<BundleLink> link
protected Uri fullUrl
protected ResourceContainer resource
protected BundleSearch search
protected BundleRequest request
protected BundleResponse response
public java.util.List<BundleLink> getLink()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the link property.
For example, to add a new item, do as follows:
getLink().add(newItem);
Objects of the following type(s) are allowed in the list
BundleLink
public Uri getFullUrl()
Uripublic void setFullUrl(Uri value)
value - allowed object is
Uripublic ResourceContainer getResource()
ResourceContainerpublic void setResource(ResourceContainer value)
value - allowed object is
ResourceContainerpublic BundleSearch getSearch()
BundleSearchpublic void setSearch(BundleSearch value)
value - allowed object is
BundleSearchpublic BundleRequest getRequest()
BundleRequestpublic void setRequest(BundleRequest value)
value - allowed object is
BundleRequestpublic BundleResponse getResponse()
BundleResponsepublic void setResponse(BundleResponse value)
value - allowed object is
BundleResponsepublic BundleEntry withLink(BundleLink... values)
public BundleEntry withLink(java.util.Collection<BundleLink> values)
public BundleEntry withFullUrl(Uri value)
public BundleEntry withResource(ResourceContainer value)
public BundleEntry withSearch(BundleSearch value)
public BundleEntry withRequest(BundleRequest value)
public BundleEntry withResponse(BundleResponse value)
public BundleEntry withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic BundleEntry withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic BundleEntry withExtension(Extension... values)
withExtension in class BackboneElementpublic BundleEntry withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic BundleEntry withId(java.lang.String value)
withId in class BackboneElementpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement