public class ViewingSequenceDB extends SequenceDBWrapperSequenceDB implementation that returns new SequenceView instances wrapping the sequences in an underlying database. One appropriate use of this would be to wrap a DB in one of these and then wrap this in an annotating db so that the annotation is added to views, not the underlying sequences.
- Matthew Pocock
- See Also:
- Serialized Form
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
getName()Get the name of this sequence database.
getSequence(String id)Retrieve a single sequence by its id.
ids()Get an immutable set of all of the IDs in the database.
Methods inherited from class org.biojava.bio.seq.db.AbstractSequenceDB
addSequence, filter, removeSequence, sequenceIterator
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNameDescription copied from interface:
SequenceDBLiteGet the name of this sequence database.
- the name of the sequence database, which may be null.
public Sequence getSequence(String id) throws BioExceptionDescription copied from interface:
SequenceDBLiteRetrieve a single sequence by its id.