Package es.imim.DISGENET.database
Class DatabaseManagerImpl
java.lang.Object
es.imim.DISGENET.database.DatabaseManagerImpl
- All Implemented Interfaces:
DatabaseManager
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the API key.static DatabaseManagerImplSingleton implementation of the database class.voidSets the API key.
-
Method Details
-
setApiKey
Description copied from interface:DatabaseManagerSets the API key.- Specified by:
setApiKeyin interfaceDatabaseManager- Parameters:
apiKey- the API key to set
-
getApiKey
Description copied from interface:DatabaseManagerGets the API key.- Specified by:
getApiKeyin interfaceDatabaseManager- Returns:
- the saved API key
-
getInstance
Singleton implementation of the database class.- Returns:
- an instance of the object.
-
checkApiKey
public boolean checkApiKey()
-