Class Bundle
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<BundleEntry> protected List<BundleLink> protected Signatureprotected UnsignedIntprotected BundleTypeFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) getEntry()Gets the value of the entry property.getLink()Gets the value of the link property.Gets the value of the signature property.getTotal()Gets the value of the total property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetEntry(List<BundleEntry> value) voidsetLink(List<BundleLink> value) voidsetSignature(Signature value) Sets the value of the signature property.voidsetTotal(UnsignedInt value) Sets the value of the total property.voidsetType(BundleType value) Sets the value of the type property.toString()withEntry(Collection<BundleEntry> values) withEntry(BundleEntry... values) withImplicitRules(Uri value) withLanguage(Code value) withLink(Collection<BundleLink> values) withLink(BundleLink... values) withSignature(Signature value) withTotal(UnsignedInt value) withType(BundleType value) Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
type
-
total
-
link
-
entry
-
signature
-
-
Constructor Details
-
Bundle
public Bundle()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
BundleType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isBundleType
-
getTotal
Gets the value of the total property.- Returns:
- possible object is
UnsignedInt
-
setTotal
Sets the value of the total property.- Parameters:
value- allowed object isUnsignedInt
-
getLink
Gets the value of the link property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getEntry
Gets the value of the entry property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getSignature
Gets the value of the signature property.- Returns:
- possible object is
Signature
-
setSignature
Sets the value of the signature property.- Parameters:
value- allowed object isSignature
-
withType
-
withTotal
-
withLink
-
withLink
-
withEntry
-
withEntry
-
withSignature
-
withId
-
withMeta
-
withImplicitRules
- Overrides:
withImplicitRulesin classResource
-
withLanguage
- Overrides:
withLanguagein classResource
-
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) -
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classResource
-
setLink
-
setEntry
-