public class Bundle extends Resource implements org.hl7.fhir.instance.model.api.IBaseBundle
| Modifier and Type | Class and Description |
|---|---|
static class |
Bundle.BundleEntryComponent |
static class |
Bundle.BundleEntryRequestComponent |
static class |
Bundle.BundleEntryResponseComponent |
static class |
Bundle.BundleEntrySearchComponent |
static class |
Bundle.BundleLinkComponent |
static class |
Bundle.BundleType |
static class |
Bundle.BundleTypeEnumFactory |
static class |
Bundle.HTTPVerb |
static class |
Bundle.HTTPVerbEnumFactory |
static class |
Bundle.SearchEntryMode |
static class |
Bundle.SearchEntryModeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected List<Bundle.BundleEntryComponent> |
entry
An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).
|
protected List<Bundle.BundleLinkComponent> |
link
A series of links that provide context to this bundle.
|
protected Signature |
signature
Digital Signature - base64 encoded.
|
static String |
SP_COMPOSITION |
static String |
SP_MESSAGE |
static String |
SP_TYPE |
protected UnsignedIntType |
total
If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).
|
protected Enumeration<Bundle.BundleType> |
type
Indicates the purpose of this bundle- how it was intended to be used.
|
id, implicitRules, language, metaLINK_NEXT, LINK_PREV, LINK_SELF| Constructor and Description |
|---|
Bundle() |
Bundle(Enumeration<Bundle.BundleType> type) |
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdElement, getMeta, getStructureFhirVersionEnum, setId, setIdprotected Enumeration<Bundle.BundleType> type
protected UnsignedIntType total
protected List<Bundle.BundleLinkComponent> link
protected List<Bundle.BundleEntryComponent> entry
public static final String SP_COMPOSITION
public static final String SP_TYPE
public static final String SP_MESSAGE
public Bundle()
public Bundle(Enumeration<Bundle.BundleType> type)
public Enumeration<Bundle.BundleType> getTypeElement()
type (Indicates the purpose of this bundle- how it was intended to be used.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Bundle setTypeElement(Enumeration<Bundle.BundleType> value)
value - type (Indicates the purpose of this bundle- how it was intended to be used.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Bundle.BundleType getType()
public Bundle setType(Bundle.BundleType value)
value - Indicates the purpose of this bundle- how it was intended to be used.public UnsignedIntType getTotalElement()
total (If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the valuepublic boolean hasTotalElement()
public boolean hasTotal()
public Bundle setTotalElement(UnsignedIntType value)
value - total (If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the valuepublic int getTotal()
public Bundle setTotal(int value)
value - If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).public List<Bundle.BundleLinkComponent> getLink()
link (A series of links that provide context to this bundle.)public boolean hasLink()
public Bundle.BundleLinkComponent addLink()
link (A series of links that provide context to this bundle.)public Bundle addLink(Bundle.BundleLinkComponent t)
public List<Bundle.BundleEntryComponent> getEntry()
entry (An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).)public boolean hasEntry()
public Bundle.BundleEntryComponent addEntry()
entry (An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).)public Bundle addEntry(Bundle.BundleEntryComponent t)
public Signature getSignature()
signature (Digital Signature - base64 encoded. XML DigSIg or a JWT.)public boolean hasSignature()
public Bundle setSignature(Signature value)
value - signature (Digital Signature - base64 encoded. XML DigSIg or a JWT.)public Bundle.BundleLinkComponent getLink(String theRelation)
link which matches a given relation.
If no link is found which matches the given relation, returns null. If more than one
link is found which matches the given relation, returns the first matching BundleLinkComponent.theRelation - The relation, such as "next", or "self. See the constants such as IBaseBundle.LINK_SELF and IBaseBundle.LINK_NEXT.nullIBaseBundle.LINK_NEXT,
IBaseBundle.LINK_PREV,
IBaseBundle.LINK_SELFpublic Bundle.BundleLinkComponent getLinkOrCreate(String theRelation)
link which matches a given relation.
If no link is found which matches the given relation, creates a new BundleLinkComponent with the
given relation and adds it to this Bundle. If more than one
link is found which matches the given relation, returns the first matching BundleLinkComponent.theRelation - The relation, such as "next", or "self. See the constants such as IBaseBundle.LINK_SELF and IBaseBundle.LINK_NEXT.nullIBaseBundle.LINK_NEXT,
IBaseBundle.LINK_PREV,
IBaseBundle.LINK_SELFprotected void listChildren(List<Property> childrenList)
listChildren in class Resourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Resourceorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Resourcepublic boolean equalsShallow(Base other)
equalsShallow in class Resourcepublic boolean isEmpty()
public ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.