com.aliasi.medline
Class DataBankList

java.lang.Object
  extended by com.aliasi.medline.DataBankList
All Implemented Interfaces:
Iterable<DataBank>

Deprecated. Moved to lingmed sandbox project.

@Deprecated
public class DataBankList
extends Object
implements Iterable<DataBank>

A DataBankList contains linkages of molecular sequences mentioned in articles to their data bank name and accession numbers. Some of these references do not appear directly in the articles, but have been added by NLM. NLM includes all data bank information present in the articles.

Results are returned as an array of data banks, each data bank containing linkages for a particular data source. The returned array may be of length zero if there are no linkages for the record. There are eight data banks that are currently used, as described in the class documentation for DataBank. The list of data bank linkages may be incomplete; the method complete() may be used to test.

Since:
LingPipe2.0
Version:
3.9.1
Author:
Bob Carpenter

Method Summary
 boolean complete()
          Deprecated. Returns true if the list of databank numbers in the citation is complete.
 DataBank[] dataBanks()
          Deprecated. See class documentation.
 Iterator<DataBank> iterator()
          Deprecated. See class documentation.
 String toString()
          Deprecated. Returns a string-based representation of this data bank list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

iterator

@Deprecated
public Iterator<DataBank> iterator()
Deprecated. See class documentation.

Returns an iterator over the data banks in this list. This method provides the implementation for Iterable<DataBank>, which allows general for-loops over data banks to be used.

Specified by:
iterator in interface Iterable<DataBank>
Returns:
An iterator over the data banks in this list.

complete

public boolean complete()
Deprecated. 
Returns true if the list of databank numbers in the citation is complete. From 2000 onward, the lists include every mention in the article. In addition, NLM has added data bank linkages for molecular sequences mentioned in the article where the linkage was not present in the original article.

Returns:
true if the databank numbers in the citation is complete.

dataBanks

@Deprecated
public DataBank[] dataBanks()
Deprecated. See class documentation.

Return the list of data bank linkages for molecular sequences mentioned in this article.

Returns:
The list of data bank linkages for molecular sequences mentioned in this article.

toString

public String toString()
Deprecated. 
Returns a string-based representation of this data bank list.

Overrides:
toString in class Object
Returns:
A string-based representation of this data bank list.