phenote.dataadapter.ncbi
Interface NCBIDataAdapterI

All Known Implementing Classes:
OMIMAdapter, PubMedAdapter

public interface NCBIDataAdapterI

Note, for retmode, see http://www.ncbi.nlm.nih.gov/entrez/query/static/efetchlit_help.html for options This is the interface for the NCBI eutils data adapters. These are for reading with the soapy eutils (eutils.jar) or RESTful requests only.

Author:
Nicole Washington

Field Summary
static java.lang.String ncbiURL
           
 
Method Summary
 java.lang.String getLookupButtonImage()
          The label that gets displayed on the lookup button.
 java.lang.String getName()
           
 java.util.List<java.lang.String> getQueryableGroups()
          returns a list of group strings of groups that can be queried for with query method
 boolean isFieldQueryable(java.lang.String field)
          return true if data adapter can query for the char field
 org.obo.datamodel.Instance query(java.lang.String id)
           
 java.lang.String query(java.lang.String id, java.lang.String database)
          Throws exception if query fails, and no data to return Query with query string of type field for group
 

Field Detail

ncbiURL

static final java.lang.String ncbiURL
See Also:
Constant Field Values
Method Detail

isFieldQueryable

boolean isFieldQueryable(java.lang.String field)
return true if data adapter can query for the char field


getQueryableGroups

java.util.List<java.lang.String> getQueryableGroups()
returns a list of group strings of groups that can be queried for with query method


query

java.lang.String query(java.lang.String id,
                       java.lang.String database)
                       throws DataAdapterEx
Throws exception if query fails, and no data to return Query with query string of type field for group

Throws:
DataAdapterEx

query

org.obo.datamodel.Instance query(java.lang.String id)

getLookupButtonImage

java.lang.String getLookupButtonImage()
The label that gets displayed on the lookup button. Different functions might have different buttons in the future.


getName

java.lang.String getName()