public class Bundle extends Resource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Bundle complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Bundle">
<complexContent>
<extension base="{http://hl7.org/fhir}Resource">
<sequence>
<element name="type" type="{http://hl7.org/fhir}BundleType"/>
<element name="total" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/>
<element name="link" type="{http://hl7.org/fhir}Bundle.Link" maxOccurs="unbounded" minOccurs="0"/>
<element name="entry" type="{http://hl7.org/fhir}Bundle.Entry" maxOccurs="unbounded" minOccurs="0"/>
<element name="signature" type="{http://hl7.org/fhir}Signature" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<BundleEntry> |
entry |
protected java.util.List<BundleLink> |
link |
protected Signature |
signature |
protected UnsignedInt |
total |
protected BundleType |
type |
id, implicitRules, language, meta| Constructor and Description |
|---|
Bundle() |
| 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) |
java.util.List<BundleEntry> |
getEntry()
Gets the value of the entry property.
|
java.util.List<BundleLink> |
getLink()
Gets the value of the link property.
|
Signature |
getSignature()
Gets the value of the signature property.
|
UnsignedInt |
getTotal()
Gets the value of the total property.
|
BundleType |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setSignature(Signature value)
Sets the value of the signature property.
|
void |
setTotal(UnsignedInt value)
Sets the value of the total property.
|
void |
setType(BundleType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Bundle |
withEntry(BundleEntry... values) |
Bundle |
withEntry(java.util.Collection<BundleEntry> values) |
Bundle |
withId(Id value) |
Bundle |
withImplicitRules(Uri value) |
Bundle |
withLanguage(Code value) |
Bundle |
withLink(BundleLink... values) |
Bundle |
withLink(java.util.Collection<BundleLink> values) |
Bundle |
withMeta(Meta value) |
Bundle |
withSignature(Signature value) |
Bundle |
withTotal(UnsignedInt value) |
Bundle |
withType(BundleType value) |
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected BundleType type
protected UnsignedInt total
protected java.util.List<BundleLink> link
protected java.util.List<BundleEntry> entry
protected Signature signature
public BundleType getType()
BundleTypepublic void setType(BundleType value)
value - allowed object is
BundleTypepublic UnsignedInt getTotal()
UnsignedIntpublic void setTotal(UnsignedInt value)
value - allowed object is
UnsignedIntpublic 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 java.util.List<BundleEntry> getEntry()
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 entry property.
For example, to add a new item, do as follows:
getEntry().add(newItem);
Objects of the following type(s) are allowed in the list
BundleEntry
public Signature getSignature()
Signaturepublic void setSignature(Signature value)
value - allowed object is
Signaturepublic Bundle withType(BundleType value)
public Bundle withTotal(UnsignedInt value)
public Bundle withLink(BundleLink... values)
public Bundle withLink(java.util.Collection<BundleLink> values)
public Bundle withEntry(BundleEntry... values)
public Bundle withEntry(java.util.Collection<BundleEntry> values)
public Bundle withImplicitRules(Uri value)
withImplicitRules in class Resourcepublic Bundle withLanguage(Code value)
withLanguage in class Resourcepublic 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)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public 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 Resource