Package org.biojavax

Interface CrossRef

All Superinterfaces:
Annotatable, Changeable, Comparable, RichAnnotatable
All Known Implementing Classes:
SimpleCrossRef

public interface CrossRef extends RichAnnotatable, Comparable, Changeable
Represents a cross reference to another database. Relates to the dbxref table in BioSQL. The interface is immutable, the fields are intended to be set by the constructor.
Since:
1.5
Author:
Mark Schreiber, Richard Holland
See Also:
  • Method Details

    • getDbname

      Returns the name of the database the cross reference refers to. This would normally be a namespace name, eg. 'gb' for GenBank.
      Returns:
      Value of property dbname.
    • getAccession

      Returns the accession of the object that the crossref refers to.
      Returns:
      Value of property accession.
    • getVersion

      int getVersion()
      Returns the version of the object that the crossref refers to.
      Returns:
      Value of property version.