Package ca.uhn.fhir.validation
Interface IResourceLoader
-
public interface IResourceLoader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends IBaseResource>
Tload(Class<T> theType, IIdType theId)Load the latest version of a given resource
-
-
-
Method Detail
-
load
<T extends IBaseResource> T load(Class<T> theType, IIdType theId) throws ResourceNotFoundException
Load the latest version of a given resource- Parameters:
theType- The type of the resource to loadtheId- The ID of the resource to load- Throws:
ResourceNotFoundException- If the resource is not known
-
-