public abstract class AbstractBioEntryDB extends AbstractChangeable implements BioEntryDB
BIOENTRYS| Constructor and Description | 
|---|
AbstractBioEntryDB()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addBioEntry(BioEntry seq)
Adds a sequence to the database. 
 | 
BioEntryIterator | 
getBioEntryIterator()
Returns a BioEntryIterator over all BioEntrys in the database. 
 | 
void | 
removeBioEntry(String id)
Remove the BioEntry associated with an ID from the database. 
 | 
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidsgetBioEntry, getBioEntrys, getBioEntrys, getNamepublic AbstractBioEntryDB()
public void addBioEntry(BioEntry seq) throws IllegalIDException, BioException, ChangeVetoException
BioEntryDBLiteaddBioEntry in interface BioEntryDBLiteseq - the BioEntry to addIllegalIDException - if a uniqe ID could not be generated for BioEntryBioException - if something goes wrong with adding the BioEntryChangeVetoException - if either the database does not allow
         BioEntrys to be added or the modification was vetoedpublic void removeBioEntry(String id) throws IllegalIDException, BioException, ChangeVetoException
BioEntryDBLiteremoveBioEntry in interface BioEntryDBLiteid - the ID of the BioEntry to removeIllegalIDException - if there is no BioEntry for the IDBioException - if something failed while removing the BioEntry for
          that IDChangeVetoException - if either the database does not allow
          BioEntrys to be removed or the modification was vetoedpublic BioEntryIterator getBioEntryIterator()
BioEntryDBgetBioEntryIterator in interface BioEntryDBCopyright © 2020 BioJava. All rights reserved.