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
-
-
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, getId, getKind, getResourceType, getType, getUrl, getVersion, hashCode, is
-
-
-
-
Method Detail
-
getPath
public String getPath()
-
getResource
public Resource getResource()
Get the FHIR resource associated with this registry resource- Specified by:
getResource
in classFHIRRegistryResource
- Returns:
- the FHIR resource associated with this registry resource
-
-