* at:
*
* http://www.biojava.org/
- *
+ *
* Created on Oct 28, 2005
*
*/
package org.biojava.dasobert.eventmodel;
-import java.util.Map;
+import java.util.*;
-import org.biojava.dasobert.dasregistry.Das1Source;
-public class FeatureEvent {
-
- Map[] features;
- Das1Source dasSource;
- int comeBackLater;
-
- public FeatureEvent(Map[] features,Das1Source dasSource) {
- super();
- this.features =features;
- this.dasSource = dasSource;
- comeBackLater = -1;
- }
-
- 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< features;i++) {
- * Map f = features[i];
- * String type = (String) f.get("TYPE") ;
- * System.out.println(type);
- * }
- * </pre>
- * @return a Map containng the features
- */
- public Map[] getFeatures(){
- return features;
- }
-
- public Das1Source getDasSource(){
- return dasSource;
- }
-
-}
+import org.biojava.dasobert.dasregistry.*;
+
+public class FeatureEvent
+{
+
+ Map[] features;
+ Das1Source dasSource;
+ int comeBackLater;
+
+ public FeatureEvent(Map[] features, Das1Source dasSource)
+ {
+ super();
+ this.features = features;
+ this.dasSource = dasSource;
+ comeBackLater = -1;
+ }
+ 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< features;i++) {
+ * Map f = features[i];
+ * String type = (String) f.get("TYPE") ;
+ * System.out.println(type);
+ * }
+ * </pre>
+ * @return a Map containng the features
+ */
+ public Map[] getFeatures()
+ {
+ return features;
+ }
+
+ public Das1Source getDasSource()
+ {
+ return dasSource;
+ }
+
+}