public class ViewingSequenceDB extends SequenceDBWrapper
SequenceDBWrapper.SequencesForwarderSEQUENCES| Constructor and Description |
|---|
ViewingSequenceDB(SequenceDB parent)
Create a new ViewingSequenceDB that views the sequences in parent.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of this sequence database.
|
Sequence |
getSequence(java.lang.String id)
Retrieve a single sequence by its id.
|
java.util.Set |
ids()
Get an immutable set of all of the IDs in the database.
|
getChangeSupport, getParentaddSequence, filter, removeSequence, sequenceIteratoraddChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic ViewingSequenceDB(SequenceDB parent)
parent - the SequenceDB to viewpublic java.lang.String getName()
SequenceDBLitepublic Sequence getSequence(java.lang.String id) throws BioException
SequenceDBLiteid - the id to retrieve byIllegalIDException - if the database doesn't know about the idBioException - if there was a failure in retrieving the sequencepublic java.util.Set ids()
SequenceDB