ca.gc.aafc.dina.repository.external.ExternalResourceProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dina-base-api Show documentation
Show all versions of dina-base-api Show documentation
Base DINA API package for Java built on SpringBoot and Crnk
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