public abstract class BaseResourceReferenceDt extends BaseIdentifiableElement implements IBaseDatatype, IBaseReference
| Constructor and Description |
|---|
BaseResourceReferenceDt()
Constructor
|
BaseResourceReferenceDt(IResource theResource)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract StringDt |
getDisplayElement() |
abstract IdDt |
getReference() |
IBaseResource |
getResource()
Gets the actual loaded and parsed resource instance, if it is already present.
|
protected boolean |
isBaseEmpty()
Intended to be called by extending classes
IBase.isEmpty() implementations, returns true if all
content in this superclass instance is empty per the semantics of IBase.isEmpty(). |
IBaseResource |
loadResource(IRestfulClient theClient)
Returns the referenced resource, fetching it if it has not already been loaded.
|
abstract BaseResourceReferenceDt |
setReference(IdDt theReference) |
BaseResourceReferenceDt |
setReference(IIdType theReference) |
BaseResourceReferenceDt |
setResource(IBaseResource theResource) |
String |
toString() |
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetReferenceElement, setDisplay, setReferencefhirType, getFormatCommentsPost, getFormatCommentsPre, hasFormatComment, isEmptypublic BaseResourceReferenceDt()
public BaseResourceReferenceDt(IResource theResource)
theResource - The loaded resource itselfpublic abstract StringDt getDisplayElement()
getDisplayElement in interface IBaseReferencepublic abstract IdDt getReference()
public IBaseResource getResource()
loadResource(IRestfulClient) or it was
contained within the resource containing this resource.
See the FHIR specification section on contained resources for more
information.getResource in interface IBaseReferenceloadResource(IRestfulClient)protected boolean isBaseEmpty()
BaseElementIBase.isEmpty() implementations, returns true if all
content in this superclass instance is empty per the semantics of IBase.isEmpty().isBaseEmpty in class BaseElementpublic IBaseResource loadResource(IRestfulClient theClient)
public abstract BaseResourceReferenceDt setReference(IdDt theReference)
public BaseResourceReferenceDt setReference(IIdType theReference)
public BaseResourceReferenceDt setResource(IBaseResource theResource)
setResource in interface IBaseReferenceCopyright © 2014–2019 University Health Network. All rights reserved.