package eu.dnetlib.functionality.lightui.utils;

import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpDocumentNotFoundException;
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException;

public interface Querable {
	/**
	 * 
	 * @return name of the querable entity
	 */
	public String getName();
	
	/**
	 * 
	 * @return CQL query string
	 * @throws ISLookUpException 
	 * @throws ISLookUpDocumentNotFoundException 
	 */
	public String getQuery() throws ISLookUpDocumentNotFoundException, ISLookUpException;
	
	/**
	 * 
	 * @return alternate name
	 */
	public String getAlias();
}
