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 Oct 28, 2005
23 package org.biojava.dasobert.eventmodel;
27 import org.biojava.dasobert.dasregistry.Das1Source;
28 public class FeatureEvent {
34 public FeatureEvent(Map[] features,Das1Source dasSource) {
36 this.features =features;
37 this.dasSource = dasSource;
41 public int getComeBackLater(){
45 public void setComeBackLater(int comeBackLater){
46 this.comeBackLater = comeBackLater;
50 /** get the features that have been found.
53 * Map[] features = event.getFeatures();
55 * for (int i = 0 ; i< features;i++) {
56 * Map f = features[i];
57 * String type = (String) f.get("TYPE") ;
58 * System.out.println(type);
61 * @return a Map containng the features
63 public Map[] getFeatures(){
67 public Das1Source getDasSource(){