Package com.ibm.fhir.registry.util
Class PackageRegistryResource
- java.lang.Object
-
- com.ibm.fhir.registry.resource.FHIRRegistryResource
-
- com.ibm.fhir.registry.util.PackageRegistryResource
-
- All Implemented Interfaces:
Comparable<FHIRRegistryResource>
public class PackageRegistryResource extends FHIRRegistryResource
A FHIR registry resource that can load a FHIR resource given a path
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.fhir.registry.resource.FHIRRegistryResource
FHIRRegistryResource.Version
-
-
Field Summary
Fields Modifier and Type Field Description protected String
path
-
Fields inherited from class com.ibm.fhir.registry.resource.FHIRRegistryResource
id, kind, NO_VERSION, resource, resourceType, type, url, version
-
-
Constructor Summary
Constructors Constructor Description PackageRegistryResource(Class<? extends Resource> resourceType, String id, String url, FHIRRegistryResource.Version version, String kind, String type, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
Resource
getResource()
Get the FHIR resource associated with this registry resource-
Methods inherited from class com.ibm.fhir.registry.resource.FHIRRegistryResource
as, compareTo, equals, from, getId, getKind, getResourceType, getType, getUrl, getVersion, hashCode, is
-
-
-
-
Field Detail
-
path
protected final String path
-
-
Method Detail
-
getPath
public String getPath()
-
getResource
public Resource getResource()
Get the FHIR resource associated with this registry resource- Overrides:
getResource
in classFHIRRegistryResource
- Returns:
- the FHIR resource associated with this registry resource
-
-