Package org.hl7.fhir.r4b.context
Class CanonicalResourceManager.CanonicalResourceProxy
- java.lang.Object
-
- org.hl7.fhir.r4b.context.CanonicalResourceManager.CanonicalResourceProxy
-
- Direct Known Subclasses:
SimpleWorkerContext.PackageResourceLoader
- Enclosing class:
- CanonicalResourceManager<T extends CanonicalResource>
public abstract static class CanonicalResourceManager.CanonicalResourceProxy extends Object
-
-
Constructor Summary
Constructors Constructor Description CanonicalResourceProxy(String type, String id, String url, String version)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetId()CanonicalResourcegetResource()StringgetType()StringgetUrl()StringgetVersion()booleanhasId()booleanhasUrl()booleanhasVersion()abstract CanonicalResourceloadResource()voidsetResource(CanonicalResource resource)StringtoString()
-
-
-
Constructor Detail
-
CanonicalResourceProxy
public CanonicalResourceProxy(String type, String id, String url, String version)
-
-
Method Detail
-
getVersion
public String getVersion()
-
hasId
public boolean hasId()
-
hasUrl
public boolean hasUrl()
-
hasVersion
public boolean hasVersion()
-
getResource
public CanonicalResource getResource() throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setResource
public void setResource(CanonicalResource resource)
-
loadResource
public abstract CanonicalResource loadResource() throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
-