removed all dasobert code and begun to replace with Jdas calls.
[jalview.git] / src / org / biojava / dasobert / eventmodel / FeatureEvent.java
diff --git a/src/org/biojava/dasobert/eventmodel/FeatureEvent.java b/src/org/biojava/dasobert/eventmodel/FeatureEvent.java
deleted file mode 100755 (executable)
index dd89ef3..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- *                  BioJava development code
- *
- * This code may be freely distributed and modified under the
- * terms of the GNU Lesser General Public Licence.  This should
- * be distributed with the code.  If you do not have a copy,
- * see:
- *
- *      http://www.gnu.org/copyleft/lesser.html
- *
- * Copyright for this code is held jointly by the individual
- * authors.  These should be listed in @author doc comments.
- *
- * For more information on the BioJava project and its aims,
- * or to join the biojava-l mailing list, visit the home page
- * at:
- *
- *      http://www.biojava.org/
- *
- * Created on Oct 28, 2005
- *
- */
-package org.biojava.dasobert.eventmodel;
-
-import java.util.*;
-
-import org.biojava.dasobert.dasregistry.*;
-
-public class FeatureEvent extends AbstractDasEvent
-{
-
-  Map[] features;
-
-  int comeBackLater;
-
-  String version;
-
-  public FeatureEvent(Map[] features, Das1Source dasSource, String version)
-  {
-    super();
-    this.features = features;
-    this.dasSource = dasSource;
-    comeBackLater = -1;
-    this.version = version;
-  }
-
-  public int getComeBackLater()
-  {
-    return comeBackLater;
-  }
-
-  public void setComeBackLater(int comeBackLater)
-  {
-    this.comeBackLater = comeBackLater;
-  }
-
-  /**
-   * get the features that have been found.
-   * 
-   * do something like Map[] features = event.getFeatures();
-   * 
-   * <pre>
-   * for (int i = 0; i &lt; features; i++)
-   * {
-   *   Map f = features[i];
-   *   String type = (String) f.get(&quot;TYPE&quot;);
-   *   System.out.println(type);
-   * }
-   * </pre>
-   * 
-   * @return a Map containng the features
-   */
-  public Map[] getFeatures()
-  {
-    return features;
-  }
-
-  /**
-   * Get the version of the reference object that has been annotated. Compare
-   * the version string with the version string obtained from the reference
-   * server. If they don;t match there is a version problem between the
-   * annotation and the reference!
-   * 
-   * @return the version string (e.g. an MD5 digest of the reference sequence)
-   */
-  public String getVersion()
-  {
-    return version;
-  }
-
-  public void setVersion(String version)
-  {
-    this.version = version;
-  }
-
-}