Package ca.uhn.fhir.jpa.dao
Interface IStorageResourceParser<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>>
public interface IStorageResourceParser<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>>
This interface is used by any storage implementations to convert from
persisted database format (independent of the kind of database) and
HAPI FHIR resource model classes.
Currently only DB->FHIR is enabled through this interface but the aim
eventually is to handle both directions
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IBaseResource
toResource
(IBasePersistedResource<T> theEntity, boolean theForHistoryOperation)
-
Method Details
-
toResource
org.hl7.fhir.instance.model.api.IBaseResource toResource(IBasePersistedResource<T> theEntity, boolean theForHistoryOperation)
-