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