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

org.bridgedb.gui.BridgeDbParameterModel Maven / Gradle / Ivy

The newest version!
package org.bridgedb.gui;


//TODO: make part of BridgeDb
/**
 * Optional part of IDMapper interface to help GUI programs to configure IDMapper services.
 */
public interface BridgeDbParameterModel extends ParameterModel
{		
	enum Category
	{
		WEBSERVICE,
		DATABASE,
		CUSTOM,
	}
	
	/**
	 * @return a suitable connection string for configuring an IDMapper,
	 */
	public String getConnectionString();
	public String getName();
	public String getHelpHtml();
	public Category getCategory();
	
	/** load the required IDMapper class(es) 
	 * @throws ClassNotFoundException
	 * */
	public void loadClass() throws ClassNotFoundException;
	
	/** 
	 * @return boolean true or false: true if the required IDMapper class is enabled
	 *  */
	public boolean isEnabled();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy