@@ -0,0 +1,1015 @@
+package com.google.fhirengine.db;%0A%0Aimport com.google.fhir.shaded.protobuf.Message;%0A%0A/** The interface for the FHIR resource database. */%0Apublic interface Database %7B%0A  /**%0A   * Inserts the %7B@code resource%7D into the FHIR resource database.%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 insert(M resource);%0A%0A  /**%0A   * Updates the %7B@code resource%7D.%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   * Selects the FHIR resource of type %7B@code clazz%7D with %7B@code id%7D.%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 select(Class%3CM%3E clazz, String id);%0A%0A  /**%0A   * Deletes the FHIR resource of type %7B@code clazz%7D with %7B@code id%7D.%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 delete(Class%3CM%3E clazz, String id);%0A%7D%0A

Create the Database interface.