Package org.biojavax

Interface CrossRef

  • All Superinterfaces:
    Annotatable, Changeable, java.lang.Comparable, RichAnnotatable
    All Known Implementing Classes:
    SimpleCrossRef

    public interface CrossRef
    extends RichAnnotatable, java.lang.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:
    RankedCrossRef
    • Method Detail

      • getDbname

        java.lang.String 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

        java.lang.String 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.