X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fbiojava%2Fdasobert%2Feventmodel%2FFeatureEvent.java;h=dd89ef30e5322c93cf9034f05b7bda7e05d15c75;hb=66616c7a1c2e1d72e98573258b14cd23b5e45ea7;hp=26711bce7688fe8881453e19c1fabc37b20ad4e0;hpb=54e003f9b2fff47dbfea6401c3944afdb7bd37b3;p=jalview.git diff --git a/src/org/biojava/dasobert/eventmodel/FeatureEvent.java b/src/org/biojava/dasobert/eventmodel/FeatureEvent.java index 26711bc..dd89ef3 100755 --- a/src/org/biojava/dasobert/eventmodel/FeatureEvent.java +++ b/src/org/biojava/dasobert/eventmodel/FeatureEvent.java @@ -30,9 +30,11 @@ public class FeatureEvent extends AbstractDasEvent { Map[] features; + int comeBackLater; - String version; - + + String version; + public FeatureEvent(Map[] features, Das1Source dasSource, String version) { super(); @@ -52,17 +54,20 @@ public class FeatureEvent extends AbstractDasEvent this.comeBackLater = comeBackLater; } - /** get the features that have been found. - * - * do something like - * Map[] features = event.getFeatures(); + /** + * get the features that have been found. + * + * do something like Map[] features = event.getFeatures(); + * *
-   * for (int i = 0 ; i< features;i++) {
-   *      Map f = features[i];
-   *      String type = (String) f.get("TYPE") ;
-   *      System.out.println(type);
+   * for (int i = 0; i < features; i++)
+   * {
+   *   Map f = features[i];
+   *   String type = (String) f.get("TYPE");
+   *   System.out.println(type);
    * }
    * 
+ * * @return a Map containng the features */ public Map[] getFeatures() @@ -70,17 +75,22 @@ public class FeatureEvent extends AbstractDasEvent 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; - } + /** + * 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; - } + public void setVersion(String version) + { + this.version = version; + } }