2 * BioJava development code
4 * This code may be freely distributed and modified under the
5 * terms of the GNU Lesser General Public Licence. This should
6 * be distributed with the code. If you do not have a copy,
9 * http://www.gnu.org/copyleft/lesser.html
11 * Copyright for this code is held jointly by the individual
12 * authors. These should be listed in @author doc comments.
14 * For more information on the BioJava project and its aims,
15 * or to join the biojava-l mailing list, visit the home page
18 * http://www.biojava.org/
20 * Created on Nov 1, 2005
23 package org.biojava.dasobert.eventmodel;
25 /** an interface for the listeners of new PDB code requested / new Uniprot code requested
27 * @author Andreas Prlic
30 public interface ObjectListener
33 /** a new object has been requested
35 * @param accessionCode
37 public void newObjectRequested(String accessionCode);
39 /** no object with that accessionCode has been found
41 * @param accessionCode
43 public void noObjectFound(String accessionCode);
45 // public void exceptionOccured(Exception e);