Package org.biojavax
Interface CrossRef
- All Superinterfaces:
Annotatable
,Changeable
,Comparable
,RichAnnotatable
- All Known Implementing Classes:
SimpleCrossRef
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable
Annotatable.AnnotationForwarder
-
Field Summary
Fields inherited from interface org.biojava.bio.Annotatable
ANNOTATION
-
Method Summary
Modifier and TypeMethodDescriptionReturns the accession of the object that the crossref refers to.Returns the name of the database the cross reference refers to.int
Returns the version of the object that the crossref refers to.Methods inherited from interface org.biojava.bio.Annotatable
getAnnotation
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.biojavax.RichAnnotatable
getNoteSet, getRichAnnotation, setNoteSet
-
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.
-