All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.gc.aafc.dina.repository.external.ExternalResourceProvider Maven / Gradle / Ivy

The newest version!
package ca.gc.aafc.dina.repository.external;

import java.util.Set;

/**
 * Provides a mechanism to map external types to their references.
 */
public interface ExternalResourceProvider {

  /**
   * Returns a reference to a given type
   *
   * @param type - type to map to a reference
   * @return a reference to a given type
   */
  String getReferenceForType(String type);

  /**
   * Returns a set of the supported types
   *
   * @return a set of the supported types
   */
  Set getTypes();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy