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 Stringpath- 
Fields inherited from class com.ibm.fhir.registry.resource.FHIRRegistryResource
defaultVersion, id, kind, 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 StringgetPath()ResourcegetResource()Get the FHIR resource associated with this registry resource- 
Methods inherited from class com.ibm.fhir.registry.resource.FHIRRegistryResource
as, compareTo, equals, from, from, getId, getKind, getResourceType, getType, getUrl, getVersion, hashCode, is, isDefaultVersion 
 - 
 
 - 
 
- 
- 
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:
 getResourcein classFHIRRegistryResource- Returns:
 - the FHIR resource associated with this registry resource
 
 
 - 
 
 -