@@ -0,0 +1,1093 @@
+package com.google.fhirengine;%0A%0Aimport com.google.fhir.shaded.protobuf.Message;%0A%0A/** The FHIR Engine interface that handles the local storage of FHIR resources. */%0Apublic interface FhirEngine %7B%0A  /**%0A   * Saves a FHIR %7B@code resource%7D in the local storage.%0A   *%0A   * @param %3CM%3E The resource type which should be a subtype of %7B@link Message%7D.%0A   */%0A  %3CM extends Message%3E void save(M resource);%0A%0A  /**%0A   * Updates a FHIR %7B@code resource%7D in the local storage.%0A   *%0A   * @param %3CM%3E The resource type which should be a subtype of %7B@link Message%7D.%0A   */%0A  %3CM extends Message%3E void update(M resource);%0A%0A  /**%0A   * Returns a FHIR resource of type %7B@code clazz%7D with %7B@code id%7D from the local storage.%0A   *%0A   * @param %3CM%3E The resource type which should be a subtype of %7B@link Message%7D.%0A   */%0A  %3CM extends Message%3E M load(Class%3CM%3E clazz, String id);%0A%0A  /**%0A   * Removes a FHIR resource of type %7B@code clazz%7D with %7B@code id%7D from the local storage.%0A   *%0A   * @param %3CM%3E The resource type which should be a subtype of %7B@link Message%7D.%0A   */%0A  %3CM extends Message%3E M remove(Class%3CM%3E clazz, String id);%0A%7D%0A

Create the FhirEngine interface.